Is there anything additional I must do when redirecting if my VB 3.8 site is using VBSEO?
Yes, you need rewrite rules. Please provide an example old and new thread URL so I can provide you with instructions for your redirects.
Is there anything additional I must do when redirecting if my VB 3.8 site is using VBSEO?
Sorry - what exactly do you need. Do you want an old thread URL from VB then a new thread from Xenforo once imported over? - sorry for sounding like a knuckle head! Also - I just found something very strange in my VBSEO - ACP. Forum URL setting was set to none. but all others were set to see attachment. how do I know how long it has been like this and how do I proceed?
Here is how a recent thread looks -http://www.mysite.com/f55/admins-soup-day-9-1-13-a-23235/#post265656
You mean the imported thread? I did not import yet. (Hopefully tonight.)
RewriteEngine On
RewriteRule ^[^/]+/.+-([0-9]+)/$ /community/index.php?threads/$1/ [R=301,L]
@tommydamic68
Add this to the top of the .htaccess file in your web root:
Code:RewriteEngine On RewriteRule ^[^/]+/.+-([0-9]+)/$ /community/index.php?threads/$1/ [R=301,L]
That should do it.
Since the ids are the same you don't need the php scripts. You only need the rewrites.
Add this to the top of the .htaccess file in your web root
Does it matter that i have this already existent in the web root .htaccess file?
Also - how do i actually redirect the "site" from what it was with vb http://www.mysite.com/forum.php to http://www.mysite.com/community.
RewriteEngine On
RewriteRule ^[^/]+/.+-([0-9]+)/$ /community/index.php?threads/$1/ [R=301,L]
RewriteRule ^forum\.php$ /community/ [R=301,L]
and what measure do i needd to do to not allow people or anything else to access the old site?
RewriteEngine On
RewriteRule ^[^/]+/.+-([0-9]+)/$ /community/index.php?threads/$1/ [R=301,L]
RewriteRule ^forum\.php$ /community/ [R=301,L]
RewriteRule ^.*$ /community/ [R=301,L]
Nope. Put it at the top.
Amendment to previous code to redirect the forum index as well:
Code:RewriteEngine On RewriteRule ^[^/]+/.+-([0-9]+)/$ /community/index.php?threads/$1/ [R=301,L] RewriteRule ^forum\.php$ /community/ [R=301,L]
Amend again to fallback to a catchall redirect:
Code:RewriteEngine On RewriteRule ^[^/]+/.+-([0-9]+)/$ /community/index.php?threads/$1/ [R=301,L] RewriteRule ^forum\.php$ /community/ [R=301,L] RewriteRule ^.*$ /community/ [R=301,L]
That will redirect all traffic to /community except for the preceding specific redirects.
In layman terms - what does this mean? That will redirect all traffic to /community except for the preceding specific redirects.
And can i now turn on friendly URLs in the admin cp settings?
Ok - so are my URL's at this point being redirected for search engines etc? or is there more i need to do.
Thanks @Jake Bunce
so i'm done? Have added your code in root .htaccess and turned on friendly URL's in ACP. Do i need to submit my site to google etc?
thanks,
We use essential cookies to make this site work, and optional cookies to enhance your experience.