Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Yuri Pustjens Posted November 23, 2015 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!
nodle Posted November 23, 2015 Posted November 23, 2015 Is your .htaccess file in place? It doesn't look like it.
Yuri Pustjens Posted November 23, 2015 Author 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.
nodle Posted November 23, 2015 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.
Adlago Posted November 23, 2015 Posted November 23, 2015 @Yuri PustjensIn which directory of your domain is installed ips4?
Yuri Pustjens Posted November 23, 2015 Author 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!
Adlago Posted November 23, 2015 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.
xboss Posted November 24, 2015 Posted November 24, 2015 For me, I just deleted this section in the .htaccess and everything's good! Options -MultiViews
Recommended Posts
Archived
This topic is now archived and is closed to further replies.