"Parse ONLY" URLs: syntax
« on: September 19, 2017, 08:56:46 AM »
Hi all,

we have a website in 10 languages https:/www.swissinfo.ch, and we would like to have a sitemap pro languages.
So my first idea is to have 10 instances of Unlimited PHP Sitemap Generator.

But I don't want the website to be completly parsed 10 times, so I wanted to use the "Parse ONLY" URLs configuration.

Here is an excerpt of the config:
        <option name="xs_initurl">https://www.swissinfo.ch/eng</option>
        <option name="xs_parse_only">eng eng/</option>

but I end up with other languages in the sitemap.

If I change the config to this:
        <option name="xs_initurl">https://www.swissinfo.ch/eng/</option>
        <option name="xs_parse_only">eng/</option>

 (slash at the end), then I only get 70 urls

What am I missing ?
Do you have any tips to achieve what we want ?

Thanks,

Regards.
Re: "Parse ONLY" URLs: syntax
« Reply #1 on: September 19, 2017, 10:35:24 AM »
Hello,

what is an example URL that is not included in sitemap and how it can be reached starting from homepage with the second configuration option?
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.
Re: "Parse ONLY" URLs: syntax
« Reply #2 on: September 19, 2017, 12:58:24 PM »
Hi,

For example, this url is not included
https://www.swissinfo.ch/eng/in-depth/educating-switzerland

From the homepage you can reach it like this
https://www.swissinfo.ch/eng -> https://www.swissinfo.ch/eng/in-depth (Via Menu)
then it is the second article item on the page

https://www.swissinfo.ch/eng/in-depth is included in the sitemap
Re: "Parse ONLY" URLs: syntax
« Reply #3 on: September 20, 2017, 08:32:13 AM »
Hello,

please let me know your generator URL/login in private message to check 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.
Re: "Parse ONLY" URLs: syntax
« Reply #4 on: September 21, 2017, 05:22:24 AM »
Hello,

if you have Starting URL set to https://www.domain.com/eng/ you don't need to use "Parse only" setting (this setting is relative to starting URL) since only links starting with https://www.domain.com/eng/ will be processed.
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.
Re: "Parse ONLY" URLs: syntax
« Reply #5 on: September 21, 2017, 06:43:21 AM »
Hi,

All our languages are link together (translation of articles) so when I first try what you suggest, the tools ended up parsing the whole site, for generating the english sitemap.
If I want to to that for all languages, I need to parse the whole website 10 times...
This is want I tried the parse only configuration, but it does not seem to work like I thought.

Do you have some hint for what I want to achieve ?

thanks for your time.
Re: "Parse ONLY" URLs: syntax
« Reply #6 on: September 21, 2017, 08:31:06 AM »
Hello,

in case if language versions are located in different folders you can specify https://www.domain.com/eng/ as Staring URL first, create sitemap, then change Starting URL to https://www.domain.com/otherlang/ etc.
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.
Re: "Parse ONLY" URLs: syntax
« Reply #7 on: September 21, 2017, 08:31:51 AM »
Just make sure to include the ending slash character in  Starting URL setting.
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.