ThaiSEOBoard.com

ความรู้ทั่วไป => General (ถามคุยวิชาการ IM) => ข้อความที่เริ่มโดย: kawpiyasup ที่ 22 สิงหาคม 2018, 21:04:10



หัวข้อ: สอบถามปัญหา ทำไม google web mastertool แจ้งแบบนี้
เริ่มหัวข้อโดย: kawpiyasup ที่ 22 สิงหาคม 2018, 21:04:10
id line : 0990899155

เมื่อวันที่ 18 ยังมี ข้อผิดพลาดแค่ 4 ตอนนี้ ไปที่ 17 แล้วครับผม

https://www.picz.in.th/image/BIonIt


หัวข้อ: Re: สอบถามปัญหา ทำไม google web mastertool แจ้งแบบนี้
เริ่มหัวข้อโดย: CherryX ที่ 22 สิงหาคม 2018, 21:49:19
ลองแก้ htacess แล้ว redirect มาหน้า index ดูคะ

ErrorDocument 404 /index.php


หัวข้อ: Re: สอบถามปัญหา ทำไม google web mastertool แจ้งแบบนี้
เริ่มหัวข้อโดย: kawpiyasup ที่ 22 สิงหาคม 2018, 23:34:53
# .htaccess automaticaly generated by PrestaShop e-commerce open-source solution
# http://www.prestashop.com - http://www.prestashop.com/forums
# URL rewriting module activation

RewriteEngine on

RewriteRule ^([a-z0-9]+)\-([a-z0-9]+)(\-[_a-zA-Z0-9-]*)/(.*)\.jpg$ /img/p/$1-$2$3.jpg [L,E]

RewriteRule ^([0-9]+)(\-[_a-zA-Z0-9-]*)/(.*)\.jpg$ /img/c/$1$2.jpg [L,E]

RewriteRule ^lang-([a-z]{2})/(.*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$3&isolang=$1$5 [L,E]

RewriteRule ^lang-([a-z]{2})/([0-9]+)\-(.*)\.html(.*)$ /product.php?id_product=$2&isolang=$1$4 [L,E]

RewriteRule ^lang-([a-z]{2})/([0-9]+)\-(.*)$ /category.php?id_category=$2&isolang=$1 [QSA,L,E]

RewriteRule ^(.*)/([0-9]+)\-(.*)\.html(.*)$ /product.php?id_product=$2$4 [L,E]

RewriteRule ^([0-9]+)\-(.*)\.html(.*)$ /product.php?id_product=$1$3 [L,E]

RewriteRule ^([0-9]+)\-(.*)$ /category.php?id_category=$1 [QSA,L,E]

RewriteRule ^content/([0-9]+)\-(.*)$ /cms.php?id_cms=$1 [QSA,L,E]

RewriteRule ^([0-9]+)__(.*)$ /supplier.php?id_supplier=$1$3 [QSA,L,E]

RewriteRule ^([0-9]+)_(.*)$ /manufacturer.php?id_manufacturer=$1$3 [QSA,L,E]

RewriteRule ^tag/(.*)\/(.*)$ /search.php?tag=$1$2 [L,E]

RewriteRule ^lang-([a-z]{2})/tag/(.*)\/(.*)$ /search.php?tag=$2&isolang=$1$3 [L,E]

RewriteRule ^lang-([a-z]{2})/(.*)$ /$2?isolang=$1 [QSA,L,E]


RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

# Enable Compression
<IfModule mod_deflate.c>
  AddOutputFilterByType DEFLATE application/javascript
  AddOutputFilterByType DEFLATE application/rss+xml
  AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
  AddOutputFilterByType DEFLATE application/x-font
  AddOutputFilterByType DEFLATE application/x-font-opentype
  AddOutputFilterByType DEFLATE application/x-font-otf
  AddOutputFilterByType DEFLATE application/x-font-truetype
  AddOutputFilterByType DEFLATE application/x-font-ttf
  AddOutputFilterByType DEFLATE application/x-javascript
  AddOutputFilterByType DEFLATE application/xhtml+xml
  AddOutputFilterByType DEFLATE application/xml
  AddOutputFilterByType DEFLATE font/opentype
  AddOutputFilterByType DEFLATE font/otf
  AddOutputFilterByType DEFLATE font/ttf
  AddOutputFilterByType DEFLATE image/svg+xml
  AddOutputFilterByType DEFLATE image/x-icon
  AddOutputFilterByType DEFLATE text/css
  AddOutputFilterByType DEFLATE text/html
  AddOutputFilterByType DEFLATE text/javascript
  AddOutputFilterByType DEFLATE text/plain
</IfModule>
<IfModule mod_gzip.c>
  mod_gzip_on Yes
  mod_gzip_dechunk Yes
  mod_gzip_item_include file .(html?|txt|css|js|php|pl)$
  mod_gzip_item_include handler ^cgi-script$
  mod_gzip_item_include mime ^text/.*
  mod_gzip_item_include mime ^application/x-javascript.*
  mod_gzip_item_exclude mime ^image/.*
  mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</IfModule>

# Leverage Browser Caching
<IfModule mod_expires.c>
  ExpiresActive On
  ExpiresByType image/jpg "access 1 year"
  ExpiresByType image/jpeg "access 1 year"
  ExpiresByType image/gif "access 1 year"
  ExpiresByType image/png "access 1 year"
  ExpiresByType text/css "access 1 month"
  ExpiresByType text/html "access 1 month"
  ExpiresByType application/pdf "access 1 month"
  ExpiresByType text/x-javascript "access 1 month"
  ExpiresByType application/x-shockwave-flash "access 1 month"
  ExpiresByType image/x-icon "access 1 year"
  ExpiresDefault "access 1 month"
</IfModule>
<IfModule mod_headers.c>
  <filesmatch "\.(ico|flv|jpg|jpeg|png|gif|css|swf)$">
  Header set Cache-Control "max-age=2678400, public"
  </filesmatch>
  <filesmatch "\.(html|htm)$">
  Header set Cache-Control "max-age=7200, private, must-revalidate"
  </filesmatch>
  <filesmatch "\.(pdf)$">
  Header set Cache-Control "max-age=86400, public"
  </filesmatch>
  <filesmatch "\.(js)$">
  Header set Cache-Control "max-age=2678400, private"
  </filesmatch>
</IfModule>


# Catch 404 errors

ErrorDocument 404 /404.php



หัวข้อ: Re: สอบถามปัญหา ทำไม google web mastertool แจ้งแบบนี้
เริ่มหัวข้อโดย: kawpiyasup ที่ 22 สิงหาคม 2018, 23:36:39
แต่ผมอยากรู้ว่ามันเป็นเพราะอะไรอะครับผม อยากรู้จากต้นเหตุอะครับผม หรือเวบเราโดนไวรัส หรือใครมาแกล้งอะไรรึเปล่าอะครับผม


หัวข้อ: Re: สอบถามปัญหา ทำไม google web mastertool แจ้งแบบนี้
เริ่มหัวข้อโดย: nungseries ที่ 23 สิงหาคม 2018, 16:13:08
แต่ผมอยากรู้ว่ามันเป็นเพราะอะไรอะครับผม อยากรู้จากต้นเหตุอะครับผม หรือเวบเราโดนไวรัส หรือใครมาแกล้งอะไรรึเปล่าอะครับผม

404 คือการที่เราไม่มีหน้านั้นๆอยู่ในเวปครับ อาจจะเคยมรแต่ลบออกไป ก็จะ error404 ครับ

แต่ถ้าปัจจุบันมีอยู่แต่่ google แจ้งว่าเป็น 404 ให้ลอง ไปทีาเมนูดึงข้อมูลเหมือนกูเกิ้ล หรืออะไรสักอย่างชืาอคล้ายๆกันนี่ละ แล้ว อินเด็กใหม่นะครับ


หัวข้อ: Re: สอบถามปัญหา ทำไม google web mastertool แจ้งแบบนี้
เริ่มหัวข้อโดย: nungseries ที่ 23 สิงหาคม 2018, 16:14:28
:wanwan017: :wanwan017: :wanwan017:



รบกวนถามหน่อยค่ะ ต้องการฝาก url กับ google แต่มันขึ้น


หากต้องการส่ง URL ไปที่ดัชนีของ Google ให้ส่งแผนผังไซต์หรือใช้เครื่องมือโปรแกรม Googlebot จำลอง

แล้วต้องทำอย่างไรบ้างค่ะ ไม่รู้จะ ตั้งกระทู้ยังไรค่ะ

เวปใช้ cms ตัวไหนอยู่ครับ ถ้าเป็น WP จะมีปลักอินในการทำเรื่องนี้อยุ่ครับ