Hi All,
I can’t seem to have permalinks working on my CentOS 7 environment.
I have already created a .htaccess and I can see the Load Module commands done by Wordpress. I also have Mod_rewrite installed already.
Additionally, I have changed the AllowOverride from None to All under <Directory "/var/www/html">
I have also followed the Getting Started Series guide and the LAMP Stack Guide here.
Any thoughts?
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!
After much research, I found the solution:
sudo vi /etc/httpd/conf/httpd.conf/AllowOverride<Directory "/var/www/domain.com/public_html">
AllowOverride All
</Directory>
Thank you @CrypticDesigns for helping out too! Much appreciated.
Oh…I thought you did this already in the first post of your question. My bad, could have told you this earlier. Anayway good you got it solved, if you have any more questions you can come here again.
Allright looks good to me, what you could try is to delete this .htaccess , then create a new one , keep it empty , chown it to your webserver and chmod it to 664. Then in wordpress try to switch the permsalink option twice, and check the content of .htaccesss. Then if the content automatically created looks good, restart apache.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.