Title: WordPress Error 404 Not Found with Permalink
Last modified: January 7, 2020

---

# WordPress Error 404 Not Found with Permalink

 *  [guif](https://wordpress.org/support/users/guif/)
 * (@guif)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/wordpress-error-404-not-found-with-permalink/)
 * Hi,
 * I moved my page from one server to another new one with CentOS First page works
   fine, but the permalinks are not working.
 * Actually I try to configure the Permalink with “Postname” settings but it shows
   me a 404 error when accessing the different links. However, with “Plain” settings
   it works correctly The DocumentRoot permissions are apache.apache and have access
   and correct permissions to access.
 * The rewrite_module is loaded:
 *     ```
       [root@srvws01 conf.d]# apachectl -M | grep rewrite_module
        rewrite_module (shared)
       ```
   
 * My Apache config file [http://www.domain.es.conf](http://www.domain.es.conf)
 *     ```
       <VirtualHost *:443>
   
         ServerAdmin webmaster@example.org
         ServerName www.domain.es
         ServerAlias domain.es www.domain.es
   
         LogLevel debug
         KeepAliveTimeout 100
   
         ErrorLog logs/ssl_error_www.domain.es_log
         CustomLog logs/access_www.domain.es_log combined
         DocumentRoot /var/www/html/www.domain.es
   
        <Directory "/var/www/html/www.domain.es">
               Options Indexes FollowSymLinks MultiViews
               AllowOverride All
               Order allow,deny
               allow from all
         </Directory>
   
       </VirtualHost>
       ```
   
 * The content of file /var/www/html/www.domain.es/.htaccess:
 *     ```
       # BEGIN WordPress
   
           <IfModule mod_rewrite.c>
           RewriteEngine On
           RewriteBase /
           RewriteRule ^index\.php$ - [L]
           RewriteCond %{REQUEST_FILENAME} !-f
           RewriteCond %{REQUEST_FILENAME} !-d
           RewriteRule . /index.php [L]
           </IfModule>
           # END WordPress
       ```
   
 * I have recreated the htaccess file (via wp-admin) and the problem persists. What
   can happen and what can I do?
    -  This topic was modified 6 years, 4 months ago by [guif](https://wordpress.org/support/users/guif/).

Viewing 1 replies (of 1 total)

 *  [FahimMurshed](https://wordpress.org/support/users/fahimmurshed/)
 * (@fahimmurshed)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/wordpress-error-404-not-found-with-permalink/#post-12305298)
 * [Fixing Permalink Problems](https://wordpress.org/support/article/using-permalinks/#fixing-permalink-problems),
   Please follow this: [https://wordpress.org/support/article/using-permalinks/](https://wordpress.org/support/article/using-permalinks/)
 * Off-topic: You can use [CyberPanel](https://murshidalam.com/how-to-install-cyberpanel/)
   which is WordPress friendly (OpenLite Speed powered) on your CentOS box.
 * Personally I am using CyberPanel Web Hosting Panel with 30+ WordPress sites on
   my VPS box (12GB ram 200GB SSD).
 * For the moving site to another host, I suggest using the [Duplicator](https://wordpress.org/plugins/duplicator/)
   plugin.
 * You’ll never face any issue after moving the site.

Viewing 1 replies (of 1 total)

The topic ‘WordPress Error 404 Not Found with Permalink’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [FahimMurshed](https://wordpress.org/support/users/fahimmurshed/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/wordpress-error-404-not-found-with-permalink/#post-12305298)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
