Title: .htaccess file problems
Last modified: August 20, 2016

---

# .htaccess file problems

 *  [kaiwinyeung](https://wordpress.org/support/users/kaiwinyeunggmailcom/)
 * (@kaiwinyeunggmailcom)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/htaccess-file-problems-1/)
 * Hey hello WordPress friends 🙂
 * **A brief description of my problem:**
    My .htaccess file has no coding at all
   in it, it’s just empty. Can you point me to anywhere that will show me what sort
   of coding should be in there…….?
 * I have 2 warnings from 2 of my security plugins:
    From BulletProof Security, “
   BPS Alert! An htaccess file was NOT found in your wp-admin folder.”
 * And from Ultimate Security Checker, “Files & folders permission check: Your .
   htaccess is unsecured!”
 * **A detailed description of my problem:**
    About 2 weeks ago my website was hacked.
   I tried to “fix” it about a week ago, and tried my best to increase the website’s
   security. The thing is I”m not at all an expert with these things 🙁 And I think
   I made a mess.
 * The mess I made, I think, was when I installed a plugin called “Ultimate Security
   Checker”. I don’t know how familiar you are with that, but it works through a
   check list of items that would improve security. The one I think I messed up 
   is changing a setting within the .htaccess file, or changing it’s location… or
   something and I really can’t remember what I did 🙁
 * Now I can’t publish new blog posts to make them visible at [http://whiteheightsmedia.com/blog/](http://whiteheightsmedia.com/blog/)
   
   The post will be published actually (for example [http://whiteheightsmedia.com/2012/08/test/](http://whiteheightsmedia.com/2012/08/test/))
   but won’t be visible at our blog address.
 * And now I’m receiving 2 warnings, 1 from the Ultimate Security Checker, which
   says, “Files & folders permission check: Your .htaccess is unsecured!”
    The other
   from BulletProof Security, which says, “BPS Alert! An htaccess file was NOT found
   in your wp-admin folder”
 * I called our website hosts yesterday, and the guy at first tried to fix the .
   htaccess file… but then the whole website went down (some warnings came up when
   trying to view the various pages). I uploaded a back up of the website and we
   can now view it again.
 * HOWEVER, that back up was made AFTER the hackers made a mess of everything, and
   it includes the stuffed up .htaccess file. I had a final conversation with the
   friendly support dude today. He showed me how to access and edit the .htaccess
   file in my Cpanel (but couldn’t show me where to find it among the folders). 
   I could see there’s no coding at all in the file. But the support dude didn’t
   dare to do anything again to the .htaccess file again…
 * So even though I’m not at all any kind of web expert, from all of my reading 
   over the last few days, I think the problem is with my .htaccess file. Even though
   I can see there’s no code in the .htaccess file, I’m not sure how to repair it,
   or even what sort of code should be in there.
 * Can anyone please help? I would be happy to be pointed in the right direction
   to find what code I can copy and then paste into my .htaccess file… Some simple
   solution like that 🙂
 * Eagerly awaiting your help 😀
    ~Kaiwin Here is my photography website, if it 
   helps: [http://whiteheightsmedia.com](http://whiteheightsmedia.com)

Viewing 1 replies (of 1 total)

 *  [Pothi Kalimuthu](https://wordpress.org/support/users/pothi/)
 * (@pothi)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/htaccess-file-problems-1/#post-2957084)
 * Hi Kaiwin,
 * I see there are two issues.
 * – Security – I’m no expert in this field. So, not much to say. You may want to
   go through [an article on hardening WordPress](http://codex.wordpress.org/Hardening_WordPress).
 * – On posts, not appearing on the /blog/ section of your site, it could be an 
   issue with your site’s [permalinks](http://codex.wordpress.org/Using_Permalinks).
   You may want to [update the permalinks](http://codex.wordpress.org/Settings_Permalinks_Screen)
   that should put the necessary code in the correct `.htaccess` file of your site.
 * Hope this helps.
 * Pothi

Viewing 1 replies (of 1 total)

The topic ‘.htaccess file problems’ is closed to new replies.

## Tags

 * [hacked](https://wordpress.org/support/topic-tag/hacked/)
 * [Hackers](https://wordpress.org/support/topic-tag/hackers/)
 * [hacking](https://wordpress.org/support/topic-tag/hacking/)
 * [htaccess](https://wordpress.org/support/topic-tag/htaccess/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Pothi Kalimuthu](https://wordpress.org/support/users/pothi/)
 * Last activity: [13 years, 10 months ago](https://wordpress.org/support/topic/htaccess-file-problems-1/#post-2957084)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
