Posted: 04. January 2008 10:18
OK - sorry I am not understanding what you are trying to do by using a rewrite entry in the .htaccess file any way.
Are you trying to redirect any browser request for a file no matter what the URI in the browser is, to go to your index.php file only which includes links within the html code in the index.php file to other directories and files in your site tree that go to images, JavaScripts and css files - which the way you have it now excludes these files from displaying?
Try this:
RewriteEngine On
RewriteBase /mysite/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1{QUERY_STRING} [QSA,L]
This link has some variations on the theme:
http://wordpress.org/support/topic/140029
Are you trying to redirect any browser request for a file no matter what the URI in the browser is, to go to your index.php file only which includes links within the html code in the index.php file to other directories and files in your site tree that go to images, JavaScripts and css files - which the way you have it now excludes these files from displaying?
Try this:
RewriteEngine On
RewriteBase /mysite/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1{QUERY_STRING} [QSA,L]
This link has some variations on the theme:
http://wordpress.org/support/topic/140029