Post by Neena » Thu May 01, 2014 12:33 pm

ขอความช่วยเหลือจาก opencart thai developer ด้วยคะ

ปัญหาคือ ได้เปิดใช้ seo url friendly เรียบร้อย
เมื่อเอา mouse ไปวางที่หน้า product webpage ปรากฎ link ชื่อที่ set ไว้ ตัวอย่าง 127.0.0.1/octhai/army
ซึ่งเป็นชื่อที่ทำ seo keyword เรียบร้อยถูกต้อง (แทนที่ http://127.0.0.1/octhai/index.php?route ... duct_id=58 แล้ว)

แต่เมื่อกด link เข้าไปหน้า page กลับแสดงหน้า The AppServ Open Project - 2.5.10 for Windows คะ ทุกหน้าที่ทำ seo url ไว้จะกระโดดไปที่หน้านี้เท่านั้น
http://upic.me/i/7e/error1.jpg
ไม่ทราบว่าจะทำยังไงดี รบกวนผู้รู้ช่วยเหลือด้วยคะ
ขอบคุณมากคะ ^-^

software ที่ใช้คือ
opencart version ภาษาไทย : OCThai-1.5.5.1-brightly-template-1.045
เปลี่ยน .htaccess.txt เป็น .htaccess แล้ว
แก้ไขดังนี้
# SEO URL Settings
RewriteEngine On
# If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/

RewriteBase /
RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]
RewriteRule ^download/(.*) /index.php?route=error/not_found [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]

Newbie

Posts

Joined
Thu May 01, 2014 12:08 pm
Who is online

Users browsing this forum: No registered users and 29 guests