Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
DC SEO vB URL Rewrite Details »»
DC SEO vB URL Rewrite
Version: 1.00, by Dean C Dean C is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Major Additions - Version: 3.5.0 Beta 3 Rating:
Released: 06-28-2005 Last Update: Never Installs: 264
Uses Plugins
Is in Beta Stage  
No support by the author.

[high]Removed until further notice[/high]

[DC Seo vB URL Rewrite]

Information
  • [high]vBulletin Version:[/high] 3.5.x
  • [high]Author:[/high] Dean Clatworthy
  • [high]Copyright:[/high] You may use this modification at your own risk. I cannot and will not be held responsible for any damage you may cause to your forums during installation or thereafter. You may not distribute this modification in whole or parts and anyone found doing so faces risk of prosecution. All my modifications are released at vBulletin.org and anyone found releasing them elsewhere also faces risk of prosecution. You may not translate this modification without my prior permission.
  • [high]Donations:[/high] I release my modifications for free. If you wish to donate please contact me and I will give you my details. All donations are graciously appreciated.
What does this modification do?
This modification will allow you to automatically have more search engine friendly URLs in your vBulletin. A forum which would normally display as forumdisplay?f=1 will now appear as f1-forumtitle.html and the same with threads. Having keywords in your URL can be of an advantage in search-engine ranking.

Requirements:
  • You must have mod_rewrite apache module enabled on your server. Contact your host for more information.
  • This will not work well for non-english boards as it strips most non-alpha numeric characters. E.g. ? would be stripped on french boards etc

Installation

1/

Please read the readme.txt file included in the zip for details on how to install this modification.


Please Click Install!
If you installed this modifcation please click the install button. It'll help you keep up to date with future releases and important bugfixes, security updates.

Show Your Support

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

Comments
  #232  
Old 10-22-2005, 01:55 PM
JTyson JTyson is offline
 
Join Date: Apr 2005
Location: This Thread
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

https://vborg.vbsupport.ru/showpost....&postcount=208

Reply With Quote
  #233  
Old 10-22-2005, 02:30 PM
dn lodge dn lodge is offline
 
Join Date: Oct 2005
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've got a question. Is there anyway to get it to display the url as the following...

forum-4.html for the id = 4 forum
forum-15.html for the id = 15 forum
and so on for all my 44 sections?

I'm doing this because I just switched from phpbb, and the url rewrite changed the link to forum-4.html for my forums, just having the id number vary. And since the PR just updated, now all my vB catagories are PR 0. If I can get it to display as forum-4.html for the id = 4 forum the vb catagories will have the PR of the old phpbb catagory.

contact:
aim: daredevilbp
msn: neomania60@hotmail.com

Site with vB: www.dnlodge.com
Olf phpBB site with the old mod rewrite: www.dnlodge.com/phpbb

-Brandon
Reply With Quote
  #234  
Old 10-22-2005, 03:10 PM
tokenyank tokenyank is offline
 
Join Date: Jul 2005
Location: London
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JTyson
Thank you sir... Installed it, now just to see if it works!
Reply With Quote
  #235  
Old 10-22-2005, 06:54 PM
deathemperor's Avatar
deathemperor deathemperor is offline
 
Join Date: Jul 2003
Location: HOL
Posts: 1,270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dean, how about letting none-English boards have this buy just rewrite the url to forum123.html instead of forum123-forum-name.html ?


this one will be happy too:
Quote:
Originally Posted by dn lodge
I've got a question. Is there anyway to get it to display the url as the following...

forum-4.html for the id = 4 forum
forum-15.html for the id = 15 forum
and so on for all my 44 sections?

I'm doing this because I just switched from phpbb, and the url rewrite changed the link to forum-4.html for my forums, just having the id number vary. And since the PR just updated, now all my vB catagories are PR 0. If I can get it to display as forum-4.html for the id = 4 forum the vb catagories will have the PR of the old phpbb catagory.

contact:
aim: daredevilbp
msn: neomania60@hotmail.com

Site with vB: www.dnlodge.com
Olf phpBB site with the old mod rewrite: www.dnlodge.com/phpbb

-Brandon
dn lodge is offline Report Bad Post Reply With Quote
Reply With Quote
  #236  
Old 10-22-2005, 07:08 PM
dn lodge dn lodge is offline
 
Join Date: Oct 2005
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes I would be happy. hehe. Please PM me if there is any existing solution to this. I can pay anyone who can get this to work, so contact me.
Reply With Quote
  #237  
Old 10-23-2005, 12:52 AM
sportsoutlaw sportsoutlaw is offline
 
Join Date: Nov 2004
Location: Texas
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there an estimated time that this will come out of beta?

I have never used any SEO hacks for my forum, but this one looks like it could be very beneficial.
Reply With Quote
  #238  
Old 10-23-2005, 02:41 AM
99SIVTEC 99SIVTEC is offline
 
Join Date: Nov 2001
Posts: 281
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, but that kind of defeats the purpose of the hack. SOme search engines still weight heavily on keywords in the url.

Quote:
Originally Posted by deathemperor
Dean, how about letting none-English boards have this buy just rewrite the url to forum123.html instead of forum123-forum-name.html ?


this one will be happy too:
Reply With Quote
  #239  
Old 10-23-2005, 10:08 AM
dn lodge dn lodge is offline
 
Join Date: Oct 2005
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No it dosnt. The hack is supposed to change your urls into html files, which is alot easier for search engines to crawl and index. The kewwrod in the HTML file is basicly just a plus, and may help your rankings alittle.

Quote:
Originally Posted by 99SIVTEC
Yeah, but that kind of defeats the purpose of the hack. SOme search engines still weight heavily on keywords in the url.
Reply With Quote
  #240  
Old 10-23-2005, 10:43 AM
dn lodge dn lodge is offline
 
Join Date: Oct 2005
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dean, you may want to put this in the donwload file incase anyone else needs to do what I had to do for any reason.

The following insturctions makes...

http://www.dnlodge.com/f14-get-appraised.html
be displayed as...
http://www.dnlodge.com/forum-14.html

I had to do this because I got vb after the PR yupdate, and I wqanted my catagories to have at least a PR of one, and I didnt want to wait 3 more months, so I changed the code to give me the url my mod_rewrite did in my old phpbb.

Heres how I did it...

Here is the .htaccess that is included in this mod.....
Code:
RewriteEngine On
RewriteRule ^f([0-9]+)-([A-Za-z0-9\-]+)\.html$ forumdisplay.php?f=$1 [L]
RewriteRule ^t([0-9]+)(((-p)([0-9]+))?)([A-Za-z0-9\-]+)\.html$ showthread.php?t=$1&page=$5&pp=10
Here is our first example..... (in .htaccess)

RewriteRule ^f([0-9]+)- ([A-Za-z0-9\-]+)\.html$ forumdisplay.php?f=$1 [L]
..................1....2......3...........4....... .................................................

1. the "f" at #1 creates the f in "f14-get-appraised.html"
2. the "([0-9]+)" created the number id of the forum "f14-get-appraised.html"
3. the "-" creates the dash in the url "f14-get-appraised.html"
4. ([A-Za-z0-9\-]+) creates the name of the forum using the alphabet "f14-get-appraised.html"

To make it display as forum-14.html all I did was edit that line to make it like this...
RewriteRule ^([0-9]+)-([A-Za-z0-9\-]+)\.html$ forumdisplay.php?f=$1 [L]

and then I edited some lines in the XML file to make the forum home display the right url. If you dont do this, you will get a page cannot be found. I dont hvae time to explain what I've done, so if anyone else want to continue for me.... go ahead.

If you want to see the final results in what I did, visit www.dnlodge.com and you can click on one of the forum catagories to see i renamed the URL.

-Brandon
Reply With Quote
  #241  
Old 10-23-2005, 11:05 AM
deathemperor's Avatar
deathemperor deathemperor is offline
 
Join Date: Jul 2003
Location: HOL
Posts: 1,270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dn lodge
Dean, you may want to put this in the donwload file incase anyone else needs to do what I had to do for any reason.

The following insturctions makes...

http://www.dnlodge.com/f14-get-appraised.html
be displayed as...
http://www.dnlodge.com/forum-14.html

I had to do this because I got vb after the PR yupdate, and I wqanted my catagories to have at least a PR of one, and I didnt want to wait 3 more months, so I changed the code to give me the url my mod_rewrite did in my old phpbb.

Heres how I did it...

Here is the .htaccess that is included in this mod.....
Code:
RewriteEngine On
RewriteRule ^f([0-9]+)-([A-Za-z0-9\-]+)\.html$ forumdisplay.php?f=$1 [L]
RewriteRule ^t([0-9]+)(((-p)([0-9]+))?)([A-Za-z0-9\-]+)\.html$ showthread.php?t=$1&page=$5&pp=10
Here is our first example..... (in .htaccess)

RewriteRule ^f([0-9]+)- ([A-Za-z0-9\-]+)\.html$ forumdisplay.php?f=$1 [L]
..................1....2......3...........4....... .................................................

1. the "f" at #1 creates the f in "f14-get-appraised.html"
2. the "([0-9]+)" created the number id of the forum "f14-get-appraised.html"
3. the "-" creates the dash in the url "f14-get-appraised.html"
4. ([A-Za-z0-9\-]+) creates the name of the forum using the alphabet "f14-get-appraised.html"

To make it display as forum-14.html all I did was edit that line to make it like this...
RewriteRule ^([0-9]+)-([A-Za-z0-9\-]+)\.html$ forumdisplay.php?f=$1 [L]

and then I edited some lines in the XML file to make the forum home display the right url. If you dont do this, you will get a page cannot be found. I dont hvae time to explain what I've done, so if anyone else want to continue for me.... go ahead.

If you want to see the final results in what I did, visit www.dnlodge.com and you can click on one of the forum catagories to see i renamed the URL.

-Brandon
would you like to share the xml file of the edited plugin ?

also what about the showthread url if I don't want to display the thread title on url ?

thanks for your help
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 01:16 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.06780 seconds
  • Memory Usage 2,327KB
  • Queries Executed 25 (?)
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
  • (2)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete