Report this

What is the reason for this report?

Ubuntu 12.04 - LAMP - WordPress : .htaccess errors

Posted on March 14, 2013

I created a LAMPed Ubuntu 12.04 droplet, fresh from the menu. Then added fred as a root user. Logged in as fred I installed Wordpress. Everything looks great, I can add posts to the blog, but …

I cannot change the permalinks setting in the Wordpress dashboard without getting a “You should update your .htaccess now” error. There IS NO .htaccess file. So I created one in /var/www/ with the suggested settings from the Wordpress error. After restarting the apache service I still get the error when attempting to change the permalinks setting. I’ve chmodded /var/www/ to 777 - still get the error.

I’m about to go bald through pulling out my hair. Any suggestions?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

This helped me when I tried bring permalink to alive <br> <br>a2enmod rewrite

yep, the AllowOverride in the Virtual Host config was the problem. Thanks.

I am having the same problem as above. I’ve tried all that has been recommended: <br> <br>- Enabling modrewrite and restarting apache <br>- Setting .htaccess permission to 666, and ensuring that it was updated by the control panel <br> <br>Am I missing anything else?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.