cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple sitemap.xml configure webserver (litespeed)

Multiple sitemap.xml configure webserver (litespeed)

Hello everybody

 

I have a multi-language magento store.

Now i created a sitemap for every language. I found a description which shows this configuration for an Nginx webserver:

location /sitemap.xml {
    alias /data/web/magento2/sitemaps/sitemap_$storecode.xml;
}

But I got a litespeed webserver on my (shared)hosting. So how can i configure it there? I tried it using some rewrite rules in .htaccess but it didn't work.

 

Any ideas?

 

Regards

Patrick

2 REPLIES 2

Re: Multiple sitemap.xml configure webserver (litespeed)

Hello @patrick_tschumi 

Why don't you use Free extension from mageplaza which supports multi-language too.

https://www.mageplaza.com/magento-2-google-sitemap/

Was my answer helpful? You can accept it as a solution.
175+ Professional Extensions for M1 & M2
Need a developer?Just visit Contact Us Now

Re: Multiple sitemap.xml configure webserver (litespeed)

Hi,

 

Follow this article https://blog.litespeedtech.com/2018/08/28/cache-crawler-for-prestashop-and-magento-2/

I hope you found this helpful Smiley Happy