Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Why Wordpress doesn't change the permalinks on my blog?
I’ve got a Linux Ubuntu 12.04.05 LTS droplet with LAMP stack installed where I’ve got hosted my blog, which runs through Wordpress. I have migrated the blog from another hosting months ago, and since then I’ve trying to change the permalinks from the default mode that comes with the Wordpress installation with no successful result.
I want to change this to the post name mode (/%postname%/), but when I change it every link on my blog returns a 404 error.
I’ve tried changing the permissions of the .htaccess file to 666, I changed the code of .htaccess to the default code, I tried deleting the .htaccess and letting Wordpress generate a new one, but nothing works.
Sometimes when I’m going to edit the .htaccess file it just appears with the # BEGIN WordPress and # END WordPress comments, with no code inside the file.
I would be very grateful if someone could help me with this since I don’t know what more I can do to fix this.
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.×