Ariko
Forum Replies Created
-
Hi, the problem seems to be resolved now with version 4.0.7
Thanks again!
ArikoHi ?eslav,
Yes, as I wrote above, I’ve installed WordPress into a subdirectory. Now I’ve followed your suggestion and deleted manually /wordpress in my .htaccess file and it works now and the images will be displayed again. Thank you!!
@mbrsolution It looks like, that is a bug in AIOWPSF, because it isn’t unusual to install WP into a subdirectory, isn’t it?
Thanks!
ArikoYes, it’s the latest WordPress version 4.4.2 on a Apache Server.
Would it make sense to copy manually the “#AIOWPS_PREVENT_IMAGE_HOTLINKS_START <IfModule mod_rewrite.c> …etc.” string into the root .htaccess file (not the one in the wordpress directory)?That’s in my .htaccess file. It looks like the same…
#AIOWPS_PREVENT_IMAGE_HOTLINKS_START
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{REQUEST_FILENAME} \.(gif|jpe?g?|png)$ [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(.*)?\.homepage\.com/wordpress [NC]
RewriteRule \.(gif|jpe?g?|png)$ – [F,NC,L]
</IfModule>
#AIOWPS_PREVENT_IMAGE_HOTLINKS_END
# END All In One WP SecurityYes, sure – 4.0.4
No, it’s still the same.
Hi,
FYI – I’ve installed to the latest version 4.0.2, but unfortunately still the same problem.Hi,
the code is both the same (see below), but when I move the mouse cursor over the image link, then a Quickinfo appears “graphic couldn’t be loaded”. Without Prevent Hotlinks, it shows me the header image as thumbnail. But clicking the link, a new browser tab opens with the header image in both cases.“(code crossed) means there is a line through the code”
‘Element {
}
.header-image {
background-image: url(“https://www.website.com/wp2015/wp-content/uploads/2015/11/cropped-IMG_1621-04.jpg”);
display: block;
}
.header-image {
height: 300px;
}
.header-image {
background-size: cover;
}
.header-image {
display: none; (code crossed)
position: relative;
height: 300px;(code crossed)
background-position: center center;
background-size: cover;(code crossed)
background-repeat: no-repeat;
}
*, *::before, *::after {
box-sizing: border-box;
}
*, *::after, *::before {
box-sizing: border-box;(code crossed)}’
Ok Thanks,
one more thing for your developers. The WP installation is in a subfolder (not directly root), therefore I do have 2 .htaccess files. Perhaps this is a possible reason…
ArikoHi mbrsolution,
The same with the Twenty Fifteen theme, the header image disappears after setting “Prevent Hotlinks”. I’ve also deactiveted all plugins I have (only a few), but still the same behavior.