Jump to content

Friendly Urls and loss of site map


Recommended Posts

Hi all.

 

Just started to use Prestashop and added a few products to the site

 

I enabled search friendly urls not expecting it to work because i read something about my 1&1 host

 

I have no problems with the shop except that when friendly urls are working the site map is not

 

click on site map and you get

 

'This XML file does not appear to have any style information associated with it. The document tree is shown below.'

 

Any help on this please

 

 

www.playdium.co.uk

Link to comment
Share on other sites

I just checked your site, it seems working fine now.

I guess have you fixed the problem.

 

Hi, Site map is working as I disabled Friendly Urls. If i enable it then loose site map

 

I have enabled it so that you can see what is going on

 

Thank you

Link to comment
Share on other sites

Sorry, but I don't really understand what you mean.

 

Do you get an error when you generate the sitemap (blank screen?), or does it generate it successfully and shows a confirmation?

 

How big is the sitemap file? Can you open it with a regular text editor?

Link to comment
Share on other sites

  • 1 month later...

Hi,

 

This problem is link to your web hosting. There is a solution. Could you try it and tell me is it works?

 

Try to add this line in "Specific configuration" of "Back Office > Tools > Generators"

 

Options -Multiviews

 

and regenerate your .htaccess.

 

 

Best regards,

 

Don't know about the original poster, but it does NOT fix the same problem I am having.

Link to comment
Share on other sites

  • 5 months later...

Hello, I'm having the same problem. Anyone has a solution to this? I have just opened a webshop and it'd be important that I can make the sitemap and get the sites indexed to Google as soon as possible.

 

I have added the following lines to my regenerated .htaccess file (my host tells this is to enable mod_rewrite-module):

 

 

Options +SymLinksIfOwnerMatch
RewriteEngine On

 

and I have also tried adding:

 

Options -Multiviews

 

When I generate sitemap it gives: "This XML file does not appear to have any style information associated with it. The document tree is shown below."

 

And then Google says: "Empty Sitemap, Your Sitemap does not contain any URLs. Please validate and resubmit your Sitemap."

 

It seems to make a sitemap without the friendly URLs, just like before enabling them, but this one doesn't work.

 

Any help very much appreciated!

Link to comment
Share on other sites

Hi all,

 

This message « When I generate sitemap it gives: "This XML file does not appear to have any style information associated with it. The document tree is shown below." » is normal and it's not a bug.

 

 

There is two different problem with the sitemap. First, the name /sitemap could refert to sitemap.xml (and not the html page) because of Apache. Make sure the line "Options -Multiviews" is present on your .htaccess.

 

Secondly your MUST have the module gsitemap installed and the sitemap generated to use sitemap.xml. By default the sitemap.xml is empty.

 

 

Could you gave me the url of your shops, to see the problem?

Link to comment
Share on other sites

My problem was solved simply by taking the tick away in Google sitemap module: Sitemap also includes CMS pages which are not in a CMS block.

 

Now I get some indexing erros in sitemap when before friendly URLs I had none, but at least everything seems to work in the actual shop.

Link to comment
Share on other sites

×
×
  • Create New...