Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Adam Zupancic Posted February 12, 2016 Posted February 12, 2016 So I originally had my community installed in a subdirectory /forum/ but I wanna move it to my www root. What is the best way to do this, upload a fresh installation and use the existing database and reupload my theme and if possible, forum configuration? Or should I just copy the existing installation and move it over and modify the domain in conf_global? I'm assuming it's the second one but I wanna make sure.
Ahmad E. Posted February 12, 2016 Posted February 12, 2016 The second one, you might want to define .htaccess rules to redirect old links to the new location for SEO purposes and so you don't have broken links.
Adam Zupancic Posted February 12, 2016 Author Posted February 12, 2016 What would these old links be? Everything I use is all IPS so I would think so long as I properly modify conf_global then everything SHOULD work fine. Either way I'm downloading a full backup of the website so if it doesn't work I can just go back to how it was. Sorry to sound like a newb and ignorant but I don't know what you're talking about old links.
Ahmad E. Posted February 12, 2016 Posted February 12, 2016 Like posted links to your site (on other sites too), in emails etc.
Adam Zupancic Posted February 12, 2016 Author Posted February 12, 2016 Oh I see what you're saying now. Thank you for clarifying. Is there a place I can find the proper way to setup .htaccess to do that?
Ahmad E. Posted February 12, 2016 Posted February 12, 2016 I haven't used htaccess rules in ages because I mainly work with nginx but googl'd: http://coolestguidesontheplanet.com/redirecting-a-web-folder-directory-to-another-in-htaccess/
Rhett Posted February 12, 2016 Posted February 12, 2016 All you need to do is the following, it's very very easy. 1. Copy all files from /forum to your / 2. Edit he config_global.php file with the new url (remove/forum) 3. Log into the admincp, run the first step of the support tool and your done. If you want or need to re-direct all old /forum links to the new ones, just use htaccess as below, place this in your old /forum folder, replacing/editing mysite.com with your url Options +FollowSymLinks RewriteEngine On redirect 301 / http://www.mysite.com
Lenny Warren Posted August 21, 2016 Posted August 21, 2016 On 12/02/2016 at 9:36 PM, Rhett said: All you need to do is the following, it's very very easy. 1. Copy all files from /forum to your / 2. Edit he config_global.php file with the new url (remove/forum) 3. Log into the admincp, run the first step of the support tool and your done. If you want or need to re-direct all old /forum links to the new ones, just use htaccess as below, place this in your old /forum folder, replacing/editing mysite.com with your url Options +FollowSymLinks RewriteEngine On redirect 301 / http://www.mysite.com I've just done this, all working well. Cheers....
NoGi Posted August 22, 2016 Posted August 22, 2016 On 13/02/2016 at 7:36 AM, Rhett said: All you need to do is the following, it's very very easy. 1. Copy all files from /forum to your / 2. Edit he config_global.php file with the new url (remove/forum) 3. Log into the admincp, run the first step of the support tool and your done. If you want or need to re-direct all old /forum links to the new ones, just use htaccess as below, place this in your old /forum folder, replacing/editing mysite.com with your url Options +FollowSymLinks RewriteEngine On redirect 301 / http://www.mysite.com I'm doing something slightly different, changing the name of the forum and putting onto a new server. Would this work for that as well? e.g. would www.oldsite.com/forum/topicURL auto redirect to www.newsite.com/forum/topicURL?
Unlucky Posted February 28, 2017 Posted February 28, 2017 On 12/02/2016 at 9:36 PM, Rhett said: All you need to do is the following, it's very very easy. 1. Copy all files from /forum to your / 2. Edit he config_global.php file with the new url (remove/forum) 3. Log into the admincp, run the first step of the support tool and your done. If you want or need to re-direct all old /forum links to the new ones, just use htaccess as below, place this in your old /forum folder, replacing/editing mysite.com with your url Options +FollowSymLinks RewriteEngine On redirect 301 / http://www.mysite.com Hi Rhett, We have done all this and everything is working fine apart from the htaccess redirect which it is not working We logged a support call #975912 but the tech Marc Stridgen stated " This wouldnt really be something that would be within the scope of support really " When we use your recommened htaccess file as above, This url https://www.walkingfootball.com/chat/topic/156-the-peoples-cup/ Is redirecting to https://www.walkingfootball.comchat/topic/156-the-peoples-cup/ You will see it is adding chat at the end of the .com in the above url Could you please help us like you have helped the other members in this thread please? This is what we had in the htaccess file located in the old location /chat/ where the forum previously lived Options +FollowSymLinks RewriteEngine On redirect 301 / https://www.walkingfootball.com Thank you in advance.
Rhett Posted February 28, 2017 Posted February 28, 2017 13 minutes ago, Unlucky said: Hi Rhett, We have done all this and everything is working fine apart from the htaccess redirect which it is not working We logged a support call #975912 but the tech Marc Stridgen stated " This wouldnt really be something that would be within the scope of support really " When we use your recommened htaccess file as above, This url https://www.walkingfootball.com/chat/topic/156-the-peoples-cup/ Is redirecting to https://www.walkingfootball.comchat/topic/156-the-peoples-cup/ You will see it is adding chat at the end of the .com in the above url Could you please help us like you have helped the other members in this thread please? This is what we had in the htaccess file located in the old location /chat/ where the forum previously lived Options +FollowSymLinks RewriteEngine On redirect 301 / https://www.walkingfootball.com Thank you in advance. In your case, you would need the following adjustment. Options +FollowSymLinks RewriteEngine On redirect 301 /chat https://www.walkingfootball.com This file would be placed in your /chat folder as well.
Unlucky Posted February 28, 2017 Posted February 28, 2017 Thank you so much Rhett We really appreciate your help and fast response
media Posted December 14, 2017 Posted December 14, 2017 On 2/12/2016 at 3:36 PM, Rhett said: All you need to do is the following, it's very very easy. 1. Copy all files from /forum to your / 2. Edit he config_global.php file with the new url (remove/forum) 3. Log into the admincp, run the first step of the support tool and your done. If you want or need to re-direct all old /forum links to the new ones, just use htaccess as below, place this in your old /forum folder, replacing/editing mysite.com with your url Options +FollowSymLinks RewriteEngine On redirect 301 / http://www.mysite.com So, when you do this, Google won't penalize you, you won't lose your place on Google search correct? OR ???
opentype Posted December 14, 2017 Posted December 14, 2017 12 minutes ago, media said: So, when you do this, Google won't penalize you, you won't lose your place on Google search correct? OR ??? If the redirects are working, then no. Changing from http to https is essentially the same thing. You get a new site URL and tell the crawlers about it through the 301 (Moved Permanently).
Recommended Posts
Archived
This topic is now archived and is closed to further replies.