.htaccess help (11 posts)

  1. Spaceboog
    Posted 11 years ago #

    my permalinks wont work and i have noticed that i need to edit the ".htaccess" file... but i can not find it.
    What is it?
    Where is it?
    any help would be great

  2. Spaceboog
    Posted 11 years ago #

    do i need to make the folders myself for the archives?
    and i created a .htaccess file by just pasteing the info given to me... is that it?

  3. Mark (podz)
    Support Maven
    Posted 11 years ago #

    WP will create the .htaccess code itself.
    Options > Permalinks
    paste the suggested default structure into the higher box
    click button on bottom right
    Code will appear at base of page

    Right click in that box
    Select All
    Paste into Notepad

    Save as "htaccess.txt"
    Upload to server
    change it's name to .htaccess

    Job done :)

    And archive folders ? Nope, WP handles all that.

  4. Spaceboog
    Posted 11 years ago #

    i did the text thing and now when i click any permalinks to a archive i get the following error:
    The page cannot be found
    The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.

  5. Spaceboog
    Posted 11 years ago #

    i also noticed that i can not set the permission to 666, but its set at 777 is that a problem?
    please help
    i created the file as a text file, then uploaded and changed its name... why wont it work

  6. James Huff
    Support Representative
    Posted 11 years ago #

    No, 777 is very bad. 777 makes .htaccess readable, in a browser, by everyone. If you used .htaccess to password protect certain directories on your site, everyone would be able to view the password. Please read this for how to set permalinks and get around certain problems:


  7. Spaceboog
    Posted 11 years ago #

    i got this message from my server company:
    "It's a windows server and you can't use .htaccess
    You have full permission at your webspace"

    so now what do i do for permalinks?
    i tried using index.php but i get the error that says: no input file...
    please help..

  8. deydas
    Posted 11 years ago #

    If you are using Apache, .htaccess should work but it won't work on IIS and other. First confirm from your host whether you are using Apache or not.
    If you are using Apache, and .htaccess still does not work, you might want to use the AccessFileName Directive to force Apache to look into .htaccess. More info is here: http://httpd.apache.org/docs/mod/core.html#accessfilename .

  9. Spaceboog
    Posted 11 years ago #

    i read that and they have mentioned apache... but i dont know what to do with http://httpd.apache.org/docs/mod/core.html#accessfilename
    i have no access to my stuff other than via http://ftp...

  10. doctorvee
    Posted 11 years ago #

    I have a separate problem with the mod_rewrite stuff..

    I changed my permalink structure to /%year%/%monthnum%/%postname%/ . I changed my .htaccess file, and everything seems to be okay apart from the calendar links which all point to http://www.doctorvee.co.uk/%yea . Does anybody know what's up?

  11. UncleSam
    Posted 11 years ago #

    I seem to be having the same problem. In my case, the permalinks template indicates /%pos (because I have /%post-id%/ in the template). I think, it cuts the link somewhere, or something

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.