XML Sitemaps Generator

Author Topic: Link error when using compression  (Read 19921 times)

CallumW

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 13
Link error when using compression
« on: June 22, 2008, 12: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.

CallumW

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 13
Re: Link error when using compression
« Reply #1 on: June 22, 2008, 12: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 ;)

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Link error when using compression
« Reply #2 on: June 22, 2008, 07: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?
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

CallumW

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 13
Re: Link error when using compression
« Reply #3 on: June 22, 2008, 10: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?)

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Link error when using compression
« Reply #4 on: June 23, 2008, 05:52:57 PM »
Ah I see, thank you. We'll look into this :)
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

me6

  • Registered Customer
  • Approved member
  • *
  • Posts: 9
Missing files when using compression
« Reply #5 on: October 11, 2008, 07: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

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Link error when using compression
« Reply #6 on: October 13, 2008, 06: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.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

me6

  • Registered Customer
  • Approved member
  • *
  • Posts: 9
Re: ror.xml.gz error when using compression
« Reply #7 on: October 15, 2008, 06: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 admins 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

  • Registered Customer
  • Approved member
  • *
  • Posts: 9
Re: ror.xml.gz error when using compression
« Reply #8 on: October 15, 2008, 07: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.

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Link error when using compression
« Reply #9 on: October 15, 2008, 02:56:56 PM »
Hello,

looks like your server doesn't support built-in PHP gzip functions, so you should keep your sitemaps uncompressed.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

me6

  • Registered Customer
  • Approved member
  • *
  • Posts: 9
Re: ror.xml.gz error when using compression
« Reply #10 on: October 19, 2008, 04:27:11 AM »
so why it generates /sitemap.xml.gz correctly?

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Link error when using compression
« Reply #11 on: October 19, 2008, 08: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.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

me6

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

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Link error when using compression
« Reply #13 on: November 07, 2008, 12:42:05 PM »
We don't have an exact ETA, but it shouldn't take long.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

 

SMF 2.0.12 | SMF © 2014, Simple Machines
XHTML RSS WAP2