• Hi,

    After migrating a live site to my localhost, the htaccess file IS WRITABLE and the rewrite module in apache is ENABLE. For some reason when I choose the Post name option at the permalinks settings and save the changes, the htaccess file becomes NOT WRITABLE.

    When I change manually the htaccess permissions, this is the message I get and the permalinks don’t work:
    WARNING: TOUCH(): UTIME FAILED: NO ERROR IN C:\WAMP\WWW\ISRAELADENTRO\WP-INCLUDES\NAV-MENU.PHP ON LINE 572

    What else I can do? Why is wordpress making unwritable the htaccess file after saving the changes?

    Thanks

Viewing 1 replies (of 1 total)
  • Unless you have hosting specific options in your .htaccess file (like password protected directories), then the copy from your hosting should work fine on localhost.
    One issue that is a minor complication at the root of several localhost issues is that the file owner is not the apache/php program owner, hence though the file looks writable to YOU, it is not writable by your WordPress code. Setting the permissions to 777 is one way out, this would be a grotesque security hole on a hosted site, but is tolerable on localhost where there are no live internet exposures.

Viewing 1 replies (of 1 total)
  • The topic ‘Permalinks not working on localhost, rewrite module enable’ is closed to new replies.