Module

Developer
Supported

Sitemap Module

ExpressionEngine 3, ExpressionEngine 4, ExpressionEngine 5

Back to this add-on's main page
View Other Add-ons From PutYourLightsOn

     

You must be logged in to post.

Exclude specific entries/urls from sitemap? How?

Support Request

Micky Hulse
Micky Hulse

I am probably missing something really obvious, but is it possible to exclude specific entries?

Some of my entries are used for linking to external sites (like a link roll) and the actual permalink goes nowhere.

It would be really cool to exclude by category. :)

Also, for those wanting an .xml extension, here’s what I use in my .htaccess:

RewriteRule ^sitemap.xml$ /sitemap.php [L]

PutYourLightsOn
# 1
Developer
PutYourLightsOn

it is not possible to exclude specific entries, but you can exclude specific channels. so you could exclude the channel that you use for linking for example.

Micky Hulse
# 2
Micky Hulse

Thanks! I will convert my links on over to a new channel… That works for me.

Have a great day!
Cheers,
Micky