• hpnpilot1200

    (@hpnpilot1200)


    I’ve updated my permalinks to contain %category% and had to chmod my .htaccess to 666 for WP 2.0.1 to correctly update the permalink.

    …my problem is when I chmod it to 660 (as the “Using Permalinks” document says to do, I receive a 404 error on ALL of my blog pages.

    Thanks for any help,

    Jason H.
    WP 2.0.1

Viewing 3 replies - 1 through 3 (of 3 total)
  • whooami

    (@whooami)

    something tells you to chmod 660? uh, thats not going to work .

    for files to be readable they need to be atleast 644.

    try that, instead.

    nice tutorial on chmod and permissions:

    https://catcode.com/teachmod/

    Thread Starter hpnpilot1200

    (@hpnpilot1200)

    Hi there,

    chmod 644 worked perfectly. I was referring to this from the “Using Permalinks” wordpress codex (https://codex.www.ads-software.com/Using_Permalinks):

    “You must chmod the .htaccess file to 666 to edit it with the WordPress template editor. Do not leave your file’s permissions set to 666 as it may be accessible by anyone. After applying the permalinks, change the permissions to something stronger, like 660, to protect it.”

    Thanks again!

    Jason

    whooami

    (@whooami)

    welp, whoever wrote that obviously doesnt understand *NIX permissions.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘.htaccess chmod 666 and then to 660 and 404 error appears’ is closed to new replies.