[wp-hackers] blog directory on the same level as pages

Austin Matzko ajmatzko at hotmail.com
Thu Oct 27 03:17:51 GMT 2005


>From: Graeme Lennon
>
>RedirectRule ^$ /home/ [QSA,L]
>RedirectRule ^blog/?$ /index.php [QSA,L]
>
>. . .
>
>Does this discussion belong here?

RewriteRule ^$ /index.php?pagename=home [QSA,L]
RewriteRule ^blog/?$ /index.php [QSA,L]

does the trick.

Now I'll write a plugin to put those lines back in after every .htaccess 
update, and I'll be all set.

Thanks for your help, and apologies if this was the wrong list.

Austin




More information about the wp-hackers mailing list