Domanda

we have the following message in Google WMT and are concerned about a penalty,

"HTML Improvements Duplicate title tags"

Your title provides users and search engines with useful information about your site. Text contained in title tags can appear in search results pages, and relevant, descriptive text is more likely to be clicked on. We recommend reviewing the list and updating the title tags wherever possible.

**Antalya Apartments For Sale**
/antalya_apartment.php
/antalya_apartment.php?bid=2&page=13
/antalya_apartment.php?bid=2&page=15
/antalya_apartment.php?bid=2&page=17
/antalya_apartment.php?bid=2&page=18
/antalya_apartment.php?bid=2&page=230
/antalya_apartment.php?bid=2&page=232
/antalya_apartment.php?bid=2&page=234
/antalya_apartment.php?bid=2&page=235
/antalya_apartment.php?bid=2&page=236
/antalya_apartment.php?bid=2&page=239
/antalya_apartment.php?bid=2&page=241
/antalya_apartment.php?bid=2&page=244
/antalya_apartment.php?bid=2&page=245
/antalya_apartment.php?bid=2&page=249
/antalya_apartment.php?bid=2&page=250
/antalya_apartment.php?bid=2&page=251
/antalya_apartment.php?bid=2&page=254
/antalya_apartment.php?bid=2&page=255
/antalya_apartment.php?bid=2&page=256
/antalya_apartment.php?bid=2&page=257
/antalya_apartment.php?bid=3&page=0
/antalya_apartment.php?bid=3&page=108
/antalya_apartment.php?bid=3&page=111
/antalya_apartment.php?bid=3&page=112
/antalya_apartment.php?bid=3&page=114
/antalya_apartment.php?bid=3&page=133
/antalya_apartment.php?bid=3&page=136
/antalya_apartment.php?bid=3&page=137
/antalya_apartment.php?bid=3&page=140

**Kas Villas For Sale**
/kas_villa.php
/kas_villa.php?bid=7&page=5
/kas_villa.php?page=1

**Turkey Apartments For Sale**
/turkey_apartments.php
/turkey_apartments.php?bid=7

Further we see a solution, to add the rel=canonical tag to the pages, but the page reads the head from the "HttpClass.php" file as below

<? 
class HTML 

{
function headers($Title,$url,$CssFile,$JsFile='',$charset='',$favicon='')
{
?>      
<html>
<head>
<title><?=$Title?></title>
<link href='<?=$CssFile?>' rel='stylesheet' type='text/css'>
<script language='JavaScript' src='<?=$JsFile?>'></script>
<meta http-equiv='Content-Type' content='text/html; charset=<?=$charset?>' >
<link rel="shortcut icon" type="image/x-icon" href="<?=$favicon?>">
</head>
<?
}
}   
?>

How can we get it to pull the correct URL for the page it is on ?

Thanks!!

È stato utile?

Soluzione 2

in your all pages it shows the same title ,

eg:
<title>Antalya Apartments For Sale</title>

/antalya_apartment.php
/antalya_apartment.php?bid=2&page=13
/antalya_apartment.php?bid=2&page=15

one solution would be use some unique title for each page..

you can take full page to a buffer variable and change your title , then print whole page ..

Altri suggerimenti

The post you mentioned talks about duplicate content. You have duplicate titles, a completely different problem.

Canonical links are useful when you have a page that is accesible via the multiple URLs. For example, via an ID (www.website.tld/id/0815/) and a readable slug (www.website.tld/page/super-duper-sample-page/). You can then add a meta tag that tells the search engines which URL is the more important URL, that should be shown in search results.

Your problem is that you have multiple pages, with different content, but identical title. I assume that Antalya Apartments For Sale is the title of your search results. If you just add the page to that title, you should be good to go:

Antalya Apartments For Sale (Page 5 of 260)

This way every page has a unique title and google should be happy.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top