jonsho
Forum Replies Created
-
I noticed the same exact problem today. Any advice is welcome.
- This reply was modified 5 years, 10 months ago by jonsho.
Forum: Fixing WordPress
In reply to: Restrict access to my upload folder..andI just found a better solution in:http://wordpress.org/support/topic/201172?replies=2
iridiax said:
Keep other code out of the WordPress section of the .htaccess (between # BEGIN WordPress and # END WordPress) or it will overwrite it.Glad we got that sorted out! =)
Forum: Fixing WordPress
In reply to: Restrict access to my upload folderI might be wrong about the true logic behind the htaccess replacement thingy, but that’s how it seemed to be operating back then. I’m by no means a pro with wordpress at this point. Well, hopefully this helps somebody. =)
Forum: Fixing WordPress
In reply to: Restrict access to my upload folderThe .htaccess file is being replaced by wordpress when you have settings in wp that htaccess. I had the same problem the first time I made changes to the .htaccess file. My quick fix was that I copied the setting in the htaccess file, then deleted it, and created a new .htaccess file while giving permissions only for the user/owner (me).
I then pasted the settings I had in the old one, and added some of my own.
The downside is, that wp can’t write to the file anymore, so if you make changes which require htaccess, they won’t work.
There must be a better solution to this, but I was in a rush, and that worked for me.