View Full Version : VBSEO uninstall rewrite help
Joey805
09-04-2013, 05:34 PM
I just uninstalled VBSEO and need some help with rewrite rules getting my old indexed url's to redirect to the standard vb urls.
I got my threads to redirect using the following:
RewriteRule [^/]+/([0-9]+)-[^/]+\.html http://www.mydomain.com/forum/showthread.php?t=$1 [L,R=301]
However I cannot seem to get my forumdisplay.php to redirect. I have a bunch of dead links on google that I would like to get fixed. My old url vbseo url looks like this:
http://www.mydomain.com/forum/boat-talk/
My new URL for that forum looks like this:
http://www.mydomain.com/forum/forumdisplay.php?f=175
I understand that I probably have to do a rewrite for each forum which is ok, but I need help with the syntax of the rule.
Any help would be appreciated.
Thanks
snakes1100
09-04-2013, 05:59 PM
Scratch that, i have it someplace, have to chk for it.
Yes, if you had the forum id's, one rule would of worked.
What rule are u using now?
Joey805
09-04-2013, 06:14 PM
I'm not using anything now, I uninstalled VBSEO. All my threads 301 redirect to the old vbulletin urls fine, but all my indexed forum thread listings are dead 404 errors.
My old forum display url looked like this when running vbseo:
http://www.mydomain.com/forum/boat-talk/
My new URL for that forum looks like this with no vbseo:
http://www.mydomain.com/forum/forumdisplay.php?f=175
Google has a 404 error for these indexed items currently.
snakes1100
09-04-2013, 07:06 PM
Try this:
'^boat-talk/$' => 'forumdisplay.php?f=175'
TheLastSuperman
09-04-2013, 07:37 PM
See the links to the old blog post and other link on vbseo forums in my post here - https://vborg.vbsupport.ru/showpost.php?p=2441085&postcount=3
I recently removed it and had to jump through a few hoops honestly so I can only imagine that similar is happening to many others.
snakes1100
09-04-2013, 07:42 PM
He doesnt have forum id's in his old urls, so those links wont help him.
Joey805
09-04-2013, 08:12 PM
Try this:
'^boat-talk/$' => 'forumdisplay.php?f=175'
Got this error when using that:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@mydomain.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Here is what I put in the .htaccess file:
RewriteRule '^boat-talk/$' => 'forumdisplay.php?f=201'
snakes1100
09-04-2013, 08:32 PM
Sorry, try this:
^boat-talk/$ forumdisplay.php?f=175
Joey805
09-04-2013, 08:47 PM
Sorry, try this:
^boat-talk/$ forumdisplay.php?f=175
That kinda sorta worked. It took me to the forum display page but the url in the address bar did not change. It remained the VBSEO url and my forum display was shown without any style applied, basically just a blank white page with the threads listed. It looked really messed up.
snakes1100
09-04-2013, 10:38 PM
^/forum/boat-talk/$ http://www.mydomain.com/forum/forumdisplay.php?f=175
Joey805
09-04-2013, 10:53 PM
^/forum/boat-talk/$ http://www.mydomain.com/forum/forumdisplay.php?f=175
Didnt work, got this error:
404 - Document Not Found
The requested object or URL, /forum/boat-talk/ was not found on this server.
The link you followed is either outdated, inaccurate, or the server has been instructed not to let you have it.
Please inform the administrator of the referring page, .
This is what I have in my .htaccess now:
RewriteRule ^/forum/boat-talk/$ http://www.mydomain.com/forum/forumdisplay.php?f=201 [L,R=301]
snakes1100
09-04-2013, 11:09 PM
ok, add the full url to the front, the karet should of caught the frontend url.
Joey805
09-04-2013, 11:54 PM
ok, add the full url to the front, the karet should of caught the frontend url.
Still didn't work, this is the error that I got:
404 - Document Not Found
The requested object or URL, /forum/boat-talk/ was not found on this server.
The link you followed is either outdated, inaccurate, or the server has been instructed not to let you have it.
Please inform the administrator of the referring page, .
Here is my .htaccess:
RewriteRule http://www.mydoamin.com/forum/boat-talk/$ http://www.mydomain.com/forum/forumdisplay.php?f=201 [L,R=301]
snakes1100
09-05-2013, 12:04 AM
sorry, as i obviously cant test it, not much more i can suggest.
Joey805
09-05-2013, 12:17 AM
sorry, as i obviously cant test it, not much more i can suggest.
Bummer, thanks for trying to help.
If I PM you the url and such, would that be of any benefit?
snakes1100
09-05-2013, 12:23 AM
Having your url doesnt help, as i still cant test.
Joey805
09-05-2013, 12:38 AM
Having your url doesnt help, as i still cant test.
What if I email you the .htaccess file, you can make changes and I'll place it back on the server to see if it works?
RichieBoy67
10-28-2013, 08:10 PM
See the links to the old blog post and other link on vbseo forums in my post here - https://vborg.vbsupport.ru/showpost.php?p=2441085&postcount=3
I recently removed it and had to jump through a few hoops honestly so I can only imagine that similar is happening to many others.
VBseo has not up for days if not longer.. Was showing a database error but now nothing.
Seems like Vbseo no longer exists. Because of thier site no longer existing I cannot even access any info. In addition it caused my site to not function correctly so I removed it. Now I am stuck
Old ones were like this
http://musclemecca.com/f226/mr-olympia-2013-updates-info-thread-232742/index13.html#post3178011New ones are this
http://musclemecca.com/threads/232742-***Mr-Olympia-2013***-Updates-and-info-thread!Does anyone have a real answer that is helpful to fixing this type of url to redirect?
trying to redirect urls.
I do have the backup for my Vbseo settings in case that helps. I know someone would be able to help at Vbseo but that is no longer there.
TheLastSuperman
10-28-2013, 10:47 PM
VBseo has not up for days if not longer.. Was showing a database error but now nothing.
Seems like Vbseo no longer exists. Because of thier site no longer existing I cannot even access any info. In addition it caused my site to not function correctly so I removed it. Now I am stuck
Old ones were like this
http://musclemecca.com/f226/mr-olympia-2013-updates-info-thread-232742/index13.html#post3178011New ones are this
http://musclemecca.com/threads/232742-***Mr-Olympia-2013***-Updates-and-info-thread!Does anyone have a real answer that is helpful to fixing this type of url to redirect?
trying to redirect urls.
Google Cache still works fine, no styling on the pages but all the info is still there for a bit longer. I recommend you use google cache then also use your browser to save the page to your pc i.e. in Firefox it's "Save Page As" for easy future reference ;).
RichieBoy67
10-28-2013, 11:58 PM
Thanks,
I already used the wayback machine to find info from Vbseo but I cannoit find my combination and it ofcourse it says to contact support if your url is not listed..
imported_silkroad
11-05-2013, 04:55 PM
Didnt work, got this error:
This is what I have in my .htaccess now:
RewriteRule ^/forum/boat-talk/$ http://www.mydomain.com/forum/forumdisplay.php?f=201 [L,R=301]
Not sure of your exact vBSEO URL but your rule should be (based on above)
RewriteRule ^forum/boat-talk/$ /forum/forumdisplay.php?f=201 [L,R=301]
There should be no initial "/" in your left hand mod_rewrite rule. An initial "/" will not match, because the rewrite base is already "/" ...
Cheers.
ikopylov
11-05-2013, 07:28 PM
Old ones were like this
http://musclemecca.com/f226/mr-olympia-2013-updates-info-thread-232742/index13.html#post3178011New ones are this
http://musclemecca.com/threads/232742-***Mr-Olympia-2013***-Updates-and-info-thread!Does anyone have a real answer that is helpful to fixing this type of url to redirect?
trying to redirect urls.
RedirectMatch 301 ^/f([0-9]+)/([A-Za-z0-9-]+)-([0-9]+)/index([0-9]+)(.*)$ http://musclemecca.com/threads/$3-$2
This works automatically redirect all such references.
I do not understand what you refer to the characters ***
and
Capital letters, no redirects do not get, but to write a php script that will read from the table mysql.
After removing the vbSEO need to find all the links from other sites to your site in order pagerank
FreshFroot
11-05-2013, 08:55 PM
This is why people should NOT be removing vBSEO just yet... until you have a backup solution ready. otherwise you are killing off all your pages and google hits.
Everyone assume uninstalling vbseo is the answer... it is not!
The real answer is to use it till we can create something that will port ALL of the vBSEO urls properly and accordingly. That way there is NO loss of links and it will be as if nothing on your forum was changed.
ikopylov
11-05-2013, 09:43 PM
FreshFroot For a week I created a .htaccess
a plurality of rows (~ 60) and only then deleted vbseo
Within 2 weeks of attendance has decreased by 10%
after that, all recovered and went attendance growth
RichieBoy67
12-13-2013, 11:51 PM
This is why people should NOT be removing vBSEO just yet... until you have a backup solution ready. otherwise you are killing off all your pages and google hits.
Everyone assume uninstalling vbseo is the answer... it is not!
The real answer is to use it till we can create something that will port ALL of the vBSEO urls properly and accordingly. That way there is NO loss of links and it will be as if nothing on your forum was changed.
When Vbseo went down many people were having issues with license checks that were causing errors. I am sure this is why so many uninstalled it.
toon79
12-31-2013, 11:42 AM
Anyone figure out a rewrite for images. Any images on the forum now got to a different URL can you rewrite these so anywhere externally that links to them will update?
RichieBoy67
01-20-2014, 04:50 AM
RedirectMatch 301 ^/f([0-9]+)/([A-Za-z0-9-]+)-([0-9]+)/index([0-9]+)(.*)$ http://musclemecca.com/threads/$3-$2This works automatically redirect all such references.
I do not understand what you refer to the characters ***
and
Capital letters, no redirects do not get, but to write a php script that will read from the table mysql.
After removing the vbSEO need to find all the links from other sites to your site in order pagerank
Those characters were posted by the member in the thread title. This keeps screwing up my rewrite rules.
Simon Lloyd
02-14-2014, 07:03 PM
Hi guys i've decided to uninstall VBSEO and need some help with my rewrite rules, my forum titles with vbseo looked like this:
http://www.thecodecage.com/forumz/networking-peripherals/
and my threads looked like this:
http://www.thecodecage.com/forumz/microsoft-excel-forum/214560-data-validation-calculated-column.html
and single post was:
http://www.thecodecage.com/forumz/112701-post3.html
Could someone help me out with the rewrite rules as the ones i have just aren't working!
Im guessing all i need to rewrite is what comes after forumz/ ???
--------------- Added 1392410106 at 1392410106 ---------------
Here's one section:
RewriteCond %{HTTP_HOST} ^www\.thecodecage\.com$ [NC]
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^forumz/microsoft-excel-forum/$ [noparse]http://www.thecodecage.com/forumz/forumdisplay.php?f=64 [R=301,NE,NC,L]
But the old vbseo link doesn't redirect to the new forumdisplay.php link?
ikopylov
02-15-2014, 11:38 PM
Hi guys i've decided to uninstall VBSEO and need some help with my rewrite rules, my forum titles with vbseo looked like this:
http://www.thecodecage.com/forumz/networking-peripherals/
Redirect 301 /networking-peripherals/ http://www.thecodecage.com/forumz/forumdisplay.php?f=23*23 this is a number of you forum
how much you have forums, so it should be of such lines
another option redirects unfortunately no
http://www.thecodecage.com/forumz/microsoft-excel-forum/214560-data-validation-calculated-column.html
and single post was:
http://www.thecodecage.com/forumz/112701-post3.html
Put this file to /forumz/ folder
.htaccess
Options +FollowSymLinks
RewriteEngine On
RedirectMatch 301 ^/([A-Za-z-]+)/([0-9]+)-([A-Za-z0-9-]+)\.html$ http://www.thecodecage.com/forumz/$2.html
Simon Lloyd
02-16-2014, 12:19 PM
Redirect 301 /networking-peripherals/ http://www.thecodecage.com/forumz/forumdisplay.php?f=23*23 this is a number of you forum
how much you have forums, so it should be of such lines
another option redirects unfortunately no
Put this file to /forumz/ folder
.htaccess
Options +FollowSymLinks
RewriteEngine On
RedirectMatch 301 ^/([A-Za-z-]+)/([0-9]+)-([A-Za-z0-9-]+)\.html$ http://www.thecodecage.com/forumz/$2.htmlI appreciate your help, the last redirect you gave is that a one size fits all approach? I don't understand how that will redirect links to the correct areas?
ikopylov
02-16-2014, 12:47 PM
You asked how to redirect a typical reference to another.
I wrote to you how to do it
How to make all links?
It is necessary to analyze:
- google webmaster
- settings that were in vbseo
- links forum
- much time
In the 10th I repeat:
In order to save site's ranking, a quick page loading speed, to save attendance:
Need to write complex of redirects, very important sequence of commands RedirectMatch and Redirect.
Not use RewritRule!
Simon Lloyd
02-16-2014, 02:37 PM
Again thanks for the reply, I understand the forum direct format and that I have to do that for every forum. For the posts or threads is it just that one rule that you gave at the end of your last post?
Ok, here's one, in Google my old vbseo link looks like this:
http://www.thecodecage.com/forumz/microsoft-topics/
I entered the redirect rule in /forumz/.htaccess as below:
Redirect 301 /microsoft-topics/ http://www.thecodecage.com/forumz/forumdisplay.php?f=63
But clicking the old link (or pasting it in the browser bar) doesn't redirect?
Any ideas?
RichieBoy67
02-16-2014, 02:57 PM
Again thanks for the reply, I understand the forum direct format and that I have to do that for every forum. For the posts or threads is it just that one rule that you gave at the end of your last post?
Ok, here's one, in Google my old vbseo link looks like this:
http://www.thecodecage.com/forumz/microsoft-topics/
I entered the redirect rule in /forumz/.htaccess as below:
Redirect 301 /microsoft-topics/ http://www.thecodecage.com/forumz/forumdisplay.php?f=63
But clicking the old link (or pasting it in the browser bar) doesn't redirect?
Any ideas?
That looks like it should work. Did you put RewriteEngine on at the top of the htaccess?
ikopylov
02-16-2014, 03:10 PM
Any ideas?
Many ideas...
Many questions
Create ftp access to the site root, and write it to me in a PM
I look
it will be faster than we fantasize for a few days
It is necessary to see the full picture of your redirects
RichieBoy67
02-16-2014, 03:33 PM
Many ideas...
Many questions
Create ftp access to the site root, and write it to me in a PM
I look
it will be faster than we fantasize for a few days
It is necessary to see the full picture of your redirects
I would love to see your work when finished.
Simon Lloyd
02-16-2014, 05:30 PM
Many ideas...
Many questions
Create ftp access to the site root, and write it to me in a PM
I look
it will be faster than we fantasize for a few days
It is necessary to see the full picture of your redirectsAs much as I appreciate your offer (and do not take this as an attack on you) I don't know you and giving access to ftp on my site at this point would be foolish on my behalf.
Here are the redirects that I have up to now, I have to build more AND I have to sort out redirects or rewrites for my showthread titles too.
RewriteEngine On
RewriteBase /forumz/
Options +FollowSymLinks
RedirectMatch 301 ^/([A-Za-z-]+)/([0-9]+)-([A-Za-z0-9-]+)\.html$ http://www.thecodecage.com/forumz/$2.html
#Added by SImon Lloyd 14/02/2014
RewriteCond %{HTTP_HOST} ^www\.thecodecage\.com$ [NC]
RewriteCond %{QUERY_STRING} ^$
RewriteRule [^/]+/([0-9]+)-[^/]+\.html http://www.thecodecage.com/forumz/showthread.php?t=$1 [L,R=301]
Redirect 301 /forumz/networking-peripherals/ http://www.thecodecage.com/forumz/forumdisplay.php?f=119
Redirect 301 /forumz/microsoft-excel-forum/ http://www.thecodecage.com/forumz/forumdisplay.php?f=64
Redirect 301 /forumz/microsoft-access-forum/ http://www.thecodecage.com/forumz/forumdisplay.php?f=70
Redirect 301 /forumz/microsoft-powerpoint-forum/ http://www.thecodecage.com/forumz/forumdisplay.php?f=74
Redirect 301 /forumz/microsoft-project-forum/ http://www.thecodecage.com/forumz/forumdisplay.php?f=77
Redirect 301 /forumz/microsoft-publisher-forum/ http://www.thecodecage.com/forumz/forumdisplay.php?f=80
Redirect 301 /forumz/microsoft-visio-forum/ http://www.thecodecage.com/forumz/forumdisplay.php?f=83
Redirect 301 /forumz/microsoft-outlook-forum/ http://www.thecodecage.com/forumz/forumdisplay.php?f=89
Redirect 301 /forumz/microsoft-word-forum/ http://www.thecodecage.com/forumz/forumdisplay.php?f=86
Redirect 301 /forumz/microsoft-sharepoint-forum/ http://www.thecodecage.com/forumz/forumdisplay.php?f=118
Redirect 301 /forumz/forumz/microsoft-topics/ http://www.thecodecage.com/forumz/forumdisplay.php?f=63
Redirect 301 /forumz/general-discussion/ http://www.thecodecage.com/forumz/forumdisplay.php?f=2
Redirect 301 /forumz/helpdesk/ http://www.thecodecage.com/forumz/forumdisplay.php?f=92
Redirect 301 /forumz/vip-registration-and-promotions/ /forumz/forumdisplay.php?f=103
Redirect 301 /forumz/introductions/ http://www.thecodecage.com/forumz/forumdisplay.php?f=110
Redirect 301 /forumz/jobs-offered/ http://www.thecodecage.com/forumz/forumdisplay.php?f=111
Redirect 301 /forumz/general-news-updates/ http://www.thecodecage.com/forumz/forumdisplay.php?f=44
Redirect 301 /forumz/feedback-forum/ http://www.thecodecage.com/forumz/forumdisplay.php?f=50
Redirect 301 /forumz/testing-ground/ http://www.thecodecage.com/forumz/forumdisplay.php?f=116
Redirect 301 /forumz/top-tips/ http://www.thecodecage.com/forumz/forumdisplay.php?f=52
Redirect 301 /forumz/microsoft-office-topics-archive/ http://www.thecodecage.com/forumz/forumdisplay.php?f=108
Redirect 301 /forumz/hot-topics/ http://www.thecodecage.com/forumz/forumdisplay.php?f=117
Redirect 301 /forumz/microsoft-office-tutorials/ http://www.thecodecage.com/forumz/forumdisplay.php?f=51
Redirect 301 /forumz/microsoft-office-application-homework-help/ http://www.thecodecage.com/forumz/forumdisplay.php?f=94
Redirect 301 /forumz/downloads/ http://www.thecodecage.com/forumz/forumdisplay.php?f=40
Redirect 301 /forumz/the-code-cage-resources-list/ http://www.thecodecage.com/forumz/forumdisplay.php?f=49
Redirect 301 /forumz/resource-forums/ http://www.thecodecage.com/forumz/forumdisplay.php?f=48
Redirect 301 /forumz/general-forums/ http://www.thecodecage.com/forumz/forumdisplay.php?f=1
Hopefully Igor you are still willing and able to help.
--------------- Added 1392575812 at 1392575812 ---------------
As an added twist I use vbenterprisetranslator and many links submitted to google...etc look like this
http://www.thecodecage.com/forumz/es/networking-peripherals/
http://www.thecodecage.com/forumz/vi/networking-peripherals/
There are around 52 languages that all have their own 2 letter code so Ukraine would be /forumz/uk/networking-peripherals/ consequently a thread may look like http://www.thecodecage.com/forumz/uk/652836-working-numbers.html
These are going to be a huge problem to sort?
Here's the list of languages:
af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is |id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|s r|sk|sl|es|sw|sv|zh-#TW|th|tr|uk|vi|cy|yi
--------------- Added 1392576434 at 1392576434 ---------------
Igor, your pm's and email are off - I've created a folder with the .htaccess in there if you'd rather do it by ftp, I can then copy the file over to the forum root and test :)
ikopylov
02-16-2014, 05:52 PM
Redirect 301 /forumz/forumz/microsoft-topics/ http://www.thecodecage.com/forumz/forumdisplay.php?f=63
)))
--------------- Added 16 Feb 2014 at 20:55 ---------------
& you 52 languages will finish with this:
Warning: file_put_contents([path]/vbet_guestcache/en/_forumz_forumdisplay_php_f_6437.html) [function.file-put-contents (http://www.thecodecage.com/forumz/function.file-put-contents)]: failed to open stream: Permission denied in [path]/includes/vbenterprisetranslator_functions_guestcache.php on line 124
Simon Lloyd
02-16-2014, 06:02 PM
Hi Igor, your pm's and email are off - I've created a folder with the .htaccess in there if you'd rather do it by ftp, I can then copy the file over to the forum root and test .
I posted the list of languages above, I understand that right now they will fail just as my showthreads are failing, I really don't understand the .htaccess and rewrite conditions...etc which is why, to you, im probably asking the same question again and again.
RichieBoy67
02-17-2014, 02:53 AM
ikopylov, You had sent me a message but I was unable to reply because your profile has incoming messages are disabled.
I would be happy to pay you to help me finish my redirects, etc. I have been trying to do a little each day but I think you can do it much faster and better than I can. I am learning but have a long ways to go.
Thanks
toon79
02-17-2014, 08:06 AM
Still looking for a rewrite for images also
ikopylov
02-17-2014, 11:01 AM
Simon Lloyd, Do not use such:
#Added by SImon Lloyd 14/02/2014
RewriteCond %{HTTP_HOST} ^www\.thecodecage\.com$ [NC]
RewriteCond %{QUERY_STRING} ^$
RewriteRule [^/]+/([0-9]+)-[^/]+\.html http://www.thecodecage.com/forumz/showthread.php?t=$1 [L,R=301]Against google translator:
I do not know how it should work for you.
But the translation from English into Russian/Ukranian looks comical. Probably it is good for some school blog, but for a serious site like this is unacceptable.
RichieBoy67, appear here found that the PM can straighten only for "friends". To send a PM, at the bottom of the message, see Additional Options and place the "Send message to users even if they are not on your buddy list" - yes. About you site, contact me with skype.
Simon Lloyd
02-17-2014, 04:48 PM
Thanks again for the reply Igor, that was my attempt at rewriting the showthread links. The translator needs a lot of money to run translation, I don't have that so I pay for the translations as and when I can, you have to pay per character.
How would I do the redirect for showthread?
ikopylov
02-17-2014, 05:16 PM
How would I do the redirect for showthread?
Read my posts from this (https://vborg.vbsupport.ru/showthread.php?t=307021)
RichieBoy67
02-17-2014, 05:41 PM
RichieBoy67, appear here found that the PM can straighten only for "friends". To send a PM, at the bottom of the message, see Additional Options and place the "Send message to users even if they are not on your buddy list" - yes. About you site, contact me with skype.
I think it is your settings. I go back and forth with many here through pm. At any rate I added you to buddy list. :)
Message from inbox upon sending you pm- ikopylov has chosen not to receive private messages or may not be allowed to receive private messages. Therefore you may not send your message to him/her.
--------------- Added 1392698252 at 1392698252 ---------------
I have another redirect question. Due to characters a 301 will not work.
http://musclemecca.com/threads/233789-The-2014-Top-6-Guess-game-for-Arnold-with-prizes!
Needs to pint to
http://musclemecca.com/showthread.php/233789-The-2014-Top-6-Guess-game-for-Arnold-with-prizes!
I tried to do the 301 redirect in the threads directory but not working for this one.
I am doing ok with most of the standard redirects but there are many urls on my site that have characters in the urls that will not work. This is what's killing me most.
I know link weight is lost using rewrite rules but I am still showing 35,000 not found urls and over 4,000 server errors. This after already writing a few hundred 301 redirects.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.