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.

how do i get mod rewrite working

Discussion in 'General Discussion' started by dakkafex, Oct 21, 2013.

  1. dakkafex

    dakkafex Member

    Joined:
    Jul 19, 2013
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    so how do i get mod rewrite working, because its not.

    and the solutions from google are to vague for me.


    the module is loaded in apache, but the .htaccess files arent doing anything
     
    #1 dakkafex, Oct 21, 2013
    Last edited: Oct 21, 2013
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Could you elaborate on what aspect of Mod_Rewrite is not working? For instance, what rules have you added, and what are you expecting the rules to do?

    Thank you.
     
  3. dakkafex

    dakkafex Member

    Joined:
    Jul 19, 2013
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    wel for starters the wordpress permalinks, they provide me with what i have to put in my .htaccess file, but that is not working
     
  4. dakkafex

    dakkafex Member

    Joined:
    Jul 19, 2013
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    problem solved, .htaccess wasnt set to 666
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    It's highly discouraged to use 0666 permissions on a file. I recommend consulting with a developer or with the WordPress community to find alternatives to this practice, or to help understand why the script is requiring those permissions.

    Thank you.
     
  6. wiziwiz

    wiziwiz Registered

    Joined:
    Mar 10, 2014
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    what permissions should .htaccess have?
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    File permissions on .htaccess files used by your website should be 0644.

    Thank you.
     
Loading...

Share This Page