Hello guys what can be the reason for this:
I have a folder “wallpapers” not related to my website (WordPress) in the same web hosting and images inside. If i wanted to access them I would go to website.com/wallpapers/myimage.jpg and it worked!
But I noticed it doesn’t work anymore now I see my wordpress site + error 404 inside the website.
I have tried to fix this disabled few plugins etc… but where should I look? What can be the reason? Maybe the htaccess?
Thanks!
Yes, I think your guess on the .htaccess is perfectly correct. If you enable permalinks in WordPress it automatically creates, or tries to create (depending on permissions) the following .htaccess file;
The two lines in this that are relevant to you are;
What they are basically doing is making sure that every url request gets run through the index.php in the root except any files or directories that actually exist as separate files and directories outwith the WordPress install (ie your wallpapers directory). So first of all I would make sure that your .htaccess looks like this.