Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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