Getting Post name permalinks to work is driving me crazy
-
For over a week now I have been trying to change my permalinks from Plain to Post name. I have tried everything and still get 404. I have enabled mod_rewrite. Set permission to 666. And have what looks like a good .htacces in my wordpress root.
I have taken the time to study how mod_rewrite works and I more or less get it. But I do not understand what is the working relationship between mod_rewrite and wordpress.
I get that wordpress uses PHP to look into the database to “construct” the “requested” URL. Makes perfect sense and I have written PHP to do it outside of wordpress. But since wordpress constructs the URL I don’t see why it even needs mod_rewrite. It could store in the database the URL format setting and use PHP code to create the Plain or Post name URL.
So just what happens internally when I switch from Plain to Post name in the Dashboard? And, again, why does wordpress need mod_rewrite?
Sunny
- The topic ‘Getting Post name permalinks to work is driving me crazy’ is closed to new replies.