Anders Moen Posted April 3, 2007 Share Posted April 3, 2007 Actually, it doesn't exactly destroying, but when I use this code in the .htaccess file RewriteEngine onRewriteRule ^([A-Za-z0-9-]+)/?$ index.php?page=$1 [L] I can't go to a subdomain without getting 404 error...If I remove that code from the .htaccess, it works fine to get to the subdomain Link to comment Share on other sites More sharing options...
Anders Moen Posted April 3, 2007 Author Share Posted April 3, 2007 I found out the error :)I got some help at Norsk Webforum (Norwegian), and they said I had to make .htaccess files in the subdomains where it says "RewriteEngine off" without quotes, and then it worked. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now