• Resolved jc10002

    (@jc10002)


    Hello,

    I have a website that I recently revamped using WordPress.

    Can someone please provide me the .htaccess code I can use to achieve the following:

    I want to 301 redirect all current pages that end in .html to my home page.

    So, for example, http://www.my-example-site/aboutme.html will redirect to my home page. But http://www.my-example-site/services/ will not redirect anywhere.

    I have many pages indexed in Google with .html currently going to a 404 page.

    Thanks for your input on this one.

    -Josh

Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘What is the proper 301 redirect for this situation?’ is closed to new replies.