Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-04-2013, 05:34 PM
Joey805 Joey805 is offline
 
Join Date: Jan 2005
Posts: 119
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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 09-04-2013, 05:59 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 09-04-2013, 06:14 PM
Joey805 Joey805 is offline
 
Join Date: Jan 2005
Posts: 119
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 09-04-2013, 07:06 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try this:
'^boat-talk/$' => 'forumdisplay.php?f=175'
Reply With Quote
  #5  
Old 09-04-2013, 07:37 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

See the links to the old blog post and other link on vbseo forums in my post here - https://vborg.vbsupport.ru/showpost....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.
Reply With Quote
  #6  
Old 09-04-2013, 07:42 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

He doesnt have forum id's in his old urls, so those links wont help him.
Reply With Quote
Благодарность от:
TheLastSuperman
  #7  
Old 09-04-2013, 08:12 PM
Joey805 Joey805 is offline
 
Join Date: Jan 2005
Posts: 119
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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'
Reply With Quote
  #8  
Old 09-04-2013, 08:32 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, try this:
^boat-talk/$ forumdisplay.php?f=175
Reply With Quote
  #9  
Old 09-04-2013, 08:47 PM
Joey805 Joey805 is offline
 
Join Date: Jan 2005
Posts: 119
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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 09-04-2013, 10:38 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^/forum/boat-talk/$ http://www.mydomain.com/forum/forumdisplay.php?f=175
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 10:22 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04430 seconds
  • Memory Usage 2,258KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete