Showing results for 
Show  only  | Search instead for 
Did you mean: 
Go to solution

URL redirect discovered in htcaccess.txt file

Was notified by a customer this morning that our site was redirecting off of a google search results page. When I checked our host files using filezilla, noticed that our htcaccess.txt file had been edited a few days ago and we did not do that!  I removed the bad line of code and all is well.


How do I prevent this from happening again?


Thank you!! 

Community Manager
Community Manager

Re: URL redirect discovered in htcaccess.txt file

Hi @teafortwo. Thanks for being part of GoDaddy Community! I haven't heard of issues with a htaccess.txt file, but what you've described can happen with a .htaccess file, so perhaps that's what you're referring to. Either way, you can take a good look at this Sucuri post for some good advice on securing your website. I hope it helps!


JesseW - GoDaddy | Community Manager | 24/7 support available at | Remember to choose a solution and give kudos.