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.

noob wondering why cant i make a .htaccess file

Discussion in 'General Discussion' started by okkinz, Feb 5, 2010.

  1. okkinz

    okkinz Registered

    Joined:
    Feb 4, 2010
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    as the title shows. :)
     
  2. mtindor

    mtindor Well-Known Member

    Joined:
    Sep 14, 2004
    Messages:
    1,281
    Likes Received:
    37
    Trophy Points:
    48
    Location:
    inside a catfish
    cPanel Access Level:
    Root Administrator
    That certainly qualifies as not enough information. If you want help, you really should consider providing all the details necessary for somebody to help you out.

    1. Did you try?
    2. If so, how did you try?
    3. Where did you put it (directorywise)?
    4. Does it have the right owner/access permissions?
    5. Are you running SuPHP or not?
    6. What happens after you create/save .htaccess ?

    The more detail you can give, the better chance of you getting the help that you ask for :)

    Mike
     
  3. okkinz

    okkinz Registered

    Joined:
    Feb 4, 2010
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    i have wordpress installed and is asking me to make the .htaccess writable but i cant see it in the list so ive tried making one and end up with nothing.

    tried creating locally and upload it in public_html still not showing up.
     
  4. mtindor

    mtindor Well-Known Member

    Joined:
    Sep 14, 2004
    Messages:
    1,281
    Likes Received:
    37
    Trophy Points:
    48
    Location:
    inside a catfish
    cPanel Access Level:
    Root Administrator
    How are you uploading it? FTP? The file manager in Cpanel?

    If you are SSH'd in and using "ls", you won't see files that begin with a period unless you use something such as "ls -a"

    Mike
     
  5. okkinz

    okkinz Registered

    Joined:
    Feb 4, 2010
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    yes via FTP, sorry what is SSH'd. Im new here :) thank you.
     
  6. InstaCarma_Tech

    InstaCarma_Tech Well-Known Member

    Joined:
    Apr 22, 2009
    Messages:
    228
    Likes Received:
    1
    Trophy Points:
    18
    SSH refers to shell access (if you have any).
    As mtindor said above, files and folders starting with a period (.) do not get liste when you use a command like 'ls'. You will have to use additional parameters like 'ls -al'

    However, coming back to the original issue. Have you checked via File Manager whether the file .htaccess already exists under the folder public_html and if the permissions for the file and folder are correct.
    Recommended permissions are 644 for the file (.htaccess)
    750 for the folder (public_html)

    You can access File Manager by logging into cPanel. If the file doesn't exist then you can create it from there itself. You can also correct the permissions via File Manager.

    Get back with more details if the problem persists.
     
Loading...
Similar Threads - noob wondering cant
  1. Clouseau
    Replies:
    2
    Views:
    305

Share This Page