scotchegg78 Posted August 9, 2008 Share Posted August 9, 2008 Hi Guys I have a hosting account and site here... www.site1.com I have a directory called site2 stored at site one www.site1.com/site2/ if someone access www.site2.com it loads the site fine, however when they hover over links it reads www.site1.com/site2/about.html etc etc and not www.site2.com/about.html How do i setup my rewrite rules to do this ? please help cheers Link to comment https://forums.phpfreaks.com/topic/118919-using-re-write-to-write-to-sub-directoty-please-help-if-you-can/ Share on other sites More sharing options...
AjBaz100 Posted August 22, 2008 Share Posted August 22, 2008 it looks like your link is <a href="site2/about.html" /> where it should be <a href="/about.html" /> Link to comment https://forums.phpfreaks.com/topic/118919-using-re-write-to-write-to-sub-directoty-please-help-if-you-can/#findComment-623378 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.