TL;DR: If your WordPress permalinks are not working or pages return 404 errors, login to your WordPress Dashboard, navigate to Settings → Permalinks and click Save Changes without changing your existing permalink structure. This refreshes the rewrite rules. If the problem continues, check your .htaccess file, plugins and hosting configuration.
TABLE OF CONTENTS
Overview
With WordPress Hosting, you can manage your WordPress permalink settings and access cPanel tools to troubleshoot broken website URLs.
Permalinks are the permanent URLs used for your WordPress posts, pages and other content. When they stop working, visitors may encounter 404 Page Not Found errors although your homepage and WordPress Dashboard remain accessible.
This guide explains how to identify and fix permalink errors without unnecessarily changing your existing URLs.
For business-critical websites, consider testing potentially disruptive changes on a staging site.
How to Fix WordPress Permalinks Not Working
Step 1: Confirm That Your Permalinks Are Broken
1. First, determine whether the problem affects several URLs or only a single page.
2. Open your website’s homepage and check whether it loads.
3. Open two or three previously working posts or pages.
4. Check whether these URLs return a 404 Page Not Found error.
5. Confirm that your WordPress Dashboard remains accessible.
6. Make a note of the affected URLs.
If only one page returns a 404 error, check whether it is published, whether its slug has changed or whether a redirect is affecting it.
If your entire website is unavailable, the problem may not be related to permalinks.
Step 2: Reset Your WordPress Permalinks Safely
Refreshing WordPress rewrite rules often resolves site-wide permalink errors.
1. Login to the Domains.co.za Customer Portal.
2. Open the Manage Services dropdown menu.

3. Select Web Hosting or WordPress Hosting.

4. Click Manage next to the relevant domain.

5. Click Login next to Control Panel to access cPanel.
6. Open WP Toolkit and login to your WordPress Dashboard.
7. Navigate to Settings → Permalinks.
8. Check which permalink structure is currently selected.
9. Leave the existing structure unchanged.
10. Click Save Changes.
11. Open the previously affected URLs to check whether they work.
WordPress refreshes its rewrite rules when you access the Permalinks settings screen. Saving the existing configuration can also update the relevant settings and rewrite rules.
IMPORTANT:
Do not switch to another permalink structure and back unnecessarily. Changing established URLs can affect existing links and search engine indexing.
Step 3: Check the .htaccess File in cPanel htaccess File in cPanel
If refreshing permalinks does not resolve the problem, check the .htaccess file used by Apache-compatible hosting environments.
1. Login to the Domains.co.za Customer Portal.
2. Open the Manage Services dropdown menu.
3. Select Web Hosting or WordPress Hosting.
4. Click Manage next to the relevant domain.
5. Click Login next to Control Panel to access cPanel.
6. Navigate to Files → File Manager.
7. Open public_html or the directory containing your WordPress installation.
8. Click Settings and enable Show Hidden Files (dotfiles) if necessary.
9. Locate the .htaccess file.
10. Download a backup copy before making any changes.
If the file appears damaged, you can rename it to .htaccess-backup and return to Settings → Permalinks to save your existing structure.
WordPress may regenerate its rewrite rules if the server configuration and file permissions allow it.
IMPORTANT:
Do not overwrite the entire .htaccess file with generic WordPress rules. It may contain important redirects, caching settings or security configurations. If WordPress cannot regenerate the required rules, restore the backup and contact Domains.co.za Support.
How to Check Whether a Plugin Is Breaking Permalinks
Plugins that manage redirects, caching, SEO, security or custom post types can sometimes interfere with permalink behaviour.
1. Login to the Domains.co.za Customer Portal.
2. Open the Manage Services dropdown menu.
3. Select Web Hosting or WordPress Hosting.
4. Click Manage next to the relevant domain.
5. Click Login next to Control Panel to access cPanel.
6. Open WP Toolkit and login to your WordPress Dashboard.
7. Navigate to Plugins → Installed Plugins.
8. Identify plugins recently installed, updated or reconfigured.
9. Temporarily deactivate one suspected plugin.
10. Navigate to Settings → Permalinks and click Save Changes.
11. Test the affected URLs again.
12. Repeat the process with other suspected plugins if necessary.
If deactivating a plugin resolves the problem, review its settings, check for updates or contact its developer.
Avoid deactivating every plugin on a live business website without considering the potential disruption. Use a staging environment for broader testing where possible.
What If Permalinks Stopped Working After a Migration?
Permalink errors after a WordPress migration or backup restoration may result from incorrect website URLs, outdated links or missing rewrite rules.
Check the following:
1. Navigate to Settings → General.
2. Confirm that the WordPress Address (URL) is correct.
3. Check that the Site Address (URL) matches the intended website address.
4. Navigate to Settings → Permalinks and save the existing structure.
5. Check whether links still reference the previous domain.
6. Confirm that redirects are configured if URLs were intentionally changed.
Avoid manually replacing database URLs without using a WordPress-compatible migration process, as some database values contain serialised data.
What If Plain Permalinks Work but Other Structures Do Not?
If Plain permalinks work but descriptive URLs return 404 errors, the problem may involve server rewrite rules or configuration.
After checking your .htaccess file and saving your existing permalink structure, contact Domains.co.za Support if the issue continues.
Provide the affected URLs, the permalink structure in use and the troubleshooting steps already completed.
How to Confirm That Your Permalinks Are Working
Once the problem seems resolved, test several website URLs.
1. Open a standard WordPress page.
2. Check a published blog post.
3. Test category or archive URLs where applicable.
4. Open product or custom post type URLs if your website uses them.
5. Test the same URLs in a private browser window.
6. Clear relevant WordPress, browser or CDN caches if outdated results continue appearing.
Confirm that the pages load correctly without unexpected redirects or 404 errors.
Troubleshooting Common WordPress Permalink Problems
Why Does Only One WordPress Page Return a 404 Error?
The page may have been deleted, unpublished or assigned a different URL slug. Check its status in WordPress and review any redirects affecting that specific address.
What If My .htaccess File Is Missing?htaccess File Is Missing?
Enable Show Hidden Files (dotfiles) in cPanel File Manager and check again. If the file is still missing, save your existing permalink settings to allow WordPress to regenerate the required rules where supported.
Why Are My Custom Post Type URLs Not Working?
Custom post type URLs may fail when a plugin’s rewrite rules are missing or outdated. Check the relevant plugin, save your existing permalink settings and test the affected URLs again.
Why Do I Still See 404 Errors After Fixing Permalinks?
Cached pages or redirects may continue displaying outdated results. Clear the relevant caches and retest the affected URLs in a private browser window.
Additional Information
Preserve existing URLs: Avoid changing an established permalink structure simply to resolve 404 errors.
- Back up configuration files: Always download a copy of .htaccess before editing or renaming it.
- Check plugin changes: Recently updated redirect, SEO or caching plugins may affect URL behaviour.
- Understand server differences: Apache-compatible environments may use .htaccess, while standalone Nginx uses server-level rewrite configuration.
- Avoid generic rewrite rules: WordPress Multisite, subdirectory installations and customised websites may require different configurations.
- Use redirects when changing URLs: If you intentionally change existing URLs, configure appropriate 301 redirects to the new addresses.
- Check Google Search Console: Review important URLs that may have returned 404 errors for an extended period.
- Contact support when necessary: Domains.co.za Support can assist with hosting-level rewrite or configuration problems.
FAQS
How Do I Know If My WordPress Permalinks Are Broken?
A common sign is that your homepage and WordPress Dashboard work, but several posts or pages return 404 errors. This may indicate a problem with WordPress rewrite rules.
Is It Safe to Resave WordPress Permalinks?
Yes. Saving the currently selected permalink structure is a standard troubleshooting step. You don’t need to change the structure to refresh the rewrite rules.
Why Does My WordPress Homepage Work but Other Pages Return 404 Errors?
The homepage may load normally while internal URLs fail because the server is not processing WordPress rewrite rules correctly. Refreshing permalinks or checking .htaccess may resolve the issue.
Does WordPress Need an .htaccess File for Permalinks?
WordPress commonly uses .htaccess for permalink rewrite rules on Apache-compatible servers. Standalone Nginx environments use server-level configuration instead.
Will Changing My WordPress Permalink Structure Affect SEO?
Changing existing permalink URLs can affect search visibility and break external links if redirects are not configured. Preserve your current structure when troubleshooting and plan any intentional URL changes carefully.



