Symptoms
The home page works, but posts, pages or category links show Not Found or a 404 error. It often starts after a migration or after changing the link format.
Cause
WordPress on Poorva Cloud runs on the Apache web server. Pretty links such as /about-us/ need rewrite rules in a file called .htaccess in the site's folder. WordPress writes this file itself when you save the permalink settings. If the file is missing, out of date or was replaced by a plugin, the links break.
How to fix
- Sign in at
/wp-admin. - Go to Settings, then Permalinks.
- Do not change anything. Click Save Changes. WordPress writes the rewrite rules again.
- Open a post in a private browser window to check.
- If you use a caching or security plugin that edits
.htaccess, clear its cache or re-save its settings as well. - If it still fails, switch the permalink setting to Plain, save, check that links work, then switch back to your format and save again.
When to raise a ticket
Use Raise a ticket if links still show 404 after these steps. Include the application name, one link that fails and the permalink format you use. Our support team will check the .htaccess file in the app's folder.
Was this helpful?
Still need help?
24/7 support from our team. Sign in to the console to raise a ticket about this.