Changed permalinks from plain to postname and they quit working
-
All, I have been fighting this for some time now. My permalinks on my personal blog were set to plain for many years. A few months back, I set them to postname, and they quit working. What happened was that the rewrite from the postname to the ?p=<post number> was not taking place. I was searching all over the Internet and finally stumbled upon the answer. I will use <docroot> as the root of my wordpress installation in the upcoming examples.
So, the URL changed from <docroot>/?p=<post number> to…
<docroot>/<postname> which was what was not working.
After much researching I tried inserting “index.php” between the <docroot> and the <postname> like follows:
<docroot>/index.php/<postname>
The above caused wordpress to start rewriting my postnames into what WordPress needed to find the posts as /p=<post number>.
I am posting this to help anyone who has this problem save the time I spent trying to find the answer!
- The topic ‘Changed permalinks from plain to postname and they quit working’ is closed to new replies.