發(fā)表日期:2018-09 文章編輯:小燈 瀏覽次數(shù):3481
開啟會員二級域名容易影響主站的權(quán)重,按會員組設(shè)置不同的地址規(guī)則又會影響系統(tǒng)效率,基于此,DT4.0新增的目前門戶網(wǎng)站較為常用的“二級域名/會員名”的地址格式。
例如百度的hi.baidu.com/username,新浪微博的weibo.com/username,QQ微博的t.qq.com/username,這樣的地址既美觀易記,又不會影響主站的權(quán)重。
假如你需要綁定的二級域名為i.xxx.com,首先解析這個域名到你的服務(wù)器ip,在服務(wù)器上建立站點綁定這個域名到主站的company目錄,此站點需要單獨設(shè)置偽靜態(tài)規(guī)則,規(guī)則如下:
Apache
https://download.destoon.com/rewrite/sub_apache.txt
https://download.destoon.com/rewrite/sub_htaccess.txt
IIS6
https://download.destoon.com/rewrite/DTURewrite.zip
https://download.destoon.com/rewrite/sub_httpd.ini
II7
https://download.destoon.com/rewrite/sub_web.config.txt
Nginx
https://download.destoon.com/rewrite/sub_nginx.txt
Zeus
https://download.destoon.com/rewrite/sub_zeus.txt
如果需要使用apache的.htaccess或者iis7的Web.config,為了不影響主站公司模塊的運(yùn)行,可以復(fù)制company為company1,然后把域名綁定到compnay1目錄,.htaccess或者Web.config放在company1目錄
進(jìn)入網(wǎng)站后臺,網(wǎng)站設(shè)置,SEO優(yōu)化,公司主頁綁定二級域名填寫i.xxx.com,保存
進(jìn)入公司管理,更新數(shù)據(jù),更新公司
進(jìn)入公司管理,公司新聞,更新地址
進(jìn)入公司管理,公司單頁,更新地址
以上操作完成之后,打開任意一個vip會員的公司主頁,檢查各個頁面是否能正確打開。
日期:2018-09 瀏覽次數(shù):3216
日期:2018-09 瀏覽次數(shù):4035
日期:2018-09 瀏覽次數(shù):3384
日期:2018-09 瀏覽次數(shù):3023
日期:2018-09 瀏覽次數(shù):3799
日期:2018-09 瀏覽次數(shù):3813
日期:2018-09 瀏覽次數(shù):3023
日期:2018-09 瀏覽次數(shù):3588
日期:2018-09 瀏覽次數(shù):5210
日期:2018-09 瀏覽次數(shù):3480
日期:2018-09 瀏覽次數(shù):3079
日期:2018-09 瀏覽次數(shù):3434
日期:2018-09 瀏覽次數(shù):3328
日期:2018-09 瀏覽次數(shù):3353
日期:2018-09 瀏覽次數(shù):2983
日期:2018-09 瀏覽次數(shù):4175
日期:2018-09 瀏覽次數(shù):3549
日期:2018-09 瀏覽次數(shù):3385
日期:2018-09 瀏覽次數(shù):3099
日期:2018-09 瀏覽次數(shù):3306
Copyright ? 2013-2018 Tadeng NetWork Technology Co., LTD. All Rights Reserved.