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/


(Isaiah Carew) #2

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


(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.


(Isaiah Carew) #4

that sounds like a good plan. :+1:

(system) #5

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.