問:剛才還好好的哦,幫看看偽靜態(tài)怎么回事,換了主機出了點問題
答:您好,
測試您當(dāng)前主機網(wǎng)站訪問沒有問題,但內(nèi)頁URL并沒有靜態(tài)化,您需要核實下程序是否開啟了偽靜態(tài)功能,非常感謝您長期對我司的支持!
問:http://www.ebcsite.com/archives/.html
http://www.ebcsite.com/top/www.gangmushiyantai.com
http://www.ebcsite.com/update/3-1.html
http://www.ebcsite.com/archives/0-6.html
http://www.ebcsite.com/archives/.html
http://www.ebcsite.com/article/jainzhan/161-1.html
http://www.ebcsite.com/webdir/jiaoyuxuexi/78-1.html
我是windows 虛擬主機轉(zhuǎn)移到 Linux的,不知道是不是這個原因,弄一天了
問:# BEGIN
# 首頁、分類瀏覽、數(shù)據(jù)歸檔、最近更新、排行榜、意見反饋
RewriteRule ^(index|webdir|weblink|article|category|update|archives|top|feedback|link|rssfeed|sitemap)(\\/?)$ index.php\\?mod=$1
# 最近更新
RewriteRule ^update\\/(\\d )$ index.php\\?mod=update&days=$1
RewriteRule ^update\\/(\\d )/(\\d )$ index.php\\?mod=update&days=$1&page=$2
# 數(shù)據(jù)歸檔
RewriteRule ^archives\\/(\\d )$ index.php\\?mod=archives&date=$1
RewriteRule ^archives\\/(\\d )/(\\d )$ index.php\\?mod=archives&date=$1&page=$2
# 站內(nèi)搜索
RewriteRule ^search\\/(name|url|tags|intro)\\/(. )/(\\d )$ index.php\\?mod=search&type=$1&query=$2&page=$3
RewriteRule ^search\\/(name|url|tags|intro)\\/(. )$ index.php\\?mod=search&type=$1&query=$2
# 站點詳細(xì)
RewriteRule ^siteinfo\\/(\\d )$ index.php\\?mod=siteinfo&wid=$1
# 文章詳細(xì)
RewriteRule ^artinfo\\/(\\d )$ index.php\\?mod=artinfo&aid=$1
# 鏈接詳細(xì)
RewriteRule ^linkinfo\\/(\\d )$ index.php\\?mod=linkinfo&lid=$1
# 單頁
RewriteRule ^diypage\\/(\\d )$ index.php\\?mod=diypage&pid=$1
# RSS
RewriteRule ^rssfeed\\/(\\d )$ index.php\\?mod=rssfeed&cid=$1
# SiteMap
RewriteRule ^sitemap\\/(\\d )$ index.php\\?mod=sitemap&cid=$1
# 分類目錄
RewriteRule ^webdir\\/(. )\\/(\\d )$ index.php\\?mod=webdir&cid=$2
RewriteRule ^webdir\\/(. )\\/(\\d )/(\\d )$ index.php\\?mod=webdir&cid=$2&page=$3
RewriteRule ^article\\/(. )\\/(\\d )$ index.php\\?mod=article&cid=$2
RewriteRule ^article\\/(. )\\/(\\d )/(\\d )$ index.php\\?mod=article&cid=$2&page=$3
# END
之前window虛擬主機是這樣的
答:您好,偽靜態(tài)規(guī)則的問題,.htaccess中規(guī)則,并沒有與http://www.ebcsite.com/archives/.html相匹配的,添加附圖一行規(guī)則后可以打開。請您聯(lián)系程序技術(shù)獲取apache下偽靜態(tài)規(guī)則重新上傳,非常感謝您長期對我司的支持!