Plugin Contributor
Maya
(@tdgu)
Hi,
I’m not able to replicate the issue on this side, it should be related to malfunctioning rewrite, for some reason, they are not applying on your site. Also, this must be the reason for why everything loads so slow.
Can you check with your browser console and see which urls are returing 404 error type?
What server type you run? e.g. apache, nginx.
Thanks
Thread Starter
nanny7
(@nanny7)
Hi I do know that the host changed my htaccess file and it broke the site but I put everything back. I am on apache.
I will reset and start again and see if that fixes it.
Thread Starter
nanny7
(@nanny7)
Also it shows the website and this link after it is always the 404
?et_fb=1&PageSpeed=off
Thread Starter
nanny7
(@nanny7)
I am adding a new install now but notice in the section for General/Html there are multiple for this plugin that hasn’t been in there for a very long time:
Remove Admin Bar for Zephyr – Manager
Still shows even after doing a garbage plugin scan and there were no data tables for that old plugin to remove.
Thread Starter
nanny7
(@nanny7)
Hi I tested everything as I was going and when I go to the uploads then it stops the image from being seen when you upload.
Also noticed this text in that section:
Help – Block default uploads URL
This blocks the default wp-content/plugins/ url.
I did change the name to something else and it seems fixed for now. Will test again tomorrow.
Maybe there was a conflicting name.
Plugin Contributor
Maya
(@tdgu)
Hi,
Thanks for your feedback.
Could be a conflict name, it can also be a cache issue, can you ensure you always clear the cache if use such plugin? Also, check with your hosting dashboard, there might be a cache as well. If you use a CDN ensure you clear it too.
Thanks
Thread Starter
nanny7
(@nanny7)
Hi thanks
it came back the same no image showing when upload through media file. I tried without using Divi page builder and it was the same. It shows a broken link until you save the page then it shows up in them media file. Only happens to uploads.
I have cleared cache and there is none on the server as I have the lightspeed cache disabled for this site. I am not using CDN as it was slower than without for Australia.
Plugin Contributor
Maya
(@tdgu)
Hi,
Can you please get in touch with us and i’ll help further.
Thanks
Thread Starter
nanny7
(@nanny7)
Thanks I filled out your contact form.
Hi Nanny7,
Try to Not Block wp-content URL and Not Block uploads URL ( Set both to NO )
If any of these options are activated, what you say happens, whether with Divi Builder activated or not.
-
This reply was modified 4 years, 1 month ago by wakeupneo.
-
This reply was modified 4 years, 1 month ago by wakeupneo.
You can fix this bug adding this lines (the bold) in the .htaccess
before the RewriteRule that block the wp-content/uploads:
RewriteCond %{ENV:REDIRECT_STATUS} ^$
RewriteCond %{HTTP_COOKIE} !^.*wordpress_logged_in.*$ [NC]
RewriteRule ^wp-content/uploads(.+) /index.php?wph-throw-404 [END]
and before the RewriteRule that block the wp-content:
RewriteCond %{ENV:REDIRECT_STATUS} ^$
RewriteCond %{HTTP_COOKIE} !^.*wordpress_logged_in.*$ [NC]
RewriteRule ^wp-content/(.+) /index.php?wph-throw-404 [END]