I have Wordpress running on a dedicated centos server with Buddypress installed . Buddypress requires pretty permalinks. Therefore I changed i to /%postname%.
Somehow it did not work because Buddypress is not working correctly and Wordpress suggests to create the .htaccess myself :
"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. Click in the field and press CTRL + a to select all."
I have tried every hint I found but somehow it does not work. Here is a list:
Is there anything else I can do?
Thanks in Advance
None of those things will make a difference if your ownership
is wrong. The reason wordpress can't write to it is because the file is probably owned by another user instead of web server. I've seen this numerous times.
To fix this issue, first change the permission back to a more secure permission using this from the command line.
chmod 644 .htaccess
Then change the ownership/group of the .htaccess file to web server user.
For CentOS/RHEL
chown apache: .htaccess
For Ubuntu/Debian
chown www-data: .htaccess
Now wordpress should be able to right to this file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With