Control Web Panel
WebPanel => CentOS 7 Problems => Topic started 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.
-
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
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>