Link error when using compression
« on: June 22, 2008, 01:21:42 PM »
Hi
I activated "Compress sitemap using GZip:"

Works fine and when I go to the "View Sitemap" tab all the links work fine.
But ......

On the left "Sitemap details" box there are links for each of the map types and there is an issue.
It should link as follows:
XML sitemap  (domain/sitemap.xml.gz)
In text format  (domain/urllist.txt.gz)
In ROR format  (domain/ror.xml)
HTML sitemap  (domain/sitemap.html

However, it actually creates the following (dead) links:
XML sitemap  (domain/sitemap.xml)
In text format  (domain/urllist.txt.gz)
In ROR format  (domain/ror.xml.gz)
HTML sitemap  (domain/sitemap.html)

Just needs a tweak to get the links to point to the correct Gzip files.
Re: Link error when using compression
« Reply #1 on: June 22, 2008, 01:23:53 PM »
Just spotted that you can hard code this in the "Your Sitemap URL" under the General Settings

But in theory the link on the left should take this and append ".gz" if compression is activated
Apart from which, the ror.xml.gz  is still wrong ;)
Re: Link error when using compression
« Reply #2 on: June 22, 2008, 08:14:24 PM »
Hello,

you should still specify filenames as sitemap.xml and .gz should be appended automatically.
Did you generate sitemap after enabling gzip compression?
Re: Link error when using compression
« Reply #3 on: June 22, 2008, 11:31:48 PM »
Yes the actual files created are correct, but the links in the left navbar are incorrect.
The link should be to sitemap.xml.gz and there is no ror.xml.gz

I'm using the most current version (2.9?)

me6

*
  • *
  • 9
Missing files when using compression
« Reply #5 on: October 11, 2008, 08:27:49 PM »
Similar problem here.
With .gz compression turned on - it does not generate ror.xml.gz
With compression Off - it does generate ror.xml

Also urllist.txt is being created in Data folder only, not in main directory
Re: Link error when using compression
« Reply #6 on: October 13, 2008, 07:29:45 AM »
Hello,

if you enable gzip compression, make sure that you manually create empty ror.xml.gz and sitemap.xml.gz files in domain root first, assign 0666 permissions to them and then regenerate sitemap. urllist.txt is designed to be stored in data/ folder since it's not required to have it in domain root.

me6

*
  • *
  • 9
Re: ror.xml.gz error when using compression
« Reply #7 on: October 15, 2008, 07:55:34 AM »
Thank you Oleg, I added empty file ror.xml.gz (666), so it generates the file but with errors.
You can see it here:
[ External links are visible to forum administrators only ]
Content Encoding Error
The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.
Parsing error, line 1, column 1

And there is no ror file in Data folder, is it normal?

All other .gz files in root directory are fine.

me6

*
  • *
  • 9
Re: ror.xml.gz error when using compression
« Reply #8 on: October 15, 2008, 08:17:18 AM »
And with compression Off, it generates ror.xml correctly.
With Compression On, generates error as per my previous post.
And looking at the files size, the size of good ror.xml and the faulty ror.xml.gz are the same, so it doesn't compress.
Re: Link error when using compression
« Reply #9 on: October 15, 2008, 03:56:56 PM »
Hello,

looks like your server doesn't support built-in PHP gzip functions, so you should keep your sitemaps uncompressed.

me6

*
  • *
  • 9
Re: ror.xml.gz error when using compression
« Reply #10 on: October 19, 2008, 05:27:11 AM »
so why it generates /sitemap.xml.gz correctly?
Re: Link error when using compression
« Reply #11 on: October 19, 2008, 09:20:36 PM »
Actually, ROR sitemap is not gzip compressed as there is no official confirmation that it's supported. We will update the script to create ROR sitemap as "ror.xml" filename even with gzip enabled.
Sorry for confusion.

me6

*
  • *
  • 9
Re: Link error when using compression
« Reply #12 on: November 06, 2008, 10:04:20 PM »
Oleg, when we can expect script update?