guiding visitors to a new location (6 posts)

  1. ozzie123
    Posted 10 years ago #


    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

  2. Tijmen
    Posted 10 years ago #

    You could make an index.html file with only this line:

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

    Or isn't that what you meant?

  3. ozzie123
    Posted 10 years ago #

    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).

  4. directry
    Posted 10 years ago #

    Hi ozzie123

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

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

    that should do the trick.

  5. ian2
    Posted 10 years ago #

  6. ozzie123
    Posted 10 years ago #

    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]

Topic Closed

This topic has been closed to new replies.

About this Topic