0

In my permalink i use only postname What will happen to the links if the post name changes? Will it still work ? Otherwise what is the best practice?

With love

  • Do you mean links on your own site, or inbound links from elsewhere? – Milo Oct 29 '15 at 20:47
  • I mean the inbound links – Abdullah Alsigar Oct 30 '15 at 1:49
1

After the page is published WordPress creates a URL link based on your permalink settings. If you then change the post name the url link would not change automatically, although you can manually change it in the post.

  • Ok. What happens if I change that url settings (slug). What happens to the e external inbound links ? – Abdullah Alsigar Oct 30 '15 at 1:50
  • What are you trying to accomplish? If an external inbound link is not working anymore because you changed the url of the post, you could use a redirect in your .htaccess or a plugin that handles redirects to get that inbound link to resolve. There may be some other plugin solutions to avoid 404 pages, but not in the basic WordPress installation. – Drai Oct 30 '15 at 3:01
  • What about using url like this. Www.site.com/?p=123/postname – Abdullah Alsigar Oct 30 '15 at 6:54
  • Doesn´t look very nice. Either don´t change permalinks or use a plugin to check for broken permalinks. – flomei Oct 30 '15 at 7:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.