• Welcome to Sitemap Generator Forum.
 

Incorrect URL for stylesheet in sitemap.xml

Started by owen1, August 09, 2010, 02:47:00 AM

Previous topic - Next topic

owen1

I am running 4.0.

I find that the XML sitemap has an invalid stylesheet reference:

<?xml-stylesheet type="text/xsl" href="[ External links are visible to forum administrators only ]./pages/mods/sitemap.xsl"?>

Have I messed up the configuration?

Owen


owen1

#2
The suggestion solution works.

Did I cause this, or is it a defect in the code?

I might add that this changed fixed several faulty URLs, for example in my daily email notification.

Owen

XML-Sitemaps Support

Looks like in some cases the path is not detected corrctly and it can be solved by hardcoding it in template.

owen1

Quote from: admin on August 19, 2010, 09:03:54 AM
Looks like in some cases the path is not detected corrctly and it can be solved by hardcoding it in template.

Ok.

So, in the notification email I receive, the URL for the text sitemap is invalid in a similar way. What has to be hand edited to fix that up?

Owen

XML-Sitemaps Support

Hello,

you can define this option in generator/data/generator.conf file:
<option name="xs_sm_text_url">[ External links are visible to logged in users only ]</option>

owen1

Quote from: admin on August 20, 2010, 10:56:50 AM
Hello,

you can define this option in generator/data/generator.conf file:
<option name="xs_sm_text_url">[ External links are visible to forum administrators only ]</option>

Ok, found that.

What about the URL in the email for "HTML Sitemap", it also has the wrong URL.

Owen


owen1

Quote from: admin on August 21, 2010, 10:08:47 AM
Can you provide a temporary ftp access in private message to check that?

Are you asking me for a password to access my site? I don't think so.

More problems, in the notification email:
"1 broken links found!
View the list: [ External links are visible to forum administrators only ]./index.php?op=l404"

I am hosted on Godaddy using Linux/PHP5. There must be squillions of customers using this environment.

Owen


XML-Sitemaps Support

Quote
Are you asking me for a password to access my site?
Yes, it might help since it works correctly in other testing environments.

owen1

Quote from: admin on August 23, 2010, 01:23:24 PM
Quote
Are you asking me for a password to access my site?
Yes, it might help since it works correctly in other testing environments.

I regret I cannot give you a password to my site.

I will just have to wait until you find the faults by some other means. I note this morning that the 'broken links' URL in the daily email is broken.

Owen