Padgoi Posted March 20, 2008 Share Posted March 20, 2008 Ok, so I have a website and I created a subdomain for it called hello so if you go to hello.website.com, it will take you to the index page of the hello folder. In other words, instead of typing http://www.website.com/hello/index.html, you can just type http://hello.website.com and it will take you to the same place. Here's the problem... After going there, if you click a link on that index page, it redirects automatically back to http://www.website.com/hello so if you click a link to go to a page called fp.html, it will automatically redirect back to http://www.website.com/hello/fp.html. I need to make it so that regardless of clicking a link, it will stay as http://hello.website.com/fp.html or whatever page you click to. Any help would be greatly appreciated, not sure if this requires an .htaccess code. Thanks in advance. Link to comment https://forums.phpfreaks.com/topic/97019-need-a-little-redirecting-help-i-think/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.