I upgraded from apache 1.x to 2.x
Now the rewriterule isn't working as it should;
The redirect from www to http works fine. But the website.com/uk/ seems to just redirect to http://website.com/index.php?loc=uk and not stay as website.com/uk/ in the url bar.Code:RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} ^www.website\.com [NC] RewriteRule (.*) http://website.com/$1 [R=301,L] RewriteRule ^(us|uk)/$ http://website.com/index.php?loc=$1 [L]




Bookmarks