Comments (13)
Yeah, it's fixed in develop
, gonna make a release today probably.
from seo-pro.
This issue is most likely caused by a collection without a route.
For each of those collections you don't need URLs for, go into SEO Pro > Section Defaults > Your Collection
then flick the sitemap enabled toggle.
from seo-pro.
Same problem here!
from seo-pro.
Same here. Any update on this?
from seo-pro.
I have also posted this topic on the forum at Statamic.
https://statamic.com/forum/3627-seo-pro-sitemap-xml-has-too-many-homepage-references
I will post back here if there is a response.
from seo-pro.
Are these homepage references just Entries within a Collection that has no route set, maybe?
Lines 59 to 68 in 86a7b21
canonical_url
is populated via:
/**
* Get the full, absolute URL
*
* @return string
*/
public function absoluteUrl()
{
return URL::makeAbsolute(
URL::prependSiteUrl($this->uri(), $this->locale()),
$this->locale()
);
}
where $this->uri()
is null if there's no route set.
from seo-pro.
Thank you @jasonvarga
I can confirm downloading the latest version of SEO Pro solves the issue.
Perfect!
from seo-pro.
There is still a slight issue…
I can't exclude a collection from both a generated sitemap 'and' the SEO Pro reports.
When setting a default for a section, let's call it "My Collection":
SEO Pro > Section Defaults > My Collection
I can't disable a section 'and' exclude it from the sitemap at the same time. This means a Collection Default is either enabled and the sitemap excluded, or disabled with the sitemap enabled.
Both can be on at the same time, but not off.
from seo-pro.
Is anyone else experiencing this… in Section defaults
, not being able exclude a collection from both a generated sitemap 'and' the SEO Pro reports?
from seo-pro.
Are you running 2.10.7 and SEO Pro 1.1? I believe that's fixed now.
from seo-pro.
Just tested this with both of the updates (although SEO Pro was version 1.1.1).
No joy. Can't have both excluded from reports and sitemap :(
from seo-pro.
Just released 1.1.2 which fixes this.
from seo-pro.
That did fix it @jasonvarga.
The sitemap.xml
outputs only pages and collections as specified, and reports are now accurate.
When the Section Default is disabled the sitemap options still show as enabled. Functionally this change works, but could have a slightly improved UX (by disabling sitemap options too).
Great work chaps.
Thanks
from seo-pro.
Related Issues (20)
- I get a "Vite manifest not found" error after installing the addon HOT 1
- What is the latest version that supports Statamic 3? HOT 2
- Wrong display in live preview
- Error ·Closure (Chunk.php:51) HOT 2
- Multisite Sitemap Support in SEO Pro HOT 1
- SEO Report shows duplicate title for pages in Multisite setup
- «Read only» visibility for Seo Pro fieldtype is not working / a.k.a hide Seo Pro fieldtype for editors
- False warning: pages with duplicate titles HOT 8
- Use same value for og:title as <title> tag
- Antlers code working on html output page but not on reports HOT 1
- Collection > Social Image > Custom option missing? HOT 2
- Generating and showing a report leads to error message
- Section Defaults TAXONOMIES not save any data HOT 1
- Some `link`s in seo.html GraphQL response do not respect default site settings
- 404 sitemap.xml HOT 2
- Exception when using {{ seo_pro:meta_data }} tag HOT 4
- issue with multiple collection entries
- Rest API Support
- Description field not coming through for one collection only
- Custom values keep switching back to default localization value
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from seo-pro.