settingsLogin | Registersettings
Become an active member here and get FREE Marketing/SEO Software and FREE Advertising.
Show Menu

Will modifying .htaccess provide a good way to prevent malware on my WordPress site?

+1 vote

Many tips on the WordPress about WordPress security recommend making changes to .htaccess. Are these changes likely to be a good way of protecting a WordPress site?

asked Nov 4, 2013 in Miscellaneous by andrewwilson (9,160 points)  
76% Accept Rate

1 Answer

+1 vote
Best answer
That may be one way to keep hackers at bay. Depending on how you do it, it may or may not be effective. Sometimes it comes down to how your host configures their servers. If they are not secured, your sites hosted there won't be either. If you use Wordpress, a good plugin to use is a free one called Bulletproof Security. It does modify your .htaccess files for you. it also alerts you to some .htaccess files that are nested by other plugins you may have installed on a WP site that need to be secured as well. It's a good fix if you know little about modifying the access files. Each time you update certain things BS lets you know if those files must be modified again to remain safe. A dashboard lets you control such things. With HTML based sites, many hosts have instructions available to work with the access files so they work witrh their servers. I have noticed that on some host's servers you must get rid of the preceeding period in the file name to copy, move or work with it. Then you can add it in once you have it placed or modified where you want it. A little annoying quirk that has to be worked around sometimes. The period must be there for it to be of use.
answered Nov 5, 2013 by geekability (18,680 points)  
selected Nov 16, 2013 by andrewwilson
Install our WordPress Plugin to show related Questions on your blog and earn JL Points!

Related questions

+1 vote
4 answers 158 views
0 votes
3 answers 64 views
If you've got Internet Marketing or Search Engine Optimization (SEO) questions, we've got answers. If you've got knowledge to share, then you're welcome here. A truly collaborative community helping each other to succeed.
Sponsored by

2,784 questions

6,873 answers


11,126 users