Subdreamer.org
 
Old 05-12-2009, 11:27 AM   #1
amasilviama
Member
 
Join Date: Jan 2008
Posts: 39
Default Tags indexed in google as they are

Hi,

I would like to find out how can i index in google the article tags and the tags from the tag cloud i use so that the exact name of the tag would appear and not my site's name ?

I have this in google :
Mydomain
http://mydomain.com/...../mobile+phone

I want to have in google
Mobile phone
http://mydomain.com/...../mobile+phone

Thank you
amasilviama is offline   Reply With Quote
Old 05-12-2009, 11:39 AM   #2
thomas
Senior Member
 
thomas's Avatar
 
Join Date: Aug 2005
Location: Melbourne, Australia
Posts: 1,637
Default

Are you using my tag cloud plugin with the google sitemap generator plugin?
thomas is offline   Reply With Quote
Old 05-12-2009, 11:44 AM   #3
amasilviama
Member
 
Join Date: Jan 2008
Posts: 39
Default Hi, yes, your tag cloud i'm using

Hi,

Yes, i'm using your tag cloud together with article search engine, but without google sitemap generator, because i don't have it. Google indexes my tags with my site's name and i don't want that.
I would like to have indexed exactly the tag.

Job
http://www.mydomain.ro/home/p364_act...g/p365_tag/job

Now, on google, i have

Mydomain
http://www.mydomain.ro/home/p364_act...g/p365_tag/job

Thank you very much for your interest in helping me!
amasilviama is offline   Reply With Quote
Old 05-12-2009, 11:49 AM   #4
amasilviama
Member
 
Join Date: Jan 2008
Posts: 39
Default Can it be because of Site Title Settings in my admin ?

I found out that the exact way my tags are indexed, my website's name to be precise, is found in Site Title Settings, from where you set :
"Name your website:
Combining Title Tag with Category Name
By selecting this option the name of the displayed Category will be added to your website's title. Yes No
Title - Category Order
Display combination of site- and category title
Title - Category Separator
Separator text between site- and category title. Default: ` - `
If no separator is specified (i.e. it is left empty), the default is being used."

Can this be the source of my problem ? If i delete my website's name from here, will the tags be indexed as they are ?
amasilviama is offline   Reply With Quote
Old 05-12-2009, 12:32 PM   #5
thomas
Senior Member
 
thomas's Avatar
 
Join Date: Aug 2005
Location: Melbourne, Australia
Posts: 1,637
Default

Quote:
Originally Posted by amasilviama View Post
I found out that the exact way my tags are indexed, my website's name to be precise, is found in Site Title Settings, from where you set :
"Name your website:
Combining Title Tag with Category Name
By selecting this option the name of the displayed Category will be added to your website's title. Yes No
Title - Category Order
Display combination of site- and category title
Title - Category Separator
Separator text between site- and category title. Default: ` - `
If no separator is specified (i.e. it is left empty), the default is being used."

Can this be the source of my problem ? If i delete my website's name from here, will the tags be indexed as they are ?
Nope as the article and tag are at the end of the title, this would require SD core modification.
thomas is offline   Reply With Quote
Old 05-12-2009, 12:38 PM   #6
amasilviama
Member
 
Join Date: Jan 2008
Posts: 39
Default Too bad for SEO

I thank you for your answer, you are a nice man. But, it's ashame because it would have helped a lot in google results. I'm not an expert buy i think, from my example, when somebody would search on google "job" my site or anybody's site would appear in results. But, when somebody searches for "job" tag, i have my websites name .

Thank you Thomas for all your help!
amasilviama is offline   Reply With Quote
Old 05-12-2009, 12:43 PM   #7
amasilviama
Member
 
Join Date: Jan 2008
Posts: 39
Default I don't know how to modify your plugin

I'm sorry i don't have programming skills, because i think that it would be useful to use the indexing system from p2_news, a little bit modified, of course.
What i mean is the part where the title appearing in google results is the same as the url.
This principle would be ok on article's tags, in order to appear in your left corner of your browser when clicked.(the same way i have now, when writing this : Tags indexed in google as they are - Subdreamer.org - Mozilla Firefox"
amasilviama is offline   Reply With Quote
Old 05-12-2009, 01:00 PM   #8
thomas
Senior Member
 
thomas's Avatar
 
Join Date: Aug 2005
Location: Melbourne, Australia
Posts: 1,637
Default

It is not the p2_news plugin that needs modification - it is the core SD system the file that would need modification is index.php
thomas is offline   Reply With Quote
Old 05-12-2009, 01:11 PM   #9
amasilviama
Member
 
Join Date: Jan 2008
Posts: 39
Default I'm sorry i don't know the exact changes

I'm sorry i can't make any changes because i don't know programming. Thank you very, very, very much for taking your time to answer me.
You're too kind!
I guess that this would need modification :
"// ####################### ALTER TITLE AND META SETTINGS #######################


if(!empty($design['appendkeywords']))
{
if(!empty($design['metakeywords']))
{
$mainsettings['metakeywords'] .= (strlen($mainsettings['metakeywords']) ? ',' : '') . $design['metakeywords'];
}
if(!empty($design['metadescription']))
{
$mainsettings['metadescription'] .= (strlen($mainsettings['metadescription']) ? ',' : '') . $design['metadescription'];
}
}
else
{
if(isset($design['metakeywords']) && strlen($design['metakeywords']))
{
$mainsettings['metakeywords'] = $design['metakeywords'];
}
if(isset($design['metadescription']) && strlen($design['metadescription']))
{
$mainsettings['metadescription'] = $design['metadescription'];
}
}
$mainsettings['metakeywords'] = str_replace(', ', ',', $mainsettings['metakeywords']);

if(isset($_GET['p2_articleid']) && ctype_digit((string)$_GET['p2_articleid']))
{
if($article = $DB->query_first("SELECT article, title, metakeywords, metadescription FROM {p2_news} WHERE articleid = %d", $_GET['p2_articleid']))
{
$mainsettings['websitetitle'] .= (strlen($article['title']) ? $mainsettings['title_separator'] . $article['title'] : '');
$mainsettings['metakeywords'] .= (strlen($mainsettings['metakeywords']) ? ', ' : '') . $article['metakeywords'];

$prefix = (strlen($mainsettings['metadescription']) ? ', ' : '');
if(strlen(trim($article['metadescription'])) > 0)
{
$mainsettings['metadescription'] .= $prefix . $article['metadescription'];
}
else
{
$article['article'] = preg_replace(array('#&nbsp;#', '#<br />#','#</div>#'), array(' ', ' ', ' '), $article['article']);
$mainsettings['metadescription'] .= $prefix .
implode(' ', array_slice(array_filter(explode(' ', strip_tags(html_entity_decode($article['article'])))), 0, 15)) . '...';
}
unset($article);
}
}
$mainsettings['metadescription'] = str_replace('"',"'", $mainsettings['metadescription']);
$mainsettings['metakeywords'] = str_replace('"',"'", $mainsettings['metakeywords']);

"
but i don't know what to change and with what
amasilviama is offline   Reply With Quote
Old 05-13-2009, 12:44 PM   #10
amasilviama
Member
 
Join Date: Jan 2008
Posts: 39
Default Can someone help me ?

Hi,

I need somebody to show me what to modify in index.php in order to get the metakeywords indexed in google as they are, the same way articles with seo are indexed.

Thank you!
amasilviama is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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 07:00 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.