1
wishcraft
Required Share & Anti Keyword Stuffing Hack

If you right mouse click and check the source on this page you will notice the keywords Required,Share,Anti,Keyword,Stuffing,Hack appear at the beginning of meta_keywords. This is because of an additional bit of code you need to add so that each page has a unique set of keywords otherwise the domain is measuring higher than normal keyword stuffing in search engines (SEO).. this is the code for a meta keyword with a smarty template:
<meta name="keywords" content="<{php}>$pg_title = $this->_tpl_vars['xoops_pagetitle'].','.$this->_tpl_vars['xoops_sitename'];
$pg_title = str_replace(' ',',',$pg_title);
$pg_title = str_replace('-',',',$pg_title);
$pg_title = str_replace('|',',',$pg_title);
$pg_title = str_replace(':',',',$pg_title);
$pg_title = str_replace('!',',',$pg_title);
$pg_title = str_replace('?',',',$pg_title);
$pg_title = str_replace('=',',',$pg_title);
$pg_title = str_replace('&',',',$pg_title);
$pg_title = str_replace(')','',$pg_title);
$pg_title = str_replace('(','',$pg_title);
$pg_title = str_replace('[','',$pg_title);
$pg_title = str_replace(']','',$pg_title);
$pg_title = str_replace('{','',$pg_title);
$pg_title = str_replace('}','',$pg_title);
$pg_title = str_replace(' and ',',',$pg_title);
$pg_title = str_replace(' the ',',',$pg_title);
$pg_title = str_replace(',,',',',$pg_title);
$pg_title = str_replace(',,',',',$pg_title);
$pg_title = str_replace(',,',',',$pg_title);
$pg_title .= ",".$this->_tpl_vars['xoops_meta_keywords'];
$pg_array = explode(",",$pg_title);
$pg_array = array_unique($pg_array);
echo implode("
,",$pg_array);<{/php}>" />
The other edition is the AddThis button you can see in the top left.. the code for that is embedded and doesn't change.. Thanks...
Resized Image
http://www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/RegaltyFamily
github.com/Chronolabs-Cooperative
facebook.com/DrAntonyRoberts

2
wishcraft
Re: Required Share & Anti Keyword Stuffing Hack

The addthis code is:
<script type="text/javascript">var addthis_pub="xoops";script>
<
a href="http://www.addthis.com/bookmark.php?v=20" onmouseover="return addthis_open(this, '', '[URL]', '[TITLE]')" onmouseout="addthis_close()" onclick="return addthis_sendto()"><img src="http://s7.addthis.com/static/btn/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share" style="border:0"/>a><script type="text/javascript" src="http://s7.addthis.com/js/200/addthis_widget.js">script>
Resized Image
http://www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/RegaltyFamily
github.com/Chronolabs-Cooperative
facebook.com/DrAntonyRoberts

Login

Who's Online

351 user(s) are online (246 user(s) are browsing Support Forums)


Members: 0


Guests: 351


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits