Gallery2 Duplicate title tags and meta descriptions

mserafim

Joined: 2008-09-14
Posts: 4
Posted: Wed, 2010-12-08 01:24

Hello.
We just check our Google Webmaster Tools account and we found ~ 3000 duplicate title tags and other ~ 3000 duplicate meta descriptions.
Example:

v/Cars/Lincoln/2010 Lincoln MKX/2010-Lincoln-MKX-10.jpg.html

/v/Cars/Lincoln/2010 Lincoln MKX/2010-Lincoln-MKX-10.jpg.html?g2_detailMode=1&g2_return=%2Fv%2FCars%2FLincoln%2F2010%2BLincoln%2BMKX%2F2010-Lincoln-MKX-10.jpg.html%3Fg2_wpg2_returnurl%3Dhttp%253A%252F%252Fwww.............

and this is repeating for ~ 3000 times~!!

As i can see the problem comes from the detailMode. IS there any way to disable the detail mode completely ! ?

In case there is't how can i remove the duplicate content via robots.txt ???

Thank you.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2010-12-08 16:51

I believe that's controlled by the EXIF plugin, uninstall the EXIF plugin, Site Admin > Plugins and you should be fine.
____________________________________________
Like Gallery? Like the support? Donate now!

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2010-12-08 16:51

The other option if you think you need the EXIF plugin is to edit the code to make the detail link use the rel="nofollow" tag
____________________________________________
Like Gallery? Like the support? Donate now!

 
mserafim

Joined: 2008-09-14
Posts: 4
Posted: Thu, 2010-12-09 19:58

Thank you very much for the reply nivekiam.
I did uninstalled the EXIF. Now i think will have to wait a coupe of days after google refresh it's data. If is not working will try to do rel="nofollow" the detail link.
Thank you again

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2010-12-09 21:23

If you uninstalled the EXIF plugin, the links for detailed/summary should be gone completely. If not, try clearing Gallery's cache:
FAQ: How can I clear cached data?

If that still doesn't do it post a link to your site. Nevermind, just googled... It's your theme. I'm not familiar with the wordpressembedded theme, try digging around in that theme's settings to see if you can turn those links off.

Looks like that should be a setting under Site Admin > Themes > WordpressEmbedded (tab)
____________________________________________
Like Gallery? Like the support? Donate now!

 
mserafim

Joined: 2008-09-14
Posts: 4
Posted: Thu, 2010-12-09 23:21

Thanks again nivekiam. indeed i use the wordpressembedded theme. I will wait to see what google's do. However, i'm working on the new website, and i will not use that wordpress theme for the next website...
Thanks.

 
mjindustry
mjindustry's picture

Joined: 2011-04-27
Posts: 16
Posted: Fri, 2011-11-04 00:05

I'm having this exact issue. I have deleted EXIF. Still no go. I don't understand how to add the no follow, I mean where exactly would that be added?