• Hi, I installed wordpress on my server and it works great, same when I tested installation on my windows machine (I use xampp for apache/php).
    However, when installed on the server, I can see the .htaccess file normally and see what is inside. But on my windows machine, no!

    The issue is. I develop locally before uploading (my work) and I was trying to use apache’s mode re-write to change index.php?blah=blah to /pages/blah. I try to edit .htaccess in my windows machine but no use.

    Any idea how do I deal with this please?

    Thanks in advance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Have a look at your Apache config file (usually called httpd.conf, should be somewhere inside the directory where you installed XAMPP). Find the list of modules to be loaded and check if mod_rewrite isn’t commented out. If so, uncomment it. save and restart Apache.

    Hi,
    I can’t find my .htaccess file on my server anywhere and I have the show hidden files ticked in c panel – any ideas anyone.
    Only been trying for 12 hours!!

    If you cannot view the htaccess file and ‘view hidden files’ it checked in CPanel, chances are you need to re-upload the file or use an FTP program such as FileZilla to view the htaccess file.

    Also check httpd.conf and make sure, as above, that mod_rewrite isn’t commented out. If it is, the file will be read as a normal file.

    If it is commented out and you edit httpd.conf and save the changes, you’ll need to restart apache before the changes will take effect.

    I agree with Jon-A5. Try viewing hidden files in a GUI FTP client like FileZilla. Otherwise, is your server automatically deleting the .htaccess file?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘.htaccess’ is closed to new replies.