WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] redirection problem and question after moving host (5 posts)

  1. iceq
    Member
    Posted 4 years ago #

    Hello .

    Some Scripting expert at Hostmonster (Dreamhost) has solved the issue of home/siteurl for me. Still I dont know what I have to do to guarantee a flexible and proper redirection of search engines / searching people. I am trying to do the 301 redirect thing, but not knowing how.

    Old blog was at http://www.al-rasid.com/blog (www.i3tesam.com/iceq/al-rasid/blog)

    It is not at cinema.al-rasid.com (tollab.org/al-rasid/cinema)

    I want to redirect it to the gate, namely http://www.al-rasid.com (tollab.org/al-rasid/).

    Now if I visit http://www.al-rasid.com/blog I am redirected to the site on the new host.

    If I however visit a link through Google, which is :
    http://www.al-rasid.com/blog/about/what-is-my-blog-about/

    I get 404 as you can see.

    So where should I place the 301 code, in the old host or the new one? and what should it contain ?

    Thanx !

  2. iceq
    Member
    Posted 4 years ago #

    Anybody ??

  3. iceq
    Member
    Posted 4 years ago #

    I didnt know this question is as trivial as this much ..

  4. iceq
    Member
    Posted 4 years ago #

    PLEASE ! ??

  5. iceq
    Member
    Posted 4 years ago #

    I lastly figured that if I place http://www.al-rasid.com/blog (without the slash at the end), the redirect 301 works perfectly. It transfers any link that contain blog to a new link that has cinema in it before al-rasid.com, and ommittes the "blog" from it. This gave me a 100% redirect of all old links in google, they now being transferred perfectly to the corresponding link in the new blog at the new host.

Topic Closed

This topic has been closed to new replies.

About this Topic