|
使用方法:
1:打开
includes/config.php
把- // Website URL (without: http://) including the sub-folder if site is not installed in the root
- // Sub-Folder example: www.yourdomain.com/sub-folder
- define('SITE_URL', 'www.yourdomain.com');
- // Cookie Domain // MUST be: .yourdomain.com
- define('COOKIE_DOMAIN', '.yourdomain.com');
- // Full domain URL // MUST be: http://www.yourdomain.com
- // DO NOT include any sub-folder
- define('DOMAIN_NAME', 'http://www.yourdomain.com');
复制代码 里的 yourdomain.com 改成你的米
把- // Adsense Settings
- //********************************
- // Adsense PUB-ID
- // Example pub-1111111111111
- define('PUBID', 'XXXXX');
- // Adsense Channel for tracking
- // Leave blank if you have not setup a channel
- define('ADCHN', '');
复制代码 里的XXXXX改成你的gg ad pub号码 全站调用 不需要一页一页的改 节省时间 以后发布的都这样调用了
把- // Amazon Settings
- //********************************
- // If you do not have a amazon affiliate account
- // you need to join here: http://affiliate-program.amazon.com/gp/associates/join
- // you can still upload the site before joining amazon but you will receive an
- // error on part of the page because you don't have a Associates ID.
- //********************************
- // Amazon Associates ID
- define('AMAZON', 'XXXXX');
- // Amazon Country - (.co.uk) or (.com)
- define('AMAZON_COUNTRY', '.com');
复制代码 里的XXXX改成你的推荐号 没有的话
注册地址:http://affiliate-program.amazon.com/gp/associates/join
后面那个 是注册米的
如果是 amazon.co.uk注册的 就写上 co.uk 是上面的连接注册的 写上com
特别说明 :
不要问我adsense 和amazon的广告是不是可以放一起 现在告诉你 是可以的
amazon是销售连接 不是匹配广告 所以OK |
|