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)

cscgal 08-14-2004 10:00 PM

Mod_rewrite tutorial for vB3
 
I've written a detailed tutorial for vBulletin 3 how to go about using mod_rewrite to allow your forum to have clean URLs. It goes so far as to give forum URLs names such as forum-name.html instead of forum-IDnumber.html

It's available here: http://www.daniweb.com/techtalkforums/thread9379.html

I hope that you enjoy it!

Dean C 08-15-2004 09:14 AM

Hi dani,

Please could you post the tutorial here, so in the event your site goes down our users aren't left stranded. Thankyou

cscgal 08-15-2004 10:04 AM

At this time, I would rather not spread my tutorial around to other sites. As I just wrote it late last night, I am still getting a lot of feedback about it, and therefore I keep making updates and revisions to the tutorial. (There have actually been 3 changes in the past 2 hours!) For that reason, I would rather keep it all in one place. In addition, I might as well just come out and say that the only reason I decided to share my technique (via the tutorial) was to hopefully draw some attention to my web development and SEO forums.

hpwilhelm 08-22-2004 09:23 AM

Thanks cscgal! Just what I was looking for! :)

Registered at your site also, looks like a good place to be...

Dean C 08-22-2004 09:33 AM

There's really no need to rewrite the URL's in your vBulletin. The spiders have no problems interpreting the default query string. Also they have no problems spidering the archive :)

cscgal 08-22-2004 01:10 PM

Thanks hpwilhem. Dean C, I've actually seen this argument sooo many times ;) But, hey, I think it really helps a lot, and so does my SEO guy :) so that's all that matters :)

cscgal 04-30-2005 04:53 AM

Hey there fellas. I just want to give you an update on the DaniWeb mod_rewrite hack - I've updated it to what DaniWeb is currently using, in a whole new tutorial. There is support for multiple pages, Who's Online (no more Unknown locations!), previous / next threads, linear / hybrid / threaded modes, and much more! Enjoy :)

http://www.daniweb.com/tutorials/tutorial22840.html

sv1cec 05-11-2005 11:15 AM

Can someone shed some light for me, as far as what this hack actually does? I checked Daniweb and I can find no such description.

Thanks

cscgal 05-11-2005 12:28 PM

It rewrites the forum URLs so that they are cleaner. For example:

http://www.daniweb.com/techtalkforum...read.php?t=123

is now written as

http://www.daniweb.com/techtalkforums/thread123.html

The advantage of this is much better spiderability by search engines, since it fools the search engines into thinking you have static HTML pages instead of dynamic PHP pages with query strings.

sv1cec 05-11-2005 02:18 PM

Thank you for your quick response.

Rgds


All times are GMT. The time now is 06:52 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.01271 seconds
  • Memory Usage 1,725KB
  • 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
  • (10)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