Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

WordPress WordPress Basics Managing Content in WordPress Posts in WordPress

Lisa Crowley
Lisa Crowley
4,793 Points

Changing the post slug after already published - does the old URL redirect?

When changing the post slug on Wordpress, if the page has already been published will the old URL redirect to the new URL?

1 Answer

Simon Duchaine
Simon Duchaine
14,441 Points

Hi Lisa,

Unfortunately, no, by default the old URL won't redirect to your new one, but the good news is that there's a lot of redirection management plugins out there!

You could also right a 301 redirection rule in your HTACCESS (if your on APACHE server).

Just wanted to add, there is a solid plugin for this:

301 redirects