Forums / General Questions / URL rewriting for subfolders in my domains

URL rewriting for subfolders in my domains

Views: 544

Results 1 to 1 of 1
29 Dec 2011, 7:04 PM
#1
gearstudios avatar

gearstudios

New Zenner

Join Date:
Sep 2005
Posts:
88
Plugin Contributions:
0

URL rewriting for subfolders in my domains

My question concerning htaccess is I have two domains. I have my htaccess set to rewrite the url and serve the page for which domain the visitor requested. The problem I have is that the links for the domains point to the root of the server and the websites are in folders.

For example my browser window will show https://www.mydomain.com which is what I want and my links on the page when hover over a link on the page returns https://www.mydomain.com/link.htm which is what I want but if you click the link it returns a 404. What do I need to add to my htaccess to rewrite the links on the page when clicked to serve up the page located in the folder called mydomain?

Thanks!!

Zen-Cart, The Greatest Shopping Cart!