PHP URL Routing or .htaccess
Posted: Thu Jan 22, 2009 12:14 am
I was just wondering, If you want to rewrite the urls on your CMS would you use PHP URL Routing or simply use the .htacess file?
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule>
# END WordPress