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

Reply
 
Thread Tools Display Modes
  #21  
Old 11-05-2013, 04:55 PM
imported_silkroad imported_silkroad is offline
 
Join Date: Dec 2003
Posts: 563
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Joey805 View Post
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)

Code:
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.
Reply With Quote
  #22  
Old 11-05-2013, 07:28 PM
ikopylov's Avatar
ikopylov ikopylov is offline
 
Join Date: Aug 2010
Location: Russia
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RichieBoy67 View Post

Old ones were like this
PHP Code:
http://musclemecca.com/f226/mr-olympia-2013-updates-info-thread-232742/index13.html#post3178011 
New ones are this

PHP Code:
http://musclemecca.com/threads/232742-***[COLOR="Red"]M[/COLOR]r-[COLOR="Red"]O[/COLOR]lympia-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.

Code:
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
Reply With Quote
Благодарность от:
RichieBoy67
  #23  
Old 11-05-2013, 08:55 PM
FreshFroot's Avatar
FreshFroot FreshFroot is offline
 
Join Date: Jul 2005
Posts: 770
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #24  
Old 11-05-2013, 09:43 PM
ikopylov's Avatar
ikopylov ikopylov is offline
 
Join Date: Aug 2010
Location: Russia
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #25  
Old 12-13-2013, 11:51 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FreshFroot View Post
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.
Reply With Quote
  #26  
Old 12-31-2013, 11:42 AM
toon79 toon79 is offline
 
Join Date: Jun 2007
Location: Sheffield UK
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #27  
Old 01-20-2014, 04:50 AM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ikopylov View Post
Code:
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
Those characters were posted by the member in the thread title. This keeps screwing up my rewrite rules.
Reply With Quote
  #28  
Old 02-14-2014, 07:03 PM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 [DATE]1392410106[/DATE] at [TIME]1392410106[/TIME] ---------------

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?
Reply With Quote
  #29  
Old 02-15-2014, 11:38 PM
ikopylov's Avatar
ikopylov ikopylov is offline
 
Join Date: Aug 2010
Location: Russia
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Simon Lloyd View Post
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/
Code:
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

Quote:
Originally Posted by Simon Lloyd View Post
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
Code:
Options +FollowSymLinks
RewriteEngine On

RedirectMatch 301 ^/([A-Za-z-]+)/([0-9]+)-([A-Za-z0-9-]+)\.html$ http://www.thecodecage.com/forumz/$2.html
Reply With Quote
  #30  
Old 02-16-2014, 12:19 PM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ikopylov View Post
Code:
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
Code:
Options +FollowSymLinks
RewriteEngine On

RedirectMatch 301 ^/([A-Za-z-]+)/([0-9]+)-([A-Za-z0-9-]+)\.html$ http://www.thecodecage.com/forumz/$2.html
I 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?
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 11:45 AM.


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.05768 seconds
  • Memory Usage 2,284KB
  • Queries Executed 13 (?)
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
  • (7)bbcode_code
  • (2)bbcode_php
  • (7)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
  • (4)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_postinfo_query
  • fetch_postinfo
  • 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