Jump to content

Third level domain redirect without changing url


Mad_Griffith

Recommended Posts

Hi, I am trying to have my.website.tld redirect to www.website.tld/my. The constraints:

1) "my" is not a folder, but a Wordpress category with posts.

2) I would like to keep the url as "my.website.tld"

How can I accomplish that?

Thank you.

Edited by Mad_Griffith
Link to comment
Share on other sites

Is Inmotion your host?  I've never set up htaccess to use a proxy at all, I didn't even realize that was an option frankly.

Regardless, if the URL is changing then it sounds like it's not even using that rule.  I can't say why, because I'm not sitting there watching you, but maybe there is another rule.  Do you have anything else in htaccess?  Is your site set up to look at the domain and redirect to another one?

The pattern is syntactically correct.

Is it?  Go through that pattern and tell me what each part means.  Also tell me why you're using a replacement for the domain name, and what that replacement is going to be.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...