Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 04 Sep 2013, 19:34
Joey805 Joey805 is offline
 
Join Date: Jan 2005
VBSEO uninstall rewrite help

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
Reply With Quote
  #2  
Old 04 Sep 2013, 19:59
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Real name: Anthony
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?
Reply With Quote
  #3  
Old 04 Sep 2013, 20:14
Joey805 Joey805 is offline
 
Join Date: Jan 2005
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.
Reply With Quote
  #4  
Old 04 Sep 2013, 21:06
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Real name: Anthony
Try this:
'^boat-talk/$' => 'forumdisplay.php?f=175'
Reply With Quote
  #5  
Old 04 Sep 2013, 21:37
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
 
Join Date: Sep 2008
Real name: Michael Miller Jr
See the links to the old blog post and other link on vbseo forums in my post here - http://www.vbulletin.org/forum/showp...85&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.
__________________
Daddy Does Dios and Figs!
https://www.linkedin.com/in/thelastsuperman

Search - Use the search feature to find similar issues/answers.
Information - Include screenshots, copy/pasted error codes, url etc.
Fixed - Please return to your thread/post and let us know how it was fixed!
Thanks - For participating! Click the "Like" on a post if someone helped you!
Reply With Quote
  #6  
Old 04 Sep 2013, 21:42
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Real name: Anthony
He doesnt have forum id's in his old urls, so those links wont help him.
Reply With Quote
  #7  
Old 04 Sep 2013, 22:12
Joey805 Joey805 is offline
 
Join Date: Jan 2005
Originally Posted by snakes1100 View Post
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'

Last edited by Joey805; 04 Sep 2013 at 22:19.
Reply With Quote
  #8  
Old 04 Sep 2013, 22:32
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Real name: Anthony
Sorry, try this:
^boat-talk/$ forumdisplay.php?f=175
Reply With Quote
  #9  
Old 04 Sep 2013, 22:47
Joey805 Joey805 is offline
 
Join Date: Jan 2005
Originally Posted by snakes1100 View Post
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.
Reply With Quote
  #10  
Old 05 Sep 2013, 00:38
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Real name: Anthony
^/forum/boat-talk/$ http://www.mydomain.com/forum/forumdisplay.php?f=175
Reply With Quote
  #11  
Old 05 Sep 2013, 00:53
Joey805 Joey805 is offline
 
Join Date: Jan 2005
Originally Posted by snakes1100 View Post

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]
Reply With Quote
  #12  
Old 05 Sep 2013, 01:09
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Real name: Anthony
ok, add the full url to the front, the karet should of caught the frontend url.
Reply With Quote
  #13  
Old 05 Sep 2013, 01:54
Joey805 Joey805 is offline
 
Join Date: Jan 2005
Originally Posted by snakes1100 View Post
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]
Reply With Quote
  #14  
Old 05 Sep 2013, 02:04
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Real name: Anthony
sorry, as i obviously cant test it, not much more i can suggest.
Reply With Quote
  #15  
Old 05 Sep 2013, 02:17
Joey805 Joey805 is offline
 
Join Date: Jan 2005
Originally Posted by snakes1100 View Post
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?
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 05:59.

Layout Options | Width: Wide Color: