ballhogjoni Posted July 19, 2008 Share Posted July 19, 2008 I am trying to make sef urls for my site. I think the problem is that I am on shared hosting and that the mod rewrite will only read the htaccess file for the main domain. I am a noob at this so I am probably wrong. The domain that I am trying to rewrite for is technically a subdomain of the main domain, but you can still reach the site by typing in http://subdomain.com. My problem is that I have some code and its not rewriting the urls. Options +FollowSymLinks Options +Indexes RewriteEngine On RewriteBase / RewriteRule ^/category/(.*)\.html$ index.php?category=$1 Goal: Change this url: http://xxxxxxxxxxxxxx/xxxxxxxxxxxxxx/index.php?category=Regular to this url: http://xxxxxxxxxxxxxx/xxxxxxxxxxxxxx/Regular.html or something like that. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.