Skip to content
Get help
HomeBug Fix LibraryWordPress Permalinks Not Working

WordPress Bug Fix Library

WordPress Permalinks Not Working

Fix WordPress permalinks returning 404 or wrong routes because of rewrite rules, .htaccess, Nginx config, migration, custom post types or server configuration.

Reviewed and updated 2026-09-06

Quick answer

WordPress Permalinks Not Working usually means WordPress pages/posts exist but the web server is not routing clean URLs to the correct WordPress request. The safest repair starts by identifying which URLs fail, permalink settings, rewrite rules, .htaccess/Nginx config and document root before changing plugins, code or server settings.

Symptoms

Use the exact symptom and affected URL as the starting point. WordPress Permalinks Not Working can look similar across sites even when the root cause is completely different.

  • Homepage works but posts/pages return 404.
  • Plain ?p=123 URLs work while pretty permalinks do not.
  • The issue began after migration/server change.
  • Only custom post types or one route group returns 404.

Common causes

The main areas to investigate are missing rewrite rules, disabled overrides, incorrect Nginx try_files, migration/document-root changes, plugin CPT rewrite flush or conflicting rules. A good diagnosis narrows these possibilities with logs and request-level evidence instead of changing multiple systems at once.

  • .htaccess rewrite rules are missing/ignored.
  • Nginx try_files is not configured for WordPress.
  • Document root or site path changed during migration.
  • Custom post type/taxonomy rewrite rules are stale.
  • Another plugin/server rule conflicts with WordPress rewrites.

Safe diagnosis

  1. Compare pretty URL with the equivalent plain WordPress query URL.
  2. Inspect active .htaccess or Nginx virtual-host rewrite configuration.
  3. Confirm document root and WordPress location.
  4. Flush rewrite rules only after identifying whether the server accepts them.

Production safety: Create a current backup or recovery point before changing code, database values, plugins, PHP, rewrite rules or server configuration. On WooCommerce and lead-generation sites, test disruptive changes in staging whenever possible.

How the issue is fixed

  • Restore correct Apache/Nginx WordPress rewrite routing.
  • Correct document root/path configuration.
  • Regenerate custom rewrite rules after code/routes are correct.
  • Retest posts, pages, archives and custom post types.

What to avoid

Avoid this shortcut: Do not repeatedly click “Save Permalinks” if the server ignores .htaccess or Nginx is misconfigured. WordPress cannot repair a web-server routing rule it does not control.

When expert troubleshooting makes sense

If wordpress permalinks not working is affecting revenue, wp-admin access, publishing, checkout, forms or a live campaign, the priority is a reversible fix with a documented root cause. WP•FIX separates ordinary software faults from security incidents, so suspicious redirects, unknown administrators or injected code are handled through the malware-response path instead of being treated as a normal bug.

FAQ

What usually causes WordPress Permalinks Not Working?

Common causes include missing rewrite rules, disabled overrides, incorrect Nginx try_files, migration/document-root changes, plugin CPT rewrite flush or conflicting rules. The visible symptom alone is not enough to identify which one is responsible.

Can WordPress Permalinks Not Working be fixed without wp-admin?

Often yes. Hosting logs, SFTP/SSH, database tools, browser developer tools or the hosting control panel can provide enough evidence when wp-admin is unavailable.

Should I disable every plugin to fix WordPress Permalinks Not Working?

A full plugin shutdown can be useful as a controlled test, but on a live business site it can create new failures. It is safer to collect evidence and isolate the likely component with a reversible plan.

When should I request professional WordPress troubleshooting?

If the site is down, checkout or lead generation is affected, the error returns after a temporary workaround, or the cause is unclear from logs, a targeted diagnosis reduces risky trial-and-error.

Send the exact error or broken behavior, the affected URL and what changed before it started. No passwords are requested in the form.

Request professional troubleshooting

Professional WordPress troubleshooting

Need this issue fixed on a live site?

Send the site URL, exact symptom and what changed before the problem started. The dedicated bug-fix intake keeps technical repair requests separate from malware incidents.

Do not send passwords or hosting credentials in the form. Access is requested separately only if needed.

Your next step

Tell us what
needs attention.

Start with the site URL and what you are seeing. The WP Fix team will review the details and reply by email.

  1. We clarify the issue and the outcome you need.
  2. We confirm scope, availability and price.
  3. We agree on access and the work before making changes.

No passwords needed to start. Timing depends on the issue and current availability.

About: WordPress Permalinks Not Working

Please do not include passwords or access keys. We use your details to respond to this enquiry. Web3Forms processes the submission.