Forum
Welcome, Guest
Please Login to access forum.
Exclude images from images site map (1 viewing) 
Go to bottom
TOPIC: Exclude images from images site map
#4292
Roger
Fresh Boarder
Posts: 18
User Offline
Exclude images from images site map Karma: 0  
Hello

I'm using the Event Booking component for different events. Each event shows the main logo of the site, as well as a Facebook, Twitter and Google+ icon. I would like to exclude these from the site map. In the configuration settings under site map settings I entered the following in the exclude filters for images sitemap: img src='/images/logo.png', img src='/media/com_eventbooking/assets/images/socials/facebook.png' unfortunately there is no effect.

Is this the correct location to exclude it or should I do that in the event booking data source?

Thanks
 
Logged Logged  
  The administrator has disabled public write access.
#4293
John Dagelmore
Admin
Posts: 3873
User Online Now
Re:Exclude images from images site map Karma: 84  
Hello Roger,

you can use either the global configuration exclude filters or the single data source exclude filters.

But you need to enter only the name not the full path. For example: facebook.png, logo.png or simply facebook, logo

Cheers,
John
 
Logged Logged  
  The administrator has disabled public write access.
#4295
Roger
Fresh Boarder
Posts: 18
User Offline
Re:Exclude images from images site map Karma: 0  
Hi John

Thank you for the quick answer. This did it. How about auto generated images like thumb images like media/com_eventbooking/images/thumbs/1445170546_nhk.jpg? The name changes all the time, the number is added in front.
Can I somehow exclude an entire directory like images/thumbs?

Thanks

Roger
 
Logged Logged  
  The administrator has disabled public write access.
#4297
John Dagelmore
Admin
Posts: 3873
User Online Now
Re:Exclude images from images site map Karma: 84  
It's the same concept. Each word in the path/subpath will be excluded.
Adding images/thumbs or simply 'thumbs' will exclude every image.

Cheers,

John
 
Logged Logged  
  The administrator has disabled public write access.
Go to top