In sitemap include only category urls
« on: September 21, 2019, 09:20:58 PM »
Hi

I have one little problem. How can i include in sitemap only category urls, if my site urls are configured like this:

Category: example.com/4/home.html -> INCLUDE IN SITEMAP
Post: example.com/home/6531/post-1.html -> EXCLUDE FROM SITEMAP

Is it possible somehow include urls with 2 forward slashes, becouse all my categories have 2 forward slashes in url, and exlude urls, if they have 3 forward slashes?

Thanks for help.
Re: In sitemap include only category urls
« Reply #1 on: September 22, 2019, 05:52:25 PM »
Hello,

you can add this in Exclude URLs setting:
Code: [ External links are visible to forum administrators only ]
.*/.*/.+
Re: In sitemap include only category urls
« Reply #2 on: September 22, 2019, 09:08:29 PM »
Hi, thanks for your help, much appreciated.