statamic / seo-pro

An all-in-one site reporting, metadata wrangling, Open Graph managing, Twitter card making, sitemap generating, turn-key addon for Statamic.
https://statamic.com/addons/statamic/seo-pro
54 stars 36 forks source link

Exclude site from report only #213

Open stuartcusackie opened 2 years ago

stuartcusackie commented 2 years ago

I have an unusual localised site set up - It's for the Irish language (Gaeilge - ga). Only about half of the content on the /ga/ site is translated. It's a 50/50 mix of English and Irish.

At the moment generating a report throws up 200 warnings for articles with duplicate titles. These articles will never be fully translated but they still need to exist as separate entries under the /ga/ site. It could be bad practice having two pages with identical titles, but I'm hoping Google will be clever enough to use the site locale tag to show appropriate search results.

Anyway, I would like to be able to hide this locale from reports, or perhaps a report should only be generated against one locale at a time? I still want to render the meta tags, and keep the page listed in the sitemap, but that doesn't seem possible at the moment.

Thanks.

jesseleite commented 2 years ago

Or maybe they should just be validated as unique within each site, not comparing titles to titles from other sites 🤔

stuartcusackie commented 2 years ago

@jesseleite That would work for me and I can't see any negatives to it. I do believe the search engines won't mind duplicate titles if they know they are for different locales, but then I'm not expert on that.