Jump to content

Recommended Posts

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.