.htaccess บางทีก็ทำให้เกิดปัญหาแบบนี้ได้ครับ ผมก็เคยเจออยู่เหมือนกัน มีวิธีแก้อยู่ 2 วิธีครับ
1 ใช้ verify by meta tag
2 แก้ .htaccess
สมมุติว่าของเก่าเป็นดังข้างล่างนะครับ
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^(.*)\.html$ index.php?params=$1 [L]
จะเห็นว่ามันเอา ตัวแปรหลัง params มาต่อท้ายด้วย .html เพราะฉะนั้นเวลาคุณเรียกไฟล์ googleb8fc779fdc9140f1.html จะเหมือนกับเรียก url index.php?params=googleb8fc779fdc9140f1 ซึ่งแน่นอนว่าจะ fail จะสามารถแก้ไขได้โดย
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^googleb8fc779fdc9140f1\.html$ googleb8fc779fdc9140f1.htm
RewriteRule ^(.*)\.html$ index.php?params=$1 [L]
บอกมันดื้อๆเลยว่าถ้าเรียกไฟล์ชื่อ googleb8fc779fdc9140f1.
html เข้ามาก็ให้ไปอ่านไฟล์ที่ชื่อ googleb8fc779fdc9140f1.
htm แล้วก็อย่าลืม upload ไฟล์ชื่อ googleb8fc779fdc9140f1.
htm ขึ้นไปที่ server ด้วยล่ะครับ :wink: