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

Not able to load the sitemap into the AWS root #39

Closed
Eventect opened this issue Jul 31, 2011 · 2 comments
Closed

Not able to load the sitemap into the AWS root #39

Eventect opened this issue Jul 31, 2011 · 2 comments

Comments

@Eventect
Copy link

Hi all,

I would like to upload the sitemap_index and the sitemap into the root of the AWS bucket (as opposed to a subdirectory -- see the wiki example).

I tried to set the sitemaps_path to "" or "/" but in the first case a subdirectory named "." is created on S3, in the second case a directory without name is created.

Is there a way I can use to save the files to the root directory of the bucket?

Thanks in advance.

Paul

@kjvarga
Copy link
Owner

kjvarga commented Aug 3, 2011

Hi @Eventect I've fixed this issue and released v2.0.1.pre2.

Can you try that out and let me know how you go?

You can completely remove the SitemapGenerator::Sitemap.sitemaps_path line from you configuration, or you can set it to nil or ./ and it should work correctly (i.e. upload to the root of the bucket). Note that you cannot set it to / because sitemaps_path should be a relative path.

Cheers,

@Eventect
Copy link
Author

Eventect commented Aug 4, 2011

Working perfectly now, thanks!

@Eventect Eventect closed this as completed Aug 4, 2011
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