Cannot find my .htaccess file? I'm using word press hosted with host gator

Discussion in 'HTML & Website Design' started by aRollingStone, Jan 3, 2011.

  1. #1
    This is probably a simple problem, but this is my first attempt at using wordpress.

    I've installed WP Super Cache, and have been following this guide

    http://www.wpbeginner.com/beginners-guide/how-to-install-and-setup-wp-super-cache-for-beginners/

    and then it links to this guide
    http://www.wpbeginner.com/wp-tutorials/seo-friendly-url-structure-for-wordpress/

    I update my permalinks to

    Custom /%category%/%postname%/

    The guide says that "Your .htaccess file will automatically be updated, and your URL will be changed. "

    Except when I click save changes I receive the message

    "You should update your .htaccess now."

    With this written at the bottom

    "If your .htaccess file were writable, we could do this automatically, but it isn’t so these are the mod_rewrite rules you should have in your .htaccess file. Click in the field and press CTRL + a to select all."

    And some code under it

    I am hosting with host gator. I have no idea where to find my .htaccess file?

    Also, the guide says

    "ou need to scroll down on the WP Super Cache option page screen until you see the Mod Rewrite Rules Section."

    I cannot find this section anywhere!

    Any help is EXTREMELY appreciated. Thank you
     
    aRollingStone, Jan 3, 2011 IP
  2. Hostrine.com

    Hostrine.com Peon

    Messages:
    25
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    restricted by your Hoster but there is a way to open .htaccess file too.

    Goto your root directory and Edit any php file like index.php it will open in Editor of cpanel and you will see like

    Editing: /Home/yourdomain/public_html/index.php

    just change index.php to .htaccess and press Enter it will open .htaccess file

    /Home/yourdomain/public_html/.htaccess

    Edit and save it !!
    Njoy ;)
     
    Hostrine.com, Jan 3, 2011 IP
  3. Rick Krenz

    Rick Krenz Peon

    Messages:
    25
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    to find .htaccess...
    log into Cpanel...
    then goto File Manager...
    then goto Web Root(usually already selected)...
    once you are inside the file manager you will see .htaccess underneath the last folder...
    you can use the code editor inside the file manager by highlighting .htaccess and then clicking on the code editor in the middle of the top menu....
    then add the code that needs to be added....
    then hit save on the top right.

    WP Super Cache is usually located in the tools section in your wp-admin... if I am wrong... I do apologize... I am doing this all from memory
     
    Rick Krenz, Jan 3, 2011 IP
  4. aRollingStone

    aRollingStone Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thank you both!!!! Extremely helpful =)
     
    aRollingStone, Jan 3, 2011 IP
  5. mbadboyz

    mbadboyz Greenhorn

    Messages:
    65
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    20
    #5
    best way to see the .htaccess file, is in the FTP server such as Cute FTP or filezilla. in the root: public/.... folder

    enjoy
     
    mbadboyz, Jan 4, 2011 IP