[wp-hackers] blog directory on the same level as pages
graeme at samurai.com
Thu Oct 27 02:52:29 GMT 2005
RedirectRule ^$ /home/ [QSA,L]
RedirectRule ^blog/?$ /index.php [QSA,L]
No? Alternatively you could specify the Page ID in the query string of
the first rule.
It's also just occurred to me that feeds and things will be in /feed/
rather than /blog/feed/.
Does this discussion belong here?
Austin Matzko wrote:
>> From: Matt Mullenweg <m at mullenweg.com>
>> Graeme Lennon wrote:
>>> Perhaps I'm missing something, but can't you do this simply be prefixing
>>> your permalink structure with /blog, and then adding two custom rewrite
>>> rules to redirect /blog to /index.php, and / itself to wherever you
>>> want it to go (which wasn't made clear by the question)?
>> I've done this before.
> Okay, the part of that I can't get to work is redirecting / to one of
> the pages, say "home". How do you do that without getting wacky
> circular results?
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers