Archived topic
404 Error When Changing the Permalink Structure
5 replies · Started by Harvey on March 7, 2021
Hi,
When I change the permalink structure in setting->permalink, all the page will show 404 error when I try to access it with the new permalink.
When I change the structure back to the original one and access it with the original link, the page is back.
May I know how I can solve the 404 problem as I want to use the new permalink structure?
Thank you and I look forward to your reply.
Regards,
Harvey
Hi there,
The reason why this issue appears can be that you don't have writing access/permission for the .htaccess file. The changes you've made may only be applying to WP but not on the server side of things.
Try these out:
https://www.wpbeginner.com/wp-tutorials/how-to-fix-wordpress-posts-returning-404-error/
https://www.ostraining.com/blog/wordpress/changing-permalinks/
Hi Elvin,
I have changed the permission to 666 and add the code to htaccess file. However, the problem is still there.
Do you have any suggestion?
Thank you.
Regards,
Harvey
Hi there,
can you check with your host - they should be able to check if there are any httaccess or mod_rewrite rule issues.
Hi David,
I have just checked. You are right. Thanks for your opinion.
Harvey.
You're welcome