Hello,
I tried setting up a custom rule for
taxonomy/*
pages as Google indexed my tags via taxonomy/term urls
Yet, I have aliased these to be like
tags/*
Now when I setup for
taxonomy/*
pages to be noindexed, they were applied for tags as well.
Would love such a feature in nodewords.
Comments
Comment #1
avpadernoThe development snapshot already checks the path aliases, and compares the aliases with the other pages paths.
If you set meta tags for a path like tags/* and the alias of the page is tags/test (in example), then those meta tags are used.
Comment #2
avpadernoWhen you use the alias of a page to reach that page, Drupal passes in
$_GET['q']the effective path for the page, not the alias. As consequence, if you set meta tags for a path and for that path alias, the later meta tags will not be applied.When defining meta tags for a path alias, you need to assign to it a lower weight than the rule for the normal path, so that the rule for the alias is interpreted first.
Comment #3
giorgio79 commentedThanks Kiam, sounds great. will be checking it soon
Comment #4
avpadernoA note on why the path aliases are checked for last; the code checks the path aliases for last to avoid a not necessary database query.