Yuri Pustjens Posted November 23, 2015 Share Posted November 23, 2015 Hello Guys I've recently switched hosts, but for some reason on my new host the friendly URLs seem to fail. Any idea what is happening here? You can see for yourself here: https://forum.windowsinstructed.com/index.php If you receive an offline message then your DNS is not updated and are visiting the old server. Would love to hear a solution Thanks all! Link to comment Share on other sites More sharing options...
nodle Posted November 23, 2015 Share Posted November 23, 2015 Is your .htaccess file in place? It doesn't look like it. Link to comment Share on other sites More sharing options...
Yuri Pustjens Posted November 23, 2015 Author Share Posted November 23, 2015 45 minutes ago, nodle said: Is your .htaccess file in place? It doesn't look like it. Doesn't appear so, however can't seem to find it on the old host either, but worked there. Do you perhaps know the default content of the file so I can recreate it. Link to comment Share on other sites More sharing options...
nodle Posted November 23, 2015 Share Posted November 23, 2015 This I believe is the default: <IfModule mod_rewrite.c> Options -MultiViews RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteRule \.(js|css|jpeg|jpg|gif|png|ico)(\?|$) /404error.php [L,NC] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> The /index.php may need to be edited based off your forum. But this is by default. Link to comment Share on other sites More sharing options...
Adlago Posted November 23, 2015 Share Posted November 23, 2015 @Yuri PustjensIn which directory of your domain is installed ips4? Link to comment Share on other sites More sharing options...
Yuri Pustjens Posted November 23, 2015 Author Share Posted November 23, 2015 2 hours ago, Adlago said: @Yuri PustjensIn which directory of your domain is installed ips4? /home/forum.windowsinstructed.com/ Subdomain 4 hours ago, nodle said: This I believe is the default: The /index.php may need to be edited based off your forum. But this is by default. Thanks! Solved! Link to comment Share on other sites More sharing options...
Adlago Posted November 23, 2015 Share Posted November 23, 2015 4 minutes ago, Yuri Pustjens said: /home/forum.windowsinstructed.com/ Subdomain This is not a subdomain. This is Addon domain. Show content htaccess file in this directory. Link to comment Share on other sites More sharing options...
xboss Posted November 24, 2015 Share Posted November 24, 2015 For me, I just deleted this section in the .htaccess and everything's good! Options -MultiViews Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.