Author Topic: Migrate website  (Read 2480 times)

0 Members and 1 Guest are viewing this topic.

Migrate website
« on: August 21, 2017, 05:12:16 PM »

I recently migrated a website to my new server with CentOS Webpanel PRO, and subpages don't work. It says that the requested URL was not found on this server.

How can I solve it?


Re: Migrate website
« Reply #1 on: August 25, 2017, 08:44:07 PM »
if subpages don't work then this can be related with the .htaccess file, try to copy it from the old server, here is the example for wordpress

filename: .htaccess
Code: [Select]
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
VPS & Dedicated server provider with included FREE Managed support for CWP.

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.