Title: 404 errors
Last modified: March 19, 2024

---

# 404 errors

 *  Resolved [auxiclic](https://wordpress.org/support/users/auxiclic/)
 * (@auxiclic)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/404-errors-127/)
 * Hi,
 * My current WP setup
 * PHP/MySQL version: 7.4
   Theme used: DiviExtensions in place:Host name: o2switchWebsite
   address: old.stoneleaf.frProblems encountered) :
 * After a migration I manage to display my home page but for any other page I have
   a 404 error.
 * I regenerated the permalinks -> same problem
 * I changed the theme to Twenty Twenty Four -> same problem
 * I disabled all plugins -> same problem
 * Below is my .htaccess: Begin Really Simple SSL Redirect
 * RewriteEngine on RewriteCond %{HTTP:X-Forwarded-Proto} !https RewriteRule ^(.*)
   $ [https://%](https://%){HTTP_HOST}/$1 [R=301,L] End Really Simple SSL Redirect
   BEGINWordPress The directives (lines) between “BEGIN WordPress” and “END WordPress”
   are generated dynamically, and should only be modified via WordPress filters.
   Any changes to directives between these markers will be overridden.
 * RewriteEngine On RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
   RewriteBase / RewriteRule ^index.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-
   f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule. /index.php [L] END WordPress
 * SetOutputFilter DEFLATE
   AddOutputFilterByType DEFLATE “application/atom+xml” “
   application/javascript” “application/json” “application/ld+json” “application/
   manifest+json” “application/rdf+xml” “application/rss+xml” “application/ schema
   +json » « application/vnd.geo+json » « application/vnd.ms-fontobject » « application/
   x-font-ttf » « application/x-javascript » « application/x-web-app-manifest+json»“
   application/xhtml+xml” “application/xml” “font/eot” “font/opentype” “image/bmp”“
   image/svg+xml” “image/vnd.microsoft.icon” “image/x-icon » “text/cache-manifest”“
   text/css” “text/html” “text/javascript” “text/plain” “text/vcard” “text/vnd.rim.
   location.xloc” “text/vtt” “ text/x-component” “text/x-cross-domain-policy” “text/
   xml”
    -  This topic was modified 2 years, 2 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
      Reason: formatting
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2F404-errors-127%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/404-errors-127/#post-17512744)
 * > After a migration…
 * WordPress has documentation on moving a site: [ Moving WordPress](https://wordpress.org/support/article/moving-wordpress/)
 * Please review and see if you missed anything.
 *  Thread Starter [auxiclic](https://wordpress.org/support/users/auxiclic/)
 * (@auxiclic)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/404-errors-127/#post-17515583)
 * The problem was with .htaccess
 * I went back to the standard WordPress .htaccess and there were no more 404 errors.
 *  Thread Starter [auxiclic](https://wordpress.org/support/users/auxiclic/)
 * (@auxiclic)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/404-errors-127/#post-17515585)
 * Resolved
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/404-errors-127/#post-17515827)
 * Glad you got it sorted 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘404 errors’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [t-p](https://wordpress.org/support/users/t-p/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/404-errors-127/#post-17515827)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
