Changing hosts - No pages but home will load

Adam K M

Active member
Hello, I have recently changed hosts for my forums, and have upgraded to 1.1.5 - However, now for some reason, no pages except for the admin control panel, and the actual homepage itself seem to be working...
I am getting the following error

404 Not Found

The server can not find the requested page: (port 80)
Please forward this error screen to's WebMaster.

My old forums are still "up", since this is a test installation (I have however closed the old forums to only being viewable by admins)

Any help is greatly appreciated...
What I did during the transfer was transfer over all the files & MySQL DB, then update the install/admin.php file with the new MySQL credentials, then this happens... note that the users in admin controlpanel are working just fine, and everything seems normal in the control panel as well... doing the file health check just told me that everything seemed to be correct.... Maybe it's the .htaccess that I moved over? hmm :s

Adam K M

Active member
Do you have friendly URLs enabled? Is mod_rewrite installed on the new server?
I believe so, the .htaccess looks like such:

#    Mod_security can interfere with uploading of content such as attachments. If you
#    cannot attach files, remove the "#" from the lines below.
#<IfModule mod_security.c>
#    SecFilterEngine Off
#    SecFilterScanPOST Off
ErrorDocument 401 default
ErrorDocument 403 default
ErrorDocument 404 default
ErrorDocument 500 default
<IfModule mod_rewrite.c>
    RewriteEngine On
    #    If you are having problems with the rewrite rules, remove the "#" from the
    #    line that begins "RewriteBase" below. You will also have to change the path
    #    of the rewrite to reflect the path to your XenForo installation.
    RewriteBase /forums
    #    This line may be needed to enable WebDAV editing with PHP as a CGI.
    #RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -l [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^.*$ - [NC,L]
    RewriteRule ^(data/|js/|styles/|install/|favicon\.ico|crossdomain\.xml|robots\.txt) - [NC,L]
    RewriteRule ^.*$ index.php [NC,L]

Any ideas - maybe they need to be rebuilt somewhere, but how??? (it's still not working)


XenForo developer
Staff member
the /~ doesn't work with re-write with cPanel outside of the index.php You'll need to wait for for domain to propergate to use friendly url's.

I suspect that's where RewriteBase is needed (as Apache won't resolve the path correctly in that setup).