1 vote

Modify Post URL Programmatically

When you are using wp_insert_post() there is a param post_name. If you do not pass it then it will sanitise your post title and update. You only have control to add post_name but the full URL is ...
Aftab's user avatar
  • 1,321
1 vote

Changing permalink won't redirect to new version of page

Browsers are pretty bad about hard-caching redirects. I would first use an HTTP header checker (there are many free ones online, just search) to verify the URL you want really is still redirecting. If ...
WebElaine's user avatar
  • 9,400

Only top scored, non community-wiki answers of a minimum length are eligible