รบกวนสอบถามเกี่ยวกับ Cs-Cart ครับ

เริ่มโดย Anat, 07 กรกฎาคม 2008, 14:23:27

หัวข้อก่อนหน้า - หัวข้อถัดไป

0 สมาชิก และ 1 ผู้มาเยือน กำลังดูหัวข้อนี้

Anat

รบกวนถามคุณ น้องบิ้ว  หรือใครก็ได้ครับที่เคยใช้ตัวนี้คือผมอยากรู้วิธีทำยังไงให้ url เป็นแบบ html อ่ะครับคือผมไป คลิกเลือกใช้งานที่  Addons >SEO (requires Apache + mod_rewrite installed)  (คลิกถูกแล้ว) เสร็จแล้วมันจะหา url ไม่เจออ่ะครับคือเอาง่ายๆคือ url มัที่มันเปลี่ยนเป็น html นั้นมันขึ้น page not found อ่ะครับ ผมถามที่ เจ้าของ host เค้าแล้วเค้าบอกว่า host เค้า support ครับหรือว่าต้อง set ตรงไหนเพิ่มเติมอีกไหมครับ ขอบคุณครับ

น้องบิ้ว

#1
คงเปนที่ mod rewrite อะคับ

ลองแก้ .htaccess ตามนี้ดิ๊คับ
DirectoryIndex index.html index.php

<IfModule mod_rewrite.c>
RewriteEngine on
# Some hostings require RewriteBase to be uncommented
# Example:
# Your store url is http://www.yourcompany.com/store/cscart
# So "RewriteBase" should be:
# RewriteBase /store/cscart
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]

</IfModule>


ปล. ถามหน่อยคับ เวบคุณมีปัยหา ใช้ script นี้มีปัญหา ภาษาไทยไหมคับ คือของผมมันพิมไทยไม่ได้ ได้แ่ต่ eng หาทางแก้ได้ไหมคับ แนะนำด้วยคับ ผมก็อยากให้ช่วยเหมือนกัน

Anat

ปัญหาเรื่องภาษาไม่เจอครับผมเปลี่ยนให้เป็น utf-8 หมดครับ

iesuck

ของผมลงแล้วก็ไม่มีปัญหาภาษาไทยนะครับ เลือกเป็น utf-8

Anat

อ้างถึงจาก: น้องบิ้ว ใน 07 กรกฎาคม 2008, 14:45:58
คงเปนที่ mod rewrite อะคับ

ลองแก้ .htaccess ตามนี้ดิ๊คับ
DirectoryIndex index.html index.php

<IfModule mod_rewrite.c>
RewriteEngine on
# Some hostings require RewriteBase to be uncommented
# Example:
# Your store url is http://www.yourcompany.com/store/cscart
# So "RewriteBase" should be:
# RewriteBase /store/cscart
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]

</IfModule>


ปล. ถามหน่อยคับ เวบคุณมีปัยหา ใช้ script นี้มีปัญหา ภาษาไทยไหมคับ คือของผมมันพิมไทยไม่ได้ ได้แ่ต่ eng หาทางแก้ได้ไหมคับ แนะนำด้วยคับ ผมก็อยากให้ช่วยเหมือนกัน

ยังงงๆครับขอดูตัวอย่างไฟล์ของคุณ น้องบิ้ว ได้ไหมครับ

Anat


Halogen

อ้างถึงจาก: น้องบิ้ว ใน 07 กรกฎาคม 2008, 14:45:58
คงเปนที่ mod rewrite อะคับ

ลองแก้ .htaccess ตามนี้ดิ๊คับ
DirectoryIndex index.html index.php

<IfModule mod_rewrite.c>
RewriteEngine on
# Some hostings require RewriteBase to be uncommented
# Example:
# Your store url is http://www.yourcompany.com/store/cscart
# So "RewriteBase" should be:
# RewriteBase /store/cscart
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]

</IfModule>


ปล. ถามหน่อยคับ เวบคุณมีปัยหา ใช้ script นี้มีปัญหา ภาษาไทยไหมคับ คือของผมมันพิมไทยไม่ได้ ได้แ่ต่ eng หาทางแก้ได้ไหมคับ แนะนำด้วยคับ ผมก็อยากให้ช่วยเหมือนกัน

มีวิธีทำให้ link เป็น SEO ภาษาไทยหรือเปล่าครับ ผมลอง add แล้วมันก็ขึ้น แต่ซักพักมันก็เปลี่ยนเอง แล้วก็ add url เป็นภาษาไทยไม่ได้อีกเลยครับ  :wanwan009: