Yes you can xt include files into the head Waplocus
They should either be plain text files with just the tags/scripts or if they are full html pages only the contents of the <body> </body> is included the rest is ignored
Although you need to watch out for the building tool parser adding back <title> tags etc (if you edit using the building tool ) and the default meta tags from the site settings
Wil It Reflect On All Pages?
Is It Proper To Use Different Social Meta Data On Diff. Pages By Creating A Text File Each 4 De Different Pages And Using the xt:include to import them?...
Yes but watch out for "recursion detected" errors if you are trying to include a html page into the _headtags file ( the _headtags will try to include _headtags into the html page being included ending up in a loop) Waplocus
just be aware that the default meta tags in the site options will still be used as well (if they are set)
And may clash with others added by you
Sir is der anyway i can stop google from crawling my xt pagination e.g SITENAME.xtgem.com/FOLDER?__xt_content_page=2
You need to get a Waplocus
<meta name="robots" content="noindex, nofollow">
into the page
maybe something like this
var $domain=<xt:url type="domain" />
if $__xt_content_page >1 or $domain==XTGEM SITE NAME
print <meta name="robots" content="noindex, nofollow">
print <meta name="robots" content="index, follow" />
it should go in the <head> area
it will still probably take a few month for the results to drop off of google
Wil It Also Affect The Default Page?...
Nope...it only has effect from d second page of the paged contents
Plz i wanted including it into my _headtags, hope it won't affect de initial meta robot of de page nd prevent it from google index or crawling it?... Thanks