• Hi everyone,

    I have a certain specific question on which i don’t know the answer to.
    I’ll try and explain it as simple as possible:

    I have a WP blog which is on this location
    blog.domainname.com

    I now want to re-direct this sub-domain to the main domain.
    https://www.domainname.com

    So i actually need to have a way that the main domain will re-direct
    the users typing in: https://www.domainname.com to blog.domainname.com so they
    will enter my Blogs.

    How can i make this happen? Ideas? Codes? Links? My friend and i are
    looking for the answer, but we couldn’t find much to go on.

    Thanks in advance!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Make an index.html file with the following code in it and upload it to the root directory of https://www.yourdomain.com:

    <head>
    <meta http-equiv="Refresh" content="0; url=https://blog.domainname.com"></head>
    <body>
    <a href="https://blog.domainname.com">Click here if not redirected to website.</a>
    </body>

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Tentative probably wants to just register the domain and have free hosting with a subdomain somewhere else. If that’s the case and he hasn’t already registered the domain, he can go to GoDaddy and just register a domain and have it point to his blog address. Then he wouldn’t even have to upload a redirect index.html page (although if he only registers the domain and doesn’t get any hosting, he won’t be able to uploading anything).

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to re-direct my WP subdomain to main domain?’ is closed to new replies.