Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sitemap compatible with multisite #4

Open
plegall opened this issue Apr 3, 2018 · 3 comments
Open

Make sitemap compatible with multisite #4

plegall opened this issue Apr 3, 2018 · 3 comments

Comments

@plegall
Copy link
Member

plegall commented Apr 3, 2018

Hi @modus75

I wonder how it would be possible to make this plugin compatible with a multiple site install of Piwigo, like we have on Piwigo.com. Writing a sitemap.xml at the root of the Piwigo install obviously is a problem. Writing sitemap.xml outside root is also a problem, because you can't reference URLs outside the subdirectory of the sitemap.xml

The only solution I see would be to have a logical web server alias on sitemap.xml and physical file location would depend on nginx/apache configuration of each site.

@modus75
Copy link
Collaborator

modus75 commented Apr 3, 2018 via email

@plegall
Copy link
Member Author

plegall commented Apr 3, 2018

OK, good idea. For example we could have a $_SERVER['PIWIGO_SITEMAP_LOCATION'] relative to Piwigo installation.

@modus75
Copy link
Collaborator

modus75 commented Apr 3, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants