• Resolved blawrimore

    (@blawrimore)


    I recently converted my html site at https://www.Lciweb.com to a WordPress site for responsiveness etc., and to preserve my page names use the “.htm on Pages” plugin. Unfortunately the URL for my blog is now blog.htm instead of /blog/ so I have lost a lot of valuable inbound links to my blog posts.

    How can I change the URL for the blog page only, to just /blog/ ?

Viewing 4 replies - 1 through 4 (of 4 total)
  • I would be more inclined to implement 301 redirects from *.htm to the permalink structure of your choosing.

    That way you won’t lose any juice, and you also won’t have to rely on a plugin (which in my experience has caused performance issues)

    Thread Starter blawrimore

    (@blawrimore)

    Thanks Matt. I have researched 301 redirects and find the whole business pretty confusing. (I am not a coder.) Can you suggest what type of .htaccess code would accomplish the redirect you recommend? Your advice is appreciated!

    I can’t tell you with 100% certainty exactly what code you will need to get it to work, as it depends on your prior URL structure. If you built the html pages your self, the structure was probably very similar to postname. If that is in fact the case, something like this should do it:

    RedirectMatch 301 ^/([^/]+).htm$ https://www.Lciweb.com/$1

    There’s a good article here that might help as well: https://yoast.com/change-wordpress-permalink-structure/

    Thread Starter blawrimore

    (@blawrimore)

    Thank you very much!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to change blog.htm to blog/’ is closed to new replies.