Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

I accidentally deleted .htaccess file and my site is not opening now

Discussion in 'General Discussion' started by Iknow1thing, Feb 14, 2013.

  1. Iknow1thing

    Iknow1thing Registered

    Joined:
    Feb 14, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hello Forum gurus

    domain.com/wp-admin was not working and I randomly read internet saying deleting .htaccess file will fix the problem. With out creating a backup I deleted the file.:(

    Now what should I do to get back my site to normal.
    Thanks in advance.
     
    #1 Iknow1thing, Feb 14, 2013
    Last edited by a moderator: Feb 14, 2013
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,243
    Likes Received:
    385
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    If it was customized, you'll need to grab it from a backup, if possible.

    If it was never touched, you should be able to download a copy of wordpress from the wordpress.org site and extract the .htaccess from that and upload to your public_html directory I believe.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice