0
我已經安裝了一個zen購物車插件"Ceon's SEO URL"
。Ceon SEO URl給出錯誤頁面沒有在zen購物車中找到
管理面板沒有安裝錯誤,但在網站上點擊產品名稱時顯示404錯誤。
我試圖按照世隆的插件的安裝步驟,但我面臨的問題
8.Add the Rewrite Rule to the Webserver (Apache/IIS etc.)
所以請幫助我。
我有這樣的路徑htdocs\zencarttest\zencart
這個.htaccess文件和我的.htaccess是folow中
## BEGIN CEON URI MAPPING REWRITE RULE
RewriteEngine On
# ONLY rewrite URIs beginning with /zencarttest/zencart/
RewriteCond %{REQUEST_URI} ^/zencarttest/zencart/ [NC]
# Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
RewriteCond %{REQUEST_URI} !\.[a-zA-Z]{2,5}$ [OR]
RewriteCond %{REQUEST_URI} \.(html)$ [NC]
# Don't rewrite any URIs for some specific file format extensions,
# which are not covered by main file extension condition above
# Uncomment the following line to apply this condition! (Remove the # at the start of the next line)
RewriteCond %{REQUEST_URI} !\.(3gp|3g2|h261|h263|mj2|mjp2|mp4v|mpg4|m1v|m2v|m4u|f4v|m4v|3dml)$ [NC]
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/zencarttest/zencart/admin_test [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/zencarttest/zencart/editors/ [NC]
# Handle all other URIs using Zen Cart (its index.php)
RewriteRule .* /zencarttest/zencart/index.php [QSA,L]
## END CEON URI MAPPING REWRITE RULE
在哪裏我犯了一個錯誤?
請幫幫我!在此先感謝...
如果我把'RewriteRule。* zencarttest/zencart/index.php [QSA,L]'那麼索引頁面有404錯誤,並且顯示「/」索引頁面,產品也顯示完美,但是當我嘗試點擊其他鏈接像關於我們,送貨及退貨等在時間它會給我404錯誤 – Jalpesh 2012-07-11 10:50:04
hello @ user1078494我如何設置舊頁面的網址意思是「聯繫我們,網站地圖」,因爲它給我404錯誤產品頁面並從「EZ頁面」新創建頁面工作正常。所以我需要你的幫助,以改變已有網頁的網址..請幫助我 – Jalpesh 2012-07-13 05:59:25
你會在官方論壇上得到更多答案,這是肯定的。 Conor(該模塊的作者)在那裏並提供支持。 :)無論如何,請閱讀第二篇文章,解釋如何做到這一點[鏈接] http://www.zen-cart.com/showthread.php?184548-Ceon-URI-Mapping-v4-x [/ link] - 簡而言之,您需要使用phpmyadmin添加這些內容,沒有其他簡單的方法。實際上,有 - 你可以購買他的URI映射管理器,然後你完全控制管理員。我購買它,這真的很值得。檢查他的網站:[鏈接] http://ceon.net/software/business/zen-cart/uri-mappings-manager [/ link] – user1078494 2012-07-13 10:31:44