[wp-trac] Re: [WordPress Trac] #8076: General feed doesn't work with
permalink without mod_rewrite
WordPress Trac
wp-trac at lists.automattic.com
Tue Nov 11 16:52:18 GMT 2008
#8076: General feed doesn't work with permalink without mod_rewrite
------------------------+---------------------------------------------------
Reporter: schlafbaum | Owner: markjaquith
Type: defect | Status: new
Priority: normal | Milestone: 2.7
Component: General | Version: 2.7
Severity: normal | Resolution:
Keywords: |
------------------------+---------------------------------------------------
Comment (by schlafbaum):
yes, I emptied the browser cache. It does not work with
{{{preg_replace('#/feed([/a-z0-9-]*?(/+)?)?$#', '/',}}}
[[BR]][[BR]]
The replacement in line 145 is done, however I put the slash outside or
inside the brackets. This is done in both cases (did some logging):
[[BR]]
After line 137, {{{$paged_redirect['path']}}} is
"site/index.php/feed/"[[BR]]
After line 143, {{{$paged_redirect['path']}}} is "site/index.php/"[[BR]]
After line 145, {{{$paged_redirect['path']}}} is "site/"
This is looped once more without /index.php/
Without line 145, it remains "site/index.php" and is not looped
--
Ticket URL: <http://trac.wordpress.org/ticket/8076#comment:9>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list