vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vRewrite - SEOed URLs for vBulletin (https://vborg.vbsupport.ru/showthread.php?t=104484)

jdingman 04-03-2006 12:15 AM

Awesome, thanks bhuwan!!!

Bhuwan 04-03-2006 12:17 AM

Until tyler can update the zip file ....

Here is how to fix the problem..
edit XML file DIRECTLY _OR_ edit the hook titled global_start

Search for:
Code:

FROM post AS " . TABLE_PREFIX . "post JOIN " . TABLE_PREFIX . "thread AS t ON(t.threadid=post.threadid) JOIN " . TABLE_PREFIX . "forum as f ON(f.forumid=t.forumid)



Replace it with
Code:

FROM " . TABLE_PREFIX . "post AS post JOIN " . TABLE_PREFIX . "thread AS t ON(t.threadid=post.threadid) JOIN " . TABLE_PREFIX . "forum as f ON(f.forumid=t.forumid)


jdingman 04-03-2006 12:22 AM

that worked like a charm, thanks again!!

Bhuwan 04-03-2006 12:25 AM

Quote:

Originally Posted by jdingman
that worked like a charm, thanks again!!

Glad it works! Let me know if everything else works good! :)

xStylezx 04-03-2006 12:59 AM

Quote:

Originally Posted by DementedMindz
personally i think if thats what you want to do then this aint for you... why wouldnt you want your linked seoed? thas what gets me :surprised:

you must be completely misunderstanding me because i find the way im speaking of to be more efficient SEO wise as you eliminate those extra letters (.html)from the url.as to my understanding with that forward slash on the end of the .html wouldnt Spiders/Bots just treat the link more of a like a directory/hierarchy type url instead of an actual .html url such as the threads(because the threads dont have the trailing slash).I just think the .html is a waste in the url once you get rid of the "forumdisplay.phpf?f=" and add the forums name in the url,and throw the forward slash behind that,you got a clean perfectly spiderable url.With the trailing forward slash i just am failing to see the need to put .html prior to that.Im not trying to butt heads or anything,just explaining where im coming from.

Take a look at this url from a phpbb board of mine that is pretty SEO friendly.
Code:

http://seorecruit.com/archived-topics-vf16.htm
If you go to the seorecruit.com forum home you will see that all the links to my forums are in a .htm format with no trailing forward slash.Now,i understand if there is a need to have the forward slash,but if so then why not just omit the .html.I know its possible as the new RC2 has the option of getting rid of the .html,but this also eliminates it in the thread urls,where id prefer to have it.

moftary 04-03-2006 01:05 AM

I have to agree with xStylezx. From SEO and WWW standards points of view, links should be /forum_name/ and /forum_name/thread.htm

I would consider this as a "feature request" :)

Bhuwan 04-03-2006 01:13 AM

Quote:

Originally Posted by xStylezx
you must be completely misunderstanding me because i find the way im speaking of to be more efficient SEO wise as you eliminate those extra letters (.html)from the url.as to my understanding with that forward slash on the end of the .html wouldnt Spiders/Bots just treat the link more of a like a directory/hierarchy type url instead of an actual .html url such as the threads(because the threads dont have the trailing slash).I just think the .html is a waste in the url once you get rid of the "forumdisplay.phpf?f=" and add the forums name in the url,and throw the forward slash behind that,you got a clean perfectly spiderable url.With the trailing forward slash i just am failing to see the need to put .html prior to that.Im not trying to butt heads or anything,just explaining where im coming from.

Take a look at this url from a phpbb board of mine that is pretty SEO friendly.
Code:

http://seorecruit.com/archived-topics-vf16.htm
If you go to the seorecruit.com forum home you will see that all the links to my forums are in a .htm format with no trailing forward slash.Now,i understand if there is a need to have the forward slash,but if so then why not just omit the .html.I know its possible as the new RC2 has the option of getting rid of the .html,but this also eliminates it in the thread urls,where id prefer to have it.

So i n short, your looking for the option of having different extensions for each option (showthread, member, forumdispaly, printthread, showpost) as opposed to having a universal option that covers everything?

xStylezx 04-03-2006 01:14 AM

Quote:

Originally Posted by moftary
I have to agree with xStylezx. From SEO and WWW standards points of view, links should be /forum_name/ and /forum_name/thread.htm

I would consider this as a "feature request" :)

awesome,thats exactly what i was talking about :D

xStylezx 04-03-2006 01:16 AM

Quote:

Originally Posted by Bhuwan
So i n short, your looking for the option of having different extensions for each option (showthread, member, forumdispaly, printthread, showpost) as opposed to having a universal option that covers everything?

Well that would work.Im really just looking to make the url like this

/forum-name/

instead of

/f-forum-name.html/

or this way would be acceptable too

/f-forum-name.html

As far as the thread urls,i think they are rewritten perfectly.I would just like to be able to configure how forum urls are rewritten,or in the least if i can figure out how to hack it for what im lookin for

derekivey 04-03-2006 01:17 AM

Thanks Tyler & Bhuwan! I think I'm going to install this on my live site now.

Derek


All times are GMT. The time now is 02:12 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.03144 seconds
  • Memory Usage 1,747KB
  • 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
  • (4)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (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