vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   General Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=189)
-   -   Mod_rewrite tutorial for vB3 (https://vborg.vbsupport.ru/showthread.php?t=68353)

ice9 05-11-2005 05:34 PM

Dean C -- my experience is not similar to yours, but if you're successful in getting your content indexed without having to hack the urls, that's a huge bonus -- this hack is a major PITA!

cscgal -- I appreciate the work you've put into this. I SEO'd vb2 years ago, and it made a HUGE difference in traffic to my site. I've recently upgraded to vb3, and I'm putting some serious effort into properly rewriting the urls again.

I remember a while back Overgrow.com was one of the first sites I knew of to put work into SEO for vb. Overgrow opted for the archive system, which, IMO, is inferior to cleanly re-written urls. Overgrow pointed me to dbforums.com, they were one of the first sites to successfully use static urls with vb.

I'm working on inserting the thread title into the url. Also, I think duplicate pages are a bad move. A crawler should only receive one version of a page. Scripts like printthread.php and showpost.php present the same content to a bot as showthread.php. This sets you up for a duplicate content penalty. Same thing with cramming variables into hyphenated urls, like this: site.com/forum/t12345-15---2-asc--3.html and site.com/forum/t12345-10-2-10-desc--.html are sloppy, and are often duplicates. Maybe dupes like that should be excluded via robots.txt? I like threads that appear to be in the main directory -- better SEO. I think the ideal url would look like this:

site.com/t(threadid)-(hyphenated thread title)(-pagenumber).html

For example:

site.com/t12345-SEO-vbulletin-2.html

I'm not sure what to do with the perpage variable. I don't really think it's that necessary, and it makes for duplicate urls.

Besides, I think that other showthread/forumdisplay variables can be added on AFTER the .html suffix, like this:

site.com/t12345-SEO-vbulletin-3.html&order=asc&highlight=word&perpage=25

Then, robots.txt could be used to exclude a crawler from any url that has variables after the .html suffix. So, no dupes.

Either way, if a variable is empty, its hyphen shouldn't be in the url. This looks bad:

site.com/t12345----10---asc-.html

Also, watch for the "." character in your .htaccess file. It's a regex wildcard, and will need to be backslash-escaped if it is to represent a period, as in \.html.

Most SEO vb hacks don't allow for styleid adjustments via the dropdown menu.

Some sites use a default style for re-written urls for non-registered members, and then feed another style to registered members. So the bots get the rewritten urls, and members get the real ones. I disagree with this -- better rankings are accorded to urls that are used, and linked to on other sites. When members are on other sites, and they link to your threads, it should be with properly rewritten urls.

mod_rewrite has a logging function that can be very useful, although it's rather verbose, even at the lower settings.

Hope this helps -- sorry for the long post. This is an extremely complex hack that most sites are not using to its full potential.

vktechnology 06-04-2005 11:25 PM

very cool,
URL friendly, human readable,
it is good for user to remeber URL
It look like static page

cristi71000 06-20-2005 09:48 AM

Hi,

Is this optimisation working for vBulletin forums hosted on IIS? And if not are there any alternatives?

Thanks,
Cristian
phoneheaven.org

deathemperor 06-20-2005 04:44 PM

I think this is unnecessary since vb offers HTML package too for your site.


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

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01218 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete