[[[[ขอความช่วยเหลือครับ]]] -- เกี่ยวกับการสร้าง .htaccess

เริ่มโดย Affiliatetorich, 07 กันยายน 2013, 22:50:20

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

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

Affiliatetorich

ผมมีจะสร้าง Catergory กับ SubCatergory ครับ

โดย catergory.php?cat=1$ จะสร้างหน้า Catergory โดยลิงค์จะอยู่ในรูปแบบ

mydomain.com/catergory_name.html


โดย subcatergory.php?subcat=1$ จะสร้างหน้า SubCatergory โดยลิงค์จะอยู่ในรูปแบบ


mydomain.com/catergory_name/subcatergory_name.html


รบกวนท่านผู้รู้ช่วยด้วยครับ จะสร้าง .htaccess แบบไหนครับ


ขอบคุณครับ



+ รอซื้อ รอแป๊บ

smapan

[direct=http://cp.siamhostweb.com/cart.php?gid=1]จูมล่าโฮส สยามโฮสเว็บ[/direct] [direct=http://www.modty.com]modty.com[/direct]
[direct=http://www.apartment.in.th]รวมที่พัก เช่ารายวัน ที่พักเช่ารายเดือนมากที่สุดแจ่มจริง[/direct]
***Tel 083-757-1515 ติดปัญหา Joomla ตรงไหนรับปรึกษาฟรี โทรมาเถอะครับ ถ้าตอบได้ช่วยแน่นอน ไม่มีกั้ก. ***

xvlnw.com

[direct=https://cloudhost.in.th/wordpress-hosting]ツ ⓌⓄⓇⒹⓅⓇⒺⓈⓈ ⒽⓄⓈⓉⒾⓃⒼ [/direct] :wanwan014:  :D
[direct=https://cloudhost.in.th/cloudhosting.html]Cloud Hosting[/direct] [direct=https://cloudhost.in.th/cloudvps.html]Cloud Server[/direct] [direct=https://cloudhost.in.th/vpshosting.html]Cloud VPS Hosting[/direct] [direct=https://cloudhost.in.th/windowsvps.html]Cloud Windows[/direct] Tel: 080-348-0843 LINE: ixvlnw

phpwin

ประมาณนี้ครับ

RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+)/(.+)\.html$ subcatergory.php?subcat=$2 [L,QSA]
RewriteRule ^(.+\+*)\.html$ catergory.php?cat=$1 [L,QSA]
[direct=http://php-for-ecommerce.blogspot.com]สอน PHP ร้านค้าออนไลน์[/direct]  [direct=http://php-for-ecommerce.blogspot.com/p/blog-page.html]รับทำเว็บไซต์ ร้านค้าออนไลน์ ราคาถูก[/direct] #รับแก้ไขเว็บไซต์ #รับปรับแต่ง Open Cart #รับปรับแต่งเว็บไซต์ให้ไวติดจรวด #ขายเว็บไซต์เช็คราคาสินค้าแบบเทพๆ lnwprice.com

Affiliatetorich

อ้างถึงจาก: phpwin ใน 08 กันยายน 2013, 10:48:21
ประมาณนี้ครับ

RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+)/(.+)\.html$ subcatergory.php?subcat=$2 [L,QSA]
RewriteRule ^(.+\+*)\.html$ catergory.php?cat=$1 [L,QSA]




ขอบคุณมากครับ

ขอลองดูก่อนนะครับ

+ รอซื้อ รอแป๊บ

pongsak01

อ้างถึงจาก: phpwin ใน 08 กันยายน 2013, 10:48:21
ประมาณนี้ครับ

RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+)/(.+)\.html$ subcatergory.php?subcat=$2 [L,QSA]
RewriteRule ^(.+\+*)\.html$ catergory.php?cat=$1 [L,QSA]


ตามท่านนี้เลยครับ

Affiliatetorich

อ้างถึงจาก: smapan ใน 07 กันยายน 2013, 23:46:12
รอดูของฟรี




ประทานโทษนะครับท่าน

ไม่ได้ช่วยอะไร ก็ไม่ต้องมาประชดครับ

ผมรู้ว่าท่านเป้นโปรแกรมเมอร์ ท่านเก่ง ท่านทำได้อยู่รู้แล้ว

ถ้าอยากจะขายก้บอกกันมาตรงๆเลยครับ

ด้วยความเคารพ......

+ รอซื้อ รอแป๊บ