|
uCoz Community For Webmasters Site Promotion Duplicate title and meta tags |
Duplicate title and meta tags |
Hello! Im new to ucoz. I want to remove from google webmaster tools and search results the duplicate titles of my webpages. I want some of my pages to have a unique title and noindex meta tag.
I tried the advice from this thread (http://forum.ucoz.com/forum/38-16098-1) but it wont work according to my liking. Im just using publisher module. So I redirect my homepage to publisher so my $URI_ID$ in the home is puMain. When Im on page 2 example.com/?page2 and so on my $URI_ID$ is also puMain. In this website http://www.affordablecebu.com/ each page has a unique titles. Homepage: Classified Ads - AffordableCebu Free Classified Ads - Page 1 Page 2 title (http://www.affordablecebu.com/?page2): Classified Ads - AffordableCebu Free Classified Ads - Page 2 What are conditional tags used for that particular example or what are the exact code used and where I can add those codes? Is it on the Design customization-->publisher main page? Also I don't want example.com/?page2 and so on to be appeared on search results and so I'd like to add a meta tag like this: <meta name="robots" content="noindex,follow,noodp,noydir"/>. I know it's already disallowed on the robots.txt but robots.txt only disallowed and not removing them from search results. Any help is highly appreciated! |
Jemi, if you want to add 'Page N' to the title, you can use the following code:
Code <?ifnot($CURRENT_PAGE$='1')?> - Page <?substr($CURRENT_PAGE$, 28, strpos(substr($CURRENT_PAGE$, 28), '>')-6)?><?endif?> It can be added to meta description as well. I'm not active on the forum anymore. Please contact other forum staff.
|
| |||
| |||