• Hello,

    I have just relocate the web address of my blog (from sub domain to root). I’m aware that I have to put something on the .htaccess to “tell” the visitors to go to my new address.

    How can I do this?

    Thank you

Viewing 5 replies - 1 through 5 (of 5 total)
  • You could make an index.html file with only this line:

    <META HTTP-EQUIV=”refresh”
    content=”0; URL=https://www.yoursite.com”>

    Or isn’t that what you meant?

    Thread Starter ozzie123

    (@ozzie123)

    Thanks Tijmen, that is actually what I wanted. Although I also wanted to create a .htaccess files to guide not only my visitors, but also search engines.

    The only way I’m aware on how to do this is using .htaccess (which I don’t have the technical know-how).

    Hi ozzie123

    For the htaccess do the following all on 1(one) line

    redirect 301 old.html https://www.new.com/new.html

    that should do the trick.

    Thread Starter ozzie123

    (@ozzie123)

    Hello guys,

    Thanks for helping me out! That’s very helpful ??

    I’m going to choose using this command instead since (I think) it’s more search engine friendly:

    RewriteEngine on
    RewriteRule (.*) /mynewlocation [L]

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘guiding visitors to a new location’ is closed to new replies.