vBulletin SEO Forums

SEO

vBulletin Search Engine Optimization

Buy vBSEO Now! HACKER SAFE certified sites prevent over 99.9% of hacker crime.
ne nw
vBSEO Total Support Team Launches DeskPro New vBSEO Discount Level for Network Builders vBSEO 3.2.0 GOLD Has Landed Success with vBSEO = 600ore Web Visitors + $1400 in a Day! Crawlability Inc. Files for SEO Technology Patent
se sw

GARS TOC page titles

This is a discussion on GARS TOC page titles within the Troubleshooting forums, part of the vBSEO SEO Plugin category; Hi vb seo team..first question i am using GARS and gars's T.O.C (table of contents) extension for some categories at ...

Go Back   vBulletin SEO Forums > vBSEO SEO Plugin > Troubleshooting

Enhancing 80 million pages.

Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read

Reply

 

LinkBack Thread Tools
  #1  
Old 10-28-2008, 09:12 AM
Member
 
Real Name: tymsh
Join Date: Sep 2007
Posts: 33
GARS TOC page titles

Hi vb seo team..first question

i am using GARS and gars's T.O.C (table of contents) extension for some categories at my site..

But there's a duplicate page title's problem when i use it...

For example ;

The main thread URL is :

Rusya ile Gürcistan Aras?nda Sava? Ç?kt? ! - BG Portal | Bilgi-E?lence

And there is GARS TOC page's URL's :

Rusya ile Gürcistan Aras?nda Sava? Ç?kt? ! - BG Portal | Bilgi-E?lence

Rusya ile Gürcistan Aras?nda Sava? Ç?kt? ! - BG Portal | Bilgi-E?lence

this all the url's pointing the same thread title...

So ..at google webmaster tools , it causes duplicate title problem...

Question ;

is it possible to rewrite this "gars2.html" "gars3.html" urls, which page titles and meta descripton , not the same original thread..Just the named as you see,as i defined ?

thanks..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #2  
Old 10-28-2008, 01:48 PM
briansol's Avatar
Senior Member
vBSEO Pre-Release TeamDesign for SEOBig Board Administrator
 
Real Name: Brian
Join Date: Apr 2006
Location: Central CT, USA
Posts: 5,780
i would change 2 things.

First,
convert

to



This keeps your hierarchy correct with the root article acting as "index.html" (but, not displaying at the end).
Then, the pages after it are 2.html and 3.html instead of un-nesting from the heirarchy.


Finally, I would add the page into the Title itself via a template edit and remove the board name/description.


<title> Rusya ile Gürcistan Arasında Savaş Çıktı ! - BG Portal | Bilgi-Eğlence</title>

becomes

<title> Rusya ile Gürcistan Arasında Savaş Çıktı</title>

and your pages become

<title> Rusya ile Gürcistan Arasında Savaş Çıktı - Page X</title>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #3  
Old 10-28-2008, 03:59 PM
Member
 
Real Name: tymsh
Join Date: Sep 2007
Posts: 33
Thanks briansol...if i wrong,correct me please...

First ;

i am using auto VBSEO settings for my multipaged GARS articles...At vbseo panel this value defined as ;

Quote:
[forum_title]/[thread_id]-[thread_title]-gars[thread_page].html
Now , you recommended that it's better a custom value for this as ;

Quote:
[forum_title]/[thread_id]-[thread_title]-page[thread_page].html
or

Quote:
[forum_title]/[thread_id]-[thread_title]-[thread_page].html
in your opinion is it more effective ? or i get it wrong..

And second (the main problem )

Quote:
Finally, I would add the page into the Title itself via a template edit and remove the board name/description


Unfortunately, i have no chance to edited this via templates...There is only toc.php file ...
and my php knowledge not very well...

Here's that php file ...i think the solition in this file but i can't do..

PHP Code:
if (!defined('VB_AREA') || !defined('DIR'))
{
 exit();
}
        global 
$threadinfo$post$thread$vbphrase;
        if (
$this->navigation)
        {
         if (
$this->navigation['pagecount'] > 1)
         {
             if (
$settings['allow_title'] && $this->data['custom1']['toc_title'])
             {
              
$fptitle htmlspecialchars_uni($this->data['custom1']['toc_title']);
             }
             else if (
$settings['name'])
             {
              
$fptitle $settings['name'];
             }
             else if (
$thread['title'])
             {
              
$fptitle $thread['title'];
             }
             else
             {
              
$fptitle $vbphrase['GARS_page1'];
             }
          
$threadinfo['threadid'] = intval($threadinfo['threadid']);
          
$this->navigation['pagecount'] = intval($this->navigation['pagecount']);
             
$this->navigation['pages'][0]['text'] = $fptitle;
          
$bits "<tr><td><ul>";
             
$bits.= "<li><div class=\"smallfont\"><a href=\"showthread.php?t=$threadinfo[threadid]#content_start\">";
             
$bits.= $fptitle;
             
$bits.="</a></div></li>";
             for(
$toc_x 1$toc_x $this->navigation['pagecount']; $toc_x++)
             {
                      
$this->navigation['pages'][$toc_x]['text'] = htmlspecialchars_uni(unhtmlspecialchars($this->navigation['pages'][$toc_x]['text']));
                 
$bits .= "<li><div class=\"smallfont\"><a href=\"showthread.php?t=$threadinfo[threadid]&amp;garpg=" . ($toc_x 1). "#content_start\">";
                 
$bits .= $this->navigation['pages'][$toc_x]['text'] ? $this->navigation['pages'][$toc_x]['text'] : construct_phrase($vbphrase['GARS_pagex'],($toc_x 1));
                 
$bits .= "</a></div></li>";
             }
             
$bits .= "</ul></td></tr>";
             
$title $vbphrase['GARS_contents'];
             eval(
'$output.="' fetch_template('GARS_mod_container') . '";');
         }
     }
?> 
i hope , i can tell the problem correctly..my english's not well..Sorry.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #4  
Old 10-28-2008, 04:49 PM
briansol's Avatar
Senior Member
vBSEO Pre-Release TeamDesign for SEOBig Board Administrator
 
Real Name: Brian
Join Date: Apr 2006
Location: Central CT, USA
Posts: 5,780
I would use this style:

Code:
[forum_title]/[thread_id]-[thread_title]/page[thread_page].html
or

Code:
[forum_title]/[thread_id]-[thread_title]/[thread_page].html
depending on if you want the word "page" in there or not.

Now, to be noted, is that this may conflict with your normal pagination or threads, so you very well may be REQUIRED to use a unique term (such as 'gars') in the rewrite.

so,


Code:
 [forum_title]/[thread_id]-[thread_title]/gars[thread_page].html
or another unique keyword instead of gars. (perhaps 'toc' or 'gpg')


For the titles:

I'm not too familiar with Gars, But, i think if you tack on the page if pagecount > 1 to the variable it should work.

find from the above block:
Code:
else
             {
              $fptitle = $vbphrase['GARS_page1'];
             }


add directly after:

Code:
if ($this->navigation['pagecount'] > 1)
{
$fptitle .= " - Page ". $this->navigation['pagecount'];
}

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #5  
Old 10-28-2008, 05:22 PM
Member
 
Real Name: tymsh
Join Date: Sep 2007
Posts: 33
PHP Code:
if ($this->navigation['pagecount'] > 1)
{
$fptitle .= " - Page "$this->navigation['pagecount'];

it doesnt work..

Also yes , as you say, it may create some normal pagination errors for my threads.. i'll look up my vbseo url settings and discover is this causes any problem or not..

exactly i think there is no important difference using it with unique parameter (gars/gpg etc..) or wihtout..

Thanks for all your helps,and suggestions briansol
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #6  
Old 10-28-2008, 05:44 PM
briansol's Avatar
Senior Member
vBSEO Pre-Release TeamDesign for SEOBig Board Administrator
 
Real Name: Brian
Join Date: Apr 2006
Location: Central CT, USA
Posts: 5,780
try just this block without the If condition:

Code:
$fptitle .= " - Page ". $this->navigation['pagecount'];
so you end up with

Code:
else
             {
              $fptitle = $vbphrase['GARS_page1'];
             }
          $fptitle .= " - Page ". $this->navigation['pagecount'];

          $threadinfo['threadid'] = intval($threadinfo['threadid']);
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #7  
Old 10-28-2008, 06:10 PM
Member
 
Real Name: tymsh
Join Date: Sep 2007
Posts: 33
ok.. Here's a example too ..

[Haber] Hüseyin Üzmez tahliye oldu - BG Portal | Bilgi-E?lence

This is the main URL.




as you see, the main URL title and gars2.html title is different in TOC coloumn...

when i clicked gars2.html ;





i just want,the second title on the T.O.C coloumn be the title when clicked..

after i edited the code which you write, the only change is in T.O.C coloumn...it add's "Page 2" at main title as you see in first picture...There's no any effects on titles or etc..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #8  
Old 10-28-2008, 07:25 PM
briansol's Avatar
Senior Member
vBSEO Pre-Release TeamDesign for SEOBig Board Administrator
 
Real Name: Brian
Join Date: Apr 2006
Location: Central CT, USA
Posts: 5,780
hrm, you may have to go over to the GARs forum for help on this one. I don't know enough about it (as i personally don't use it).

I do notice that your URL's are still the old way though. Did you try changing them yet?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #9  
Old 10-30-2008, 05:41 AM
Member
 
Real Name: tymsh
Join Date: Sep 2007
Posts: 33
what kind of change , sorry dont understand ?
i leave settings unchanged.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #10  
Old 11-25-2008, 06:15 PM
Member
 
Real Name: tymsh
Join Date: Sep 2007
Posts: 33
ok i found a strange solution for this,when trying..for googlers i share it ;

at the top of SHOWTHREAD template find ;

Code:
<title>$thread[prefix_plain_html] $thread[title]
after,add ;

Code:
<if condition="$_REQUEST[garpg]>1"> $_REQUEST[garpg]</if>
it works for me..it adds an unique number (gars's multiply page's numbers), for all sections of main article to the page title.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #11  
Old 11-26-2008, 02:21 AM
Shadab's Avatar
Senior Member
 
Real Name: Shadab
Join Date: Oct 2007
Location: Bhopal
Posts: 334
Blog Entries: 12
Send a message via ICQ to Shadab Send a message via MSN to Shadab Send a message via Yahoo to Shadab Send a message via Skype™ to Shadab
PHP Code:
<if condition="$_REQUEST[garpg]>1"$_REQUEST[garpg]</if> 
Is it safe to use GPC variables directly in your vBulletin templates ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #12  
Old 11-26-2008, 07:12 AM
Member
 
Real Name: tymsh
Join Date: Sep 2007
Posts: 33
i dont know anything about this,exactly..
i know that vbulletin do not advice this as you say but unfortunately it's an obligation for me now...

ps: i also use similar code which is oleg advice for TAG pages.. ($_REQUEST[tag]) search for this at vbseo.com,you will see it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #13  
Old 11-26-2008, 08:50 AM
Mert Gökçeimam's Avatar
vBSEO.com Webmaster
vBSEO Total Customer SupportvBulletin HackerBig Board Administrator
 
Real Name: Lizard King
Join Date: Oct 2005
Location: Istanbul
Posts: 8,372
Blog Entries: 1
Send a message via MSN to Mert Gökçeimam
Actually you are worrying too much. Duplicate meta tags or duplicate title tags is just a warning and it will not effect your site rankings at all.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #14  
Old 11-26-2008, 05:00 PM
Member
 
Real Name: tymsh
Join Date: Sep 2007
Posts: 33
mert, i dont want to see lots of,thousands of errors at my google webmaster account..actulaly i dont understand vbulletin's strategy for this discussion...yes, i know too it's not so many effective for google search results or seo rankings..There are so so so much criteria to specify a web page's google rank...but we must to accept that, title and description restoration is one of this criterias

i wonder is it so difficult to PUT some unique (or dynamic) words for titles or descriptions ? look at that :

*poll results pages
*social group pages
*album pages
*calendar pages
*thread tag pages

nobody can not say to me that pages are not important...as we all know, these parts of vbulletin is also helpful (important) to create,to desing new VB-based projcts.and as a vb customer i want to rewrited these all pages...it'a so normal situation.

in all pages i wrote above, meta description and keyword sections are SAME..(which we defined via admincp>vboptions ) it's strange for me..i cant understand why is this so :/

you know, in our country (Türkiye), people usually do not use calendar pages or social groups pages rather frequently...briefly, people use vbulletin systems as just "forum" ...

in my opinion VB is not just a forum site.must not just act as a forum..VB is very very improvable and good script..but when we use it fully performaced, we meet lots of SEO problems as title,description...or anything else.

i also use joomla one of my websites,and as somebody know we can define custom META's default EVEN an open source script.

also... time flows,google changing..

my personal thinking is, this year, google more importance valid XHTML and titles relevancy in comparison with old years.

so, certainly the most important thing is quailty for a web site...and sometimes, small things may create the difference i think

maybe you and VBSEO team add some additional features to vbseo plugin for next years about meta's and keywords.

regards.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #15  
Old 11-26-2008, 05:15 PM
briansol's Avatar
Senior Member
vBSEO Pre-Release TeamDesign for SEOBig Board Administrator
 
Real Name: Brian
Join Date: Apr 2006
Location: Central CT, USA
Posts: 5,780
They aren't errors, but rather 'warnings' to let you know it exists. There is no negative effect of it.

That said, I would not use a straight request var like that.
That's a huge cross-site scripting whole you just introduced.

ie, go to yoursite.com/garsforum/garsthread/?garpg=<script>alert("xss!");</script>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
Reply

Tags
gars, problem, toc

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Rewrite for GARS multiple page ReviewsHi Hemanth URL Rewrite Settings 13 11-23-2008 08:45 PM
Page Titles phpbug URL Rewrite Settings 1 02-21-2008 11:33 PM
Unique Page Titles on Multiple Page Threads rmjvol Feature Requests 1 07-05-2006 10:37 PM
Google Page Titles Cky47 General Discussion 7 04-26-2006 04:21 AM


All times are GMT -4. The time now is 03:08 AM.


Powered by vBulletin Version 3.8.0 Release Candidate 2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.5 ©2008, Crawlability, Inc.