Fix paginations with disabled mod_rewrite