• Resolved peloche6613

    (@peloche6613)


    Hello you guys! First of all I’d like to say sorry if I’am not on the good thread but I guess I am….If my question does not fit the rule of this group, I’m sorry in advance, I will delete the question …
    SO! the thing is that I have an hosting + domain name with a wordpress installed on it.
    on the www repertory I have created a new directory named “website2”: inside I have created an other website and I have bought the domaine name website2.com.
    What I wanted to do is to redirect website2.com to content of website1.com/website2

    I tried many 301 redirection but nothing works
    I tried through the Hosting admin and the only thing I can do is an visible redirection … but i want an invisibile redirection …. 😉 any clue?

    thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator James Huff

    (@macmanx)

    The correct way to do what you’re asking is to simply forward the domain through your domain registrar (check their documentation or contact their support for specifics on this). This way, website2.com will simply go directly to website1.com/website2

    However, the best way to do this would be to add the domain to your hosting account and map it to the /website2/ directory (check your hosting provider’s documentation or contact their support for specifics on this), then get your hosting account’s name servers from your hosting provider, and set your domain’s name servers to them through your domain registrar (check your domain registrar’s documentation or contact their support for specifics on this). This way, website2.com will simply load the files in /website2/ as website2.com

    Thread Starter peloche6613

    (@peloche6613)

    Thank you for your time sir!
    Im going to try

    Moderator James Huff

    (@macmanx)

    You’re welcome!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘301 redirection’ is closed to new replies.