Neler Yeni

Vbulletin IMG Cacher - SSL Keeper Sorunu Çözümü


This is something I made awhile back,
Pretty much you use this when you want to keep the SSL certificete working on pages that people may use tag's without https://.
When you use SSL on your forum, and somebody embeds an image from a non-ssl host, lots of browsers will give you a warning and say the website is unsafe(which is untrue) - this is a solution to that problem.
Upload the files into your root directory, and that's it.
Then you need to create a plugin (admincp -> plugins & products -> add new plugin)
Hook location: bbcode_img_match
Title: SSL IMG Cacher
Execution order: 5
Plugin PHP Code:

Değerli ziyaretçimiz, içeriği görebilmeniz için lütfen Giriş Yap veya ücretsiz Kayıt Ol anlayışınız için teşekkürler.

Plugin is active: Yes
edit "[LINK_TO_YOUR_WEBSITE]" - Without http, example: etc. etc.
Then you are done.
It should be secure as the actual directory for the images is not available.(deny from all in htaccess)
I would also suggest adding this to robots.txt

User-agent: *
Disallow: /cache.php
Also I suggest you add something like this to .htaccess:

<FilesMatch "cache\.php$">
Header set Cache-Control "max-age=86400, public"

Gizli içerik
Bu içeriği görmek için konuya cevap yazmalısınız. Üye değilseniz buradan kayıt olabilirsiniz.
Son düzenleme:

Üst Alt