Forums

[resolved] Blogger redirect to WordPress with custom domain (5 posts)

  1. do77
    Member
    Posted 1 year ago #

    Hi,

    I moved my old blogger blog to wordpress and I have a questions about redirecting the traffic.

    I had a custom domain with blogger and the permalinks had the same structure I now have with wordpress except that it always added an .html.

    What do I need to add to my .htaccess file so that people that click in Google's search results on

    http://myblog.com/01/01/article.html

    get redirected to

    http://myblog.com/01/01/article/

    ?

    I know there are several permalinks migration plugins out there but I transferred the posts manually and did not set the permalink structure right from begin with.

    Hope someone can help me with that. I would really appreciate it though!

    Thanks so much!
    do77

  2. do77
    Member
    Posted 1 year ago #

    Anyone?

  3. Just put .HTML at the end of your permalinks and that will do it, really.

    Or this .htaccess
    RedirectMatch 301 (.*)\.html$ http://www.example.com$1

  4. do77
    Member
    Posted 1 year ago #

    Hi Ipstenu,

    thanks for your response. You are right with what you say but I forgot to mention that when I put .html at the end of the permalinks the facebook like button does not work anymore. When I then try to like a post it returns an error.

    I will try to use your second suggestion.

    Thanks for your help!
    do77

  5. do77
    Member
    Posted 1 year ago #

    Thanks, works fantastic!

Topic Closed

This topic has been closed to new replies.

About this Topic