Comments (8)
@CSixtyFour so there's no cross posting - getgrav/grav#1827 (comment) - the guys are aware and baffled :)
from grav-plugin-sitemap.
Seems that both work:
http://localhost/sitemap
https://localhost/sitemap
Would it make sense that http version redirects to https when ForceSSL is enabled?
from grav-plugin-sitemap.
@drnasin I had this same issue because I've got SSL offloading and Grav doesn't take this into account. I've raised a PR against Grav which resolved the issue for me getgrav/grav#1827
HTH
from grav-plugin-sitemap.
@CSixtyFour How did yo solve this? On my production server sitemap still generates http instead of https...locally it's ok...weird...
from grav-plugin-sitemap.
@drnasin
For me it wasn't the sitemap itself that was the issue but Grav core uri coming through incorrectly (either http or https://url.com:80) which getgrav/grav#1827 fixed for me. Its just two small code blocks so I've been manually patching after updates until that PR pulls through
from grav-plugin-sitemap.
@CSixtyFour Yeah I saw your pull request. Just what I need. I didn't want to mess with the core files. is there a reason why it's still not released?
from grav-plugin-sitemap.
I have no idea @drnasin maybe it hasn't been tested by the Grav core team yet or maybe there's a better way to achieve the same result. I think there's been about 3 releases since that PR so manual updating is a pain but not really a hassle.
from grav-plugin-sitemap.
This has been fixed, the issue can be closed.
from grav-plugin-sitemap.
Related Issues (20)
- Missing translations in JSON sitemap HOT 2
- Avoid flex objects from indexing
- Children pages under an unpublished blog will show up in sitemap
- Suggestion: location url -> change domain based on language
- attachments HOT 1
- Default Page is HTML not XML HOT 2
- canonical tag for sitemap.xml HOT 4
- ParseError syntax error, unexpected 'int' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) HOT 3
- sitemap-news.xml Page Redirects to 404 HOT 2
- Disable use of Google Fonts HOT 3
- Wrong file name for SitemapEntry.php > Grav\Plugin\Sitemap\SitemapEntry HOT 2
- Invalid root element, missing trailing slash HOT 2
- Alternative replacement for ignore:true, using visible or published HOT 1
- Invalid namespace according to google console HOT 2
- All languages on the same map: by default or not? HOT 7
- Related items not grouped in sitemap HOT 5
- Problem with a multilanguage sitemap HOT 1
- Error with multilingual one-page website HOT 3
- Sitemap blanked out problem HOT 10
- Way to provide an override for sitemap's lastmod HOT 2
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 grav-plugin-sitemap.