Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > vRewrite - SEOed URLs for vBulletin
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vRewrite "Lite" Details »»
vRewrite "Lite"
Version: , by cd1986 cd1986 is offline
Developer Last Online: Oct 2008 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 01-08-2007 Last Update: Never Installs: 0
 
No support by the author.

I was working on the duplicate url problem earlier, and so i thought i'd post what i'd compiled for anyone who might be interested. The problem i'm referring to is:

http://www.your-forum.com/welcome-f1.html
http://www.your-forum.com/random-thing-f1.html

Using vRewrite, the above urls both lead to the same forum, meaning search engines will see them as 2 separate urls to the same page. Of course, it doesn't have a large impact, but i still like it better when they all resolve to a single url.

The reason i put "lite" is that the urls don't look re-written until you click them. Mainly because i was testing the re-direct only portion of the hack, and so wasn't too concerned with the "on page" re-writing. So basically, this 301 redirects urls to their keyword filled counterparts, but you won't see the keyword urls when hovering over forum links. I'm more concerned about search engines than links being "people-friendly".

If you wanted to add the change into the full version, just open up the xml, and take the single plugin in there and over-write that plugin in the full xml version. That does mean you must edit the htaccess to remove several instances of is_vrewrite=yes and also several instances of $_GET['is_rewrite'] in the xml file.

The reason i didn't bother integrating it into the full version is that i'm actually sticking with this one for now. One last thing, this only covers forum, thread, and member urls. In my opinion showpost urls should be stopped from being indexed by engines anyway.

Any demo? Not at this time, my forums are currently closed while i do a major overhaul.

Change Log:

v1.00 - initial version
v1.01 - updated showthread.php re-direction code

Download Now

File Type: (21.4 KB, 119 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 01-09-2007, 12:43 AM
Immortal Immortal is offline
 
Join Date: Jul 2005
Location: Cincinnati, OH
Posts: 403
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Stuck.
Reply With Quote
  #3  
Old 01-09-2007, 03:08 AM
cd1986 cd1986 is offline
 
Join Date: Sep 2005
Location: UK
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Immortal View Post
Stuck.
Thanks

Updated the code to v1.01 - 1st attempt at showthread.php url resolving.
Reply With Quote
  #4  
Old 02-20-2007, 11:59 AM
Smike Smike is offline
 
Join Date: Jun 2002
Location: Fr
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanx !
It work Good !
Only problem on online.php with unknow page location...
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 05:08 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.05241 seconds
  • Memory Usage 2,246KB
  • Queries Executed 18 (?)
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)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (3)postbit
  • (1)postbit_attachment
  • (4)postbit_onlinestatus
  • (4)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete