WordPress.org

Ready to get started?Download WordPress

Forums

301 redirect for different permalinks structure (3 posts)

  1. johnnyjp
    Member
    Posted 4 years ago #

    hey

    i need to redirect my old blog to my new one

    the old one is hosted at http://www.mydomain.com/blog

    and the new one is in the root of http://www.mydomain.com

    now, google indexed my old blog under that old address with permalink structure as follows

    http://www.mydomain.com/blog/post-title/

    and my new blog uses other permalinks structure

    http://www.mydomain.com/post-title,000,keywords.html

    the content on the new blog is a copy of my old blog + some new stuff

    how can i set up htaccess to redirect google to those posts?

  2. johnnyjp
    Member
    Posted 4 years ago #

    oh, right now i use

    redirect 301 /blog/ http://www.mydomain.com/

    but i guess that doesnt cover the permalink structure :/

  3. johnnyjp
    Member
    Posted 4 years ago #

    ?

Topic Closed

This topic has been closed to new replies.

About this Topic