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)

xStylezx 04-02-2006 09:42 PM

Yes,but wouldnt that also disable .html for the links to the actual threads?I was looking for a way to keep the .html in the thread links but have the .html removed from the forum links,if i wasnt really confusing.haha

xStylezx 04-02-2006 10:15 PM

I just visited the http://www.techhelpforum.com/
and noticed that on forumhome all links to the forums are without a trailing slash,such as

Code:

http://www.techhelpforum.com/f-site-rules-17.html
but mine have a trailing slash on the end,such as

Code:

http://www.somesite.com/f-main-forum-2.html/
Why arent mine formatted like that?Ive updated to the RC2 and its the same behavior.I would either like to get rid of the trailing slash or get rid of the .html and leave the slash.Thanks for any help and also great mod

Immortal 04-02-2006 10:22 PM

Mine are:
http://www.techhelpforum.com/f-site-rules-17.html/

The trailing slash is needed and cannot be removed.

hbalagh1 04-02-2006 10:31 PM

i instaleld and thought everything was working good, till i had a user tell me the last post links were not going to the correct post :(

Bhuwan 04-02-2006 10:33 PM

Quote:

Originally Posted by hbalagh1
i instaleld and thought everything was working good, till i had a user tell me the last post links were not going to the correct post :(

Pls provide more info :)

hbalagh1 04-02-2006 10:36 PM

well i have disabled it will reload it when traffic is slow on my forum so i can tell you

xStylezx 04-02-2006 10:45 PM

Quote:

Originally Posted by Immortal
Mine are:
http://www.techhelpforum.com/f-site-rules-17.html/

The trailing slash is needed and cannot be removed.

Hmmm,and google has no problem with a .html and a slash following it?Just seems a bit messy looking and made me worry when i seen that.

Immortal 04-02-2006 10:47 PM

Why would they? .html is considered static content...the / is just a must, and will/cannot be changed.

Bhuwan 04-02-2006 10:53 PM

Quote:

Originally Posted by xStylezx
Hmmm,and google has no problem with a .html and a slash following it?Just seems a bit messy looking and made me worry when i seen that.

Here's teh logic behind the "/":
http://www.techhelpforum.com/f-windows-9598me-12.html/

Right below where it says: "Threads in Forum : Windows 95/98/ME"
you see several links... (thread, thread starter, Rating, Last Post, Replies, Views).......

In order for these links to work properly, the "/" must be located after the forum details..

Hope this helps...

xStylezx 04-02-2006 10:54 PM

Well when you check a link to a thread the .html isnt there,but its there when you check a link to an actual forum,ive just never seen it done like that i guess and i hope we can eventually customize it or hack around it somehow,such as getting rid of the .html and leaving the trailing slash,that i would be ok with,and is i believe default of vbseo rewriting.

Bhuwan 04-02-2006 11:00 PM

Quote:

Originally Posted by xStylezx
Well when you check a link to a thread the .html isnt there,but its there when you check a link to an actual forum,ive just never seen it done like that i guess and i hope we can eventually customize it or hack around it somehow,such as getting rid of the .html and leaving the trailing slash,that i would be ok with,and is i believe default of vbseo rewriting.

buddy, check out the options
vBulletin admincp -> vBulletin Options-> vRewrite options
you have the ability to remove the .html !!:)

xStylezx 04-02-2006 11:05 PM

Yes,but as i mentioned before that also removes it from the thread links.I just want it removed from the forum links themselves.I like the threads having the static links,but would prefer my forum links to have a directory look without an extension.Or the extension of .html would be fine without the trailing slash.Since we cant get rid of the slash though,id like to get rid of the .html without losing the one in the thread links.Hope ive been a bit clearer:)

DementedMindz 04-02-2006 11:24 PM

Quote:

Originally Posted by xStylezx
Yes,but as i mentioned before that also removes it from the thread links.I just want it removed from the forum links themselves.I like the threads having the static links,but would prefer my forum links to have a directory look without an extension.Or the extension of .html would be fine without the trailing slash.Since we cant get rid of the slash though,id like to get rid of the .html without losing the one in the thread links.Hope ive been a bit clearer:)

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:

phkk 04-02-2006 11:38 PM

I need some advise for ISS server.I need some advise for ISS server.I need some advise for ISS server.I need some advise for ISS server.I need some advise for ISS server.I need some advise for ISS server.I need some advise for ISS server.I need some advise for ISS server.I need some advise for ISS server.I need some advise for ISS server.I need some advise for ISS server.I need some advise for ISS server.

THANKS

jj 04-02-2006 11:55 PM

Quote:

Originally Posted by phkk
I need some advise for ISS server.I need some advise for ISS server.I need some advise for ISS server.I need some advise for ISS server.I need some advise for ISS server.I need some advise for ISS server.I need some advise for ISS server.I need some advise for ISS server.I need some advise for ISS server.I need some advise for ISS server.I need some advise for ISS server.I need some advise for ISS server.


THANKS

You mean IIS Server? From M$? Forget it :) There's no .htaccess feature, which is needed by this one...

jdingman 04-03-2006 12:02 AM

So does anyone know why I'm getting this database error? I disable vRewrite and it works fine, enable it and my site breaks for 'lastpost' button.

[quote]Database error in vBulletin 3.5.4:

Invalid SQL:

SELECT postid AS postid, post.dateline, t.title as threadtitle, f.title as forumtitle, f.forumid as forumid
FROM post AS vb_post JOIN vb_thread AS t ON(t.threadid=post.threadid) JOIN vb_forum as f ON(f.forumid=t.forumid)
WHERE post.threadid = 166 AND post.visible = 1 AND
postid = (
SELECT MAX(t2.postid) AS postid
e FROM vb_post AS t2
WHERE t2.threadid = 166 AND t2.visible = 1
)
LIMIT 1;

MySQL Error : Table 'forums_vb.post' doesn't exist
Error Number : 1146
Date : Sunday, April 2nd 2006 @ 06:00:33 PM
Script : http://forums.site.net/introductions...-166-last.html
Referrer : http://forums.site.net/
IP Address : X.X.X.X
Username : Jonathan
Classname : vB_Database[/quot]

I'm getting the same error when using the "NEW" post link.

Bhuwan 04-03-2006 12:09 AM

[quote=jdingman]So does anyone know why I'm getting this database error? I disable vRewrite and it works fine, enable it and my site breaks for 'lastpost' button.

Quote:

Database error in vBulletin 3.5.4:

Invalid SQL:

SELECT postid AS postid, post.dateline, t.title as threadtitle, f.title as forumtitle, f.forumid as forumid
FROM post AS vb_post JOIN vb_thread AS t ON(t.threadid=post.threadid) JOIN vb_forum as f ON(f.forumid=t.forumid)
WHERE post.threadid = 166 AND post.visible = 1 AND
postid = (
SELECT MAX(t2.postid) AS postid
e FROM vb_post AS t2
WHERE t2.threadid = 166 AND t2.visible = 1
 )
LIMIT 1;

MySQL Error : Table 'forums_vb.post' doesn't exist
Error Number : 1146
Date : Sunday, April 2nd 2006 @ 06:00:33 PM
Script : http://forums.site.net/introductions...-166-last.html
Referrer : http://forums.site.net/
IP Address : X.X.X.X
Username : Jonathan
Classname : vB_Database[/quot]

I'm getting the same error when using the "NEW" post link.


Are you naming your tables with a prefix?

Bhuwan 04-03-2006 12:09 AM

[quote=jdingman]So does anyone know why I'm getting this database error? I disable vRewrite and it works fine, enable it and my site breaks for 'lastpost' button.

Quote:

Database error in vBulletin 3.5.4:

Invalid SQL:

SELECT postid AS postid, post.dateline, t.title as threadtitle, f.title as forumtitle, f.forumid as forumid
FROM post AS vb_post JOIN vb_thread AS t ON(t.threadid=post.threadid) JOIN vb_forum as f ON(f.forumid=t.forumid)
WHERE post.threadid = 166 AND post.visible = 1 AND
postid = (
SELECT MAX(t2.postid) AS postid
e FROM vb_post AS t2
WHERE t2.threadid = 166 AND t2.visible = 1
 )
LIMIT 1;

MySQL Error : Table 'forums_vb.post' doesn't exist
Error Number : 1146
Date : Sunday, April 2nd 2006 @ 06:00:33 PM
Script : http://forums.site.net/introductions...-166-last.html
Referrer : http://forums.site.net/
IP Address : X.X.X.X
Username : Jonathan
Classname : vB_Database[/quot]

I'm getting the same error when using the "NEW" post link.
I see the problem. ignore my last post.

jdingman 04-03-2006 12:12 AM

Is it a problem on my end or in the plugin?

Bhuwan 04-03-2006 12:14 AM

Quote:

Originally Posted by jdingman
Is it a problem on my end or in the plugin?

Give me two minutes, i'm posting the fix as we speak
Error is on my part :)

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

moftary 04-03-2006 01:19 AM

Quote:

Originally Posted by Bhuwan
1) example on 302 (too lazy to google)
2) difference between 301 vs 302
3) why isnt what is iad duplicate
4) example of duplicate

thx for your help!( I am not a SEO expert )

1) too lazy to answer :p
2) 301 is "moved permanently" and 302 is "moved temporarily"
3) Duplication penalties occure when the very same page appears for more than one URL that is linked.
4) http://www.techhelpforum.com/windows...dows-3059.html and http://www.techhelpforum.com/windows...bluh-3059.html

Bhuwan 04-03-2006 01:20 AM

Quote:

Originally Posted by xStylezx
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

Here's the best I can do for 1.5

/f-FORUM-NAME-HERE-ID{EXTENSION HERE}

The end-user can choose {EXTENSION HERE} to be anything they want (.html, .htm, blank, etc.)

The 'id' and 'f' are req'd and can't be changed for 1.5 (too much work involved).

Furthermore, vRewrite displays data based on the ID - once I figure out how to omit the ID without any problems, I will certainly add this as a feature (2.0).

Hope this is a good enough comprimise...

Bhuwan 04-03-2006 01:20 AM

Quote:

Originally Posted by moftary
1) too lazy to answer :p
2) 301 is "moved permanently" and 302 is "moved temporarily"
3) Duplication penalties occure when the very same page appears for more than one URL that is linked.
4) http://www.techhelpforum.com/windows...dows-3059.html and http://www.techhelpforum.com/windows...bluh-3059.html

thx!

xStylezx 04-03-2006 01:22 AM

Quote:

Originally Posted by Bhuwan
Here's the best I can do for 1.5

/f-FORUM-NAME-HERE-ID{EXTENSION HERE}

The end-user can choose {EXTENSION HERE} to be anything they want (.html, .htm, blank, etc.)

The 'id' and 'f' are req'd and can't be changed for 1.5 (too much work involved).

Furthermore, vRewrite displays data based on the ID - once I figure out how to omit the ID without any problems, I will certainly add this as a feature (2.0).

Hope this is a good enough comprimise...

Sounds good,as long as you can get rid of the trailing slash after the extension,and that is exactly what im looking for if that can be done

Immortal 04-03-2006 01:24 AM

Quote:

Originally Posted by Bhuwan
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)


Updated ZIP to reflect those changes. :)

Immortal 04-03-2006 01:24 AM

Quote:

Originally Posted by xStylezx
Sounds good,as long as you can get rid of the trailing slash after the extension

Not possible ;)

Bhuwan 04-03-2006 01:28 AM

Quote:

Originally Posted by Immortal
Not possible ;)

Tyler is right, i forgot to add the trailing slash in my exammple...sorry...it has to stay, go back a few pots to see why ( I posted my reasoning)

moftary 04-03-2006 01:30 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?

Exactly. I would also appreciate a .htaccess update from DC-SEO to vRewrite.
I have some ideas for the authors about adding more SEO power to the mod..

1) Generates structured archives based on date/forum; i.e, forum -> years 1,2,.. -> months 1,2,3,..,12 -> days 1,2,3,...,30-31.

2) Place a link on each forum pointing to its archive (automatical link from /forum_name/ to /archives/archived_forum.html)

3) Place a link back from each archive thread posting to the original thread (/forum_name/thread.html).

xStylezx 04-03-2006 01:33 AM

Hmmmm,ok.So if i use this hack now and then you rewrite this later on to where what i want is possible(more customization),will you also redirect any of the changed urls so there wont be any penalties?I still want to use the hack,but later when it became possible id like to change the urls to what im describing and wouldnt want to be penalized or anything.

Bhuwan 04-03-2006 01:59 AM

Quote:

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

Derek

How is it working out?


All times are GMT. The time now is 04:53 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.02839 seconds
  • Memory Usage 1,867KB
  • 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
  • (8)bbcode_code_printable
  • (23)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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