• I have a site that has the following permalink structure.

    subdomain.domainname.com/yyyy/mm/blog-post-name

    I want to move the domain to a new domain, AND remove the year and month sub-path. So, I’d like the above post to redirect to:

    newdomainname.com/blog-post-name

    There are no duplicate blog post names, so it shouldn’t be a problem.

    I’ve got a lot of inbound links that I don’t want to break.

    Does anyone know how I write the 301 code to move the blog correctly?

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘301 Redirect and change path’ is closed to new replies.