Presently i am using post-names in my permalink eg:-domain.com/post-name but I wanted to know can we use post-titles in place of post-name eg:-domain.com/post-title.
Presently i am using post-names in my permalink eg:-domain.com/post-name but I wanted to know
Share
Use the
post-nameslug for the URL, it’s what it’s there for. Thepost-titlewill likely contain spaces and potentially other special characters which are not suitable for URLs. For SEO purposes you should also consider sites that will autolink URLs to your site, consider the following for a page named “My Page”:http://example.com/my-page (uses slug)
http://example.com/My Page (uses title, notice the broken link)
http://example.com/My%20Page (uses encoded title, which is hard to read)