Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: arsis on August 21, 2017, 05:12:16 PM

Title: Migrate website
Post by: arsis 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.
Title: Re: Migrate website
Post by: studio4host 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>