Adding Code to Sitemap+


(Bill Hall) #1

Does anyone know if its possible to add static code to a sitemap using Sitemap+? Need to tell search engines not to index a specific directory using:

User-agent: *
Disallow: /Directory/

Thanks!


(Isaiah Carew) #2

Unfortunately, there’s no way to do this currently short of editing the file manually after it has been published.

Isaiah


(Bill Hall) #3

Hey Isaiah- Thanks for the attention. Sounds good. Think what I’ll do is make the necessary changes to the robots.txt file and save it back to the server. Then, within Sitemap+ I’ll turn off update robots file since it only contains a pointer to the sitemap.xml file anyway.

Thx!


(Isaiah Carew) #4

that sounds like a good plan. :+1: