The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    14,480
    Likes Received:
    203
    Trophy Points:
    63
    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.
     
Loading...

Share This Page