Jero
04-15-2005, 09:42 PM
I've got a .htaccess file with a bunch of Rewrite rules for my website (http://jero.net). It works perfectly except for the index page. Whenever you go to http://jero.net/ it redirects the URI to http://www.jero.net/archive/ (where my WordPress is installed). But when I go to http://jero.net/about/, it displays the content of http://jero.net/archives/about/ but the URI remains http://jero.net/about/, unlike http://jero.net/ does. Here is my .htaccess:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.jero\.net$ [NC]
RewriteRule ^(.*)$ http://jero.net/$1 [R=301,L]
RewriteRule ^index.html$ /archive
RewriteRule ^(archives|projects|about|contact|portfolio|services)$ /archive/$1
RewriteRule ^(archives|projects|about|contact|portfolio|services)/$ /archive/$1
ErrorDocument 404 /archive/404/
ErrorDocument 403 /archive/403/
AddDefaultCharset utf-8Does anyone know how I can just mask the URI instead of redirecting (so that the URI remains http://jero.net/ instead of http://www.jero.net/archive/). Thanks in advance!
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.jero\.net$ [NC]
RewriteRule ^(.*)$ http://jero.net/$1 [R=301,L]
RewriteRule ^index.html$ /archive
RewriteRule ^(archives|projects|about|contact|portfolio|services)$ /archive/$1
RewriteRule ^(archives|projects|about|contact|portfolio|services)/$ /archive/$1
ErrorDocument 404 /archive/404/
ErrorDocument 403 /archive/403/
AddDefaultCharset utf-8Does anyone know how I can just mask the URI instead of redirecting (so that the URI remains http://jero.net/ instead of http://www.jero.net/archive/). Thanks in advance!