WordPress.org

Ready to get started?Download WordPress

Forums

Regex for Moving a Site + Changing Permalink Structure (1 post)

  1. andymatic
    Member
    Posted 9 years ago #

    Let's say my current blog is at

    mydomain.com

    and my permalink posts are at links structured like

    mydomain.com/2005/05/03/title_something/

    I want to move my blog to a new domain - but have forwarding links in the .htaccess of the old blog so that the new links are structured like

    mynewdomain.com/archives/1/

    (using the post ID instead of the timestamp + title)

    How would I write my Redirect Rule for that?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.