Hey guys, I noticed some time ago that MODx put keywords in the following syntax
<meta http-equiv="keywords" content="blah, blah1, blah2">
Although it’s valid I believe its more standard to use the following syntax
<META name="keywords" content="blah, blah1, blah2">
Is there anyway to change it? I’m trying to avoid the following"
4.1 Validate that http-equiv Keywords tag is NOT used
In an effort to trick public search engines people have tried to stuff pages with keywords repeatedly trick the search engine into giving a page a false high relevance ranking. This type of "Spam" could cause your page NOT to be indexed in a public search engine. A common searchability error is to use the http-equiv="keywords" to perform keyword stuffing, this check validates that this practice is not used.
-
MODX Staff
- 12,272 Posts
Please file a bug report for that, I think it should be changed and agree. Thanks!
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
Sorry to disturb but... is the case closed or what? I have a 0.9.2 installation and the meta tag is still "http-equiv="keywords".
-
MODX Staff
- 10,725 Posts
This is fixed in trunk from SVN, but is not yet available in a stable release. It is a very simple change and one you can easily make by searching for "http-equiv" in your manager/document.parser.class.inc.php and editing the instance relating to keywords in the mergeDocumentMETATags() function.
Thanks, Boby. I was searching the forums looking for a way to move the keywords tag below the title tag and your edit worked perfectly. Thanks for posting the solution.
Great fix Boby,
could you file this in the bugtracker so that this thing makes it in the next release ?
.: COO - Commerce Guys - Community Driven Innovation :.
MODx est l'outil id
-
MODX Staff
- 12,272 Posts
I’m adding it to trunk now... no need (for once!).
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me