WordPress.org

Ready to get started?Download WordPress

Forums

How to Redirect from changed post slug (2 posts)

  1. Eric Amundson
    Volunteer Moderator
    Posted 8 years ago #

    I made a rookie mistake I think and would like some advice.

    I posted in my blog and when looking at the post through Newsgator, it seemed it was picking up an old test post that coincidentally had the same name.

    So I changed the post slug of the new post, but not until after Technorati and other bots came by to index the post.

    So now I have an article linked from several places that uses the old post slug and just renders the 404 error.

    What's the easiest way to remedy this?

    Thanks in advance,
    eric

  2. Eric Amundson
    Volunteer Moderator
    Posted 8 years ago #

    Got it figured out. I just added a redirect through cPanel which added the following line to the .htaccess file:

    RedirectMatch permanent ^/2006/myoldpost/$ http: //mydomain.com/2006/mynewpost/

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags