Change the post date in the url?

Marshan

Power Member
Jr. VIP
Joined
Mar 24, 2013
Messages
743
Reaction score
316
i searched that as well once in WP and did not find any ..... would have several advantages.
 
Sadly, I tried.
 
WP has been doing this automatically for me when I change the post slug. I guess it doesn't do the same when it's the date.....

But there's an easy solution. Edit .htaccess and add this

Redirect 301 /2011/08/09/example-more/ /2008/07/10/example-more/

Or vice versa, the one on the right is the target. HTH.
 
I think you can do this:

- create a new post page BACKDATED to the date you want to show in the URL and with the slug like in the original page
- copy all the content from the original page
- publish the new page and 301 redirect the original page to it
 
W130SN advice is recommendable, i think changing and back dating your new post will do the tricks, or if you're a WP hardcored user, you can go through the htaccess.
 
Back
Top