Your .htaccess file isn’t being updated. When you click the save changes button at the bottom of the permalinks page, do you get a message such as;
“If your .htaccess file were writable, we could do this automatically, but it isn’t so these are the mod_rewrite rules you should have in your .htaccess file” ?
Thank you for your response, when I update this through wordpress I don’t receive a message saying anything similar to that, only saying “Permalink Structure Updated”
I looked at my .htaccess file before and after and see that it is being changed too…still at a loss at how to fix this.
Can you tell us a little about your localhost setup? Is it installed on Windows or linux, and what did you choose for a server package? e.g. WampServer, XAMPP, etc…
I am installed on a windows with WAMP. Other than that, I am pretty sure all is set to default because I haven’t changed anything else.
Where would I check this? I looked in phpmyadmin and couldn’t find anything. Sorry, I’m new to this.
you have to enable rewrite in php.ini. you need to run command on your windows machine that will enable mod_rewrite similar or equivalent to a2enmod rewrite on Ubuntu machine with xampp. and when you make changes in to your .htaccess file you need to put it in your site or WordPress main folder. also you will in most cases get this message -“If your .htaccess file were writable, we could do this automatically, but it isn’t so these are the mod_rewrite rules you should have in your .htaccess file” ?
I am installed on a windows with WAMP.
If that’s the WampServer package, I think all you might need to do is click on the green icon in the system tray/tool bar area, select Apache > Apache modules > then scroll down the module list until you come to “rewrite_module”, and place a check mark next to it.That should enable mod_rewrite. You may have to restart apache, but I think WampServer automatically restarts for you in most cases.
Thank you very much! That fixed my problem. You’re a hero of mine now.
- The topic ‘Permalinks’ is closed to new replies.