bless10
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Block direct access to wordpress image urlit’s an apache web server
Forum: Fixing WordPress
In reply to: Block direct access to wordpress image urlI know, I’m reffering to the image URL’s still having direct access despite adding the code.
Screenshot
https://snipboard.io/j3XnxW.jpgForum: Fixing WordPress
In reply to: Block direct access to wordpress image urlI added the code but I can still right click and view image URL’s
Forum: Fixing WordPress
In reply to: Block direct access to wordpress image urlOk where in the code do I specifically put the – [F]?
And I’m still able to view image URL’s as shown below
https://streamable.com/uter4kForum: Fixing WordPress
In reply to: Block direct access to wordpress image urlI want images to appear on the website but I don’t want images to be accessed by anyone. I want a visitor to be redirected to Google or a 404 page to appear or as soon somebody tries to access the image URL directly.
Examples of what I want
1. A visitor is on an article and right-clicks to view the featured image in a new tab.
2. An 404 page appears or user is redirected to googleAnd
1. A bad bot tries to display images from my website to their website by linking directly to it via the image URL.
2. An 404 page appears or bad bot is redirected to google.I hope that makes sense.
The code I have in the htaccess is:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http(s)?://(www.)?example.com/.$ [NC] RewriteRule ..(jpg|jpeg|gif|png|bmp|tiff|avi|mpeg|mpg|wma|mov|zip|rar|exe|mp3|pdf|swf|psd)$ https://google.com [R,NC]The critical error is gone now
But there are 2 issues:The multiple-page feature is still not working because there are no ads showing.
https://snipboard.io/qcOGTg.jpg
Ads doesn’t appear for some posts for the HTML tags .
https://snipboard.io/CDcG4f.jpg
- This reply was modified 2 years, 2 months ago by bless10.
Did you get the file?
Here is the error log file
https://docs.google.com/document/d/1orJ0SC89QJYkTcDVVXTPE2aEeah46aHyzsfyTPFZkJY/edit