Author Topic: Migrate website  (Read 5037 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Migrate website
« on: August 21, 2017, 05:12:16 PM »
Hi!

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?

Thanks.

Offline
*
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]
</IfModule>
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

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