رفتن به مطلب

عدم نمایش عکس در گوگل


پست های پیشنهاد شده

سلام

آقا چرا عکسهای سایتم رو توو گوگل میزنم اصلا لینک و عکسش نیست

مثلا:


http://fashionstar1.ir/wp-content/uploads/603042_395649627213853_1892524061_n.jpg

توو گوگل میزنم نمیاره و مینویسه:Missing: content ‎uploads ‎603042_395649627213853_1892524061_n ‎jpg

سرچ با عکس هم میزنم مینویسه:

The URL doesn't refer to an image, or the image is not publicly accessible.

Hotlink Protection رو فعال کردم از توو هاست

والان توو کادر

Configure Hotlink Protection:

URLs to allow access:

اینا هستن:


http://fashionstar1.ir
http://www.fashionstar1.ir

گوگل هم باید اضافه کنم به بالا؟

نمیدونم چرا اینجوری شده... لطفا کمکم کنید دوستان

لینک به ارسال

خب این همه ی عکس هارو نمیاره که

این عکس ها هم عکس هایی هستن که من قبل فعال کردن هات لینک گذاشته بودم

لینک به ارسال

بله احتمالا میتونه مشکل از اون باشه

باید در کد دسترسی دهید


# hotlink protection allowing for multiple domains
RewriteEngine on
RewriteCond %{HTTP_REFERER} .
RewriteCond %{HTTP_REFERER} !^http://([^.]+\.)?domain-01\. [NC]
RewriteCond %{HTTP_REFERER} !^http://([^.]+\.)?domain-02\. [NC]
RewriteCond %{HTTP_REFERER} !^http://([^.]+\.)?domain-03\. [NC]
RewriteCond %{HTTP_REFERER} !search\?q=cache [NC]
RewriteCond %{HTTP_REFERER} !google\. [NC]
RewriteCond %{HTTP_REFERER} !yahoo\. [NC]
RewriteCond %{REQUEST_URI} !^/hotlink\.jpg$ [NC]
RewriteRule \.(gif|jpg|png)$ http://domain.tld/hotlink.jpg [R,NC,L]

http://perishablepress.com/creating-the-ultimate-htaccess-anti-hotlinking-strategy/

لینک به ارسال

آقا پارسا جساراته ولی میشه تغییرات رو خودتون اعمال کنید؟؟

الان فایل htaccess من اینه:


# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
RewriteCond %{HTTP_REFERER} !^http://fashionstar1.ir/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://fashionstar1.ir$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.fashionstar1.ir/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.fashionstar1.ir$ [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]
## EXPIRES CACHING ##
ExpiresActive On
ExpiresByType image/jpg "access plus 1 year"
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
ExpiresByType text/css "access plus 1 month"
ExpiresByType application/pdf "access plus 1 month"
ExpiresByType text/x-javascript "access plus 1 month"
ExpiresByType application/x-shockwave-flash "access plus 1 month"
ExpiresByType image/x-icon "access plus 1 year"
ExpiresDefault "access plus 2 days"
## EXPIRES CACHING ##

روبوت هم اینه:


Allow: /*
# Google AdSense
User-agent: Mediapartners-Google*
Disallow:
# digg mirror
User-agent: duggmirror
Disallow: /
# global
User-agent: *
Disallow: /cgi-bin/
Disallow: /wp-admin/
Disallow: /wp-includes/
Disallow: /wp-content/plugins/
Disallow: /wp-content/cache/
Disallow: /wp-content/themes/
Disallow: /trackback/
Disallow: */trackback/
Disallow: /index.php/
Disallow: /readme.html
Disallow: /*?
Allow: /wp-content/uploads/
Sitemap: http:/fashionstar1.ir/sitemap.xml

دیروز از روبوت اینو پاک کردم

# Google Image

User-agent: Googlebot-Image

Disallow:

ویرایش شده توسط Sina_Hp
لینک به ارسال

کد بخش hotlink


RewriteCond %{HTTP_REFERER} !^http://fashionstar1.ir/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://fashionstar1.ir$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.fashionstar1.ir/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.fashionstar1.ir$ [NC]
RewriteCond %{HTTP_REFERER} !google\. [NC]
RewriteCond %{HTTP_REFERER} !yahoo\. [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]

لینک به ارسال

الان اینجوری گذاشتم پس دیگه مشکلی نیست:


# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
RewriteCond %{HTTP_REFERER} !^http://fashionstar1.ir/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://fashionstar1.ir$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.fashionstar1.ir/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.fashionstar1.ir$ [NC]
RewriteCond %{HTTP_REFERER} !google\. [NC]
RewriteCond %{HTTP_REFERER} !yahoo\. [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]
## EXPIRES CACHING ##
ExpiresActive On
ExpiresByType image/jpg "access plus 1 year"
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
ExpiresByType text/css "access plus 1 month"
ExpiresByType application/pdf "access plus 1 month"
ExpiresByType text/x-javascript "access plus 1 month"
ExpiresByType application/x-shockwave-flash "access plus 1 month"
ExpiresByType image/x-icon "access plus 1 year"
ExpiresDefault "access plus 2 days"
## EXPIRES CACHING ##

آخه سایتم بیشتر عکسه بعد عکس هام گوگل نباشه دیگه هیچ فایده ای نداره!

لینک به ارسال

به گفتگو بپیوندید

هم اکنون می توانید مطلب خود را ارسال نمایید و بعداً ثبت نام کنید. اگر حساب کاربری دارید، برای ارسال با حساب کاربری خود اکنون وارد شوید .

مهمان
ارسال پاسخ به این موضوع ...

×   شما در حال چسباندن محتوایی با قالب بندی هستید.   حذف قالب بندی

  تنها استفاده از 75 اموجی مجاز می باشد.

×   لینک شما به صورت اتوماتیک جای گذاری شد.   نمایش به صورت لینک

×   محتوای قبلی شما بازگردانی شد.   پاک کردن محتوای ویرایشگر

×   شما مستقیما نمی توانید تصویر خود را قرار دهید. یا آن را اینجا بارگذاری کنید یا از یک URL قرار دهید.

×
×
  • اضافه کردن...