
WordPress: .htaccess for subdirectories Monday, March 12, 2007
This may or may not be due to my host provider (hosteurope.de)
Problem: Configuring Wordpress v2.x permalinks mode to clean URLs in subdirectories
As it took me a bit of headache to configure WP 2 with clean permalinks, I've decided to post the solution that worked for me here for you to use/apply if you're on the same host and encounter similar issues.
My solution: .htaccess mod_rewrite configuration for WordPress install via subdirectories:
#DirectoryIndex index.php, index.html
#Options +FollowSymLinks
#RewriteBase /relative/web/path/
< IfModule mod_rewrite.c >
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) - [PT,L]
RewriteRule ^(.*) index.php [L]
< /IfModule >
#php_value register_globals 0
WordPress: .htaccess for subdirectories Monday, March 12, 2007
This may or may not be due to my host provider (hosteurope.de)
Problem: Configuring Wordpress v2.x permalinks mode to clean URLs in subdirectories
As it took me a bit of headache to configure WP 2 with clean permalinks, I've decided to post the solution that worked for me here for you to use/apply if you're on the same host and encounter similar issues.
My solution: .htaccess mod_rewrite configuration for WordPress install via subdirectories:
#DirectoryIndex index.php, index.html#Options +FollowSymLinks#RewriteBase /relative/web/path/< IfModule mod_rewrite.c >RewriteEngine OnRewriteCond %{REQUEST_FILENAME} -f [OR]RewriteCond %{REQUEST_FILENAME} -dRewriteRule ^(.+) - [PT,L]RewriteRule ^(.*) index.php [L]< /IfModule >#php_value register_globals 0