Support » Fixing WordPress » when i activate permalink, I’m forbidden to access anything!

  • Resolved micasuh


    I don’t understand why this is happening. I’m on a linux server and it supports mod_rewrite, so I’m confused as to why this keeps happening! I’m using WordPress 2.0.1 and would really appreciate some suggestions. I’ve searched all over for an answer but nothing productive turns up. Thanks!

Viewing 13 replies - 1 through 13 (of 13 total)
  • bump for any answers!

    I did that, had to start over, grrrrr i feel you pain “daniel son!”

    When you configure your permalinks within WP, at the top of the page does it say successful or does it say you must now update your .htaccess file?

    I had a similar problem and all I had to do was put an .htaccess file in the root directory of my blog – the one that sits in the root directory of the site is not the one that was being modified.

    You also want to make sure this file is writable.

    Hope this helps.

    At first, I was getting the message saying that I didn’t have a file on the server or it wasn’t writable. So I then uploaded one and made it writable.

    Now when I make the change so that permalinks are available, the next thing that happens after I submit the change is that I get the Forbidden 403 error. Huh? 403? Why?!

    So before I even had an .htaccess file in the directory, it always said successful. But once I either copied the info into the .htaccess and saved it, or when I made the .htaccess writable and WP changed the information itself, I could and still can not access the blog or control panel area without deleting the .htaccess file itself.

    Yeap I’m in exactly the same position.

    WP 2.0 or 1.5.2 does not generate a .htaccess file. And when I add one it crashes with a 403 error.

    I’ve followed everything in the codex – How do you get WP to generate the file? Or how can i add one without it crashing?

    Can anyone shed light on this please?

    I actually just made a blank .htaccess file and uploaded it to the root of the blog folder where the index.php exists. I then made the permissions such that it’s writable (666). Then when I successfully add the right text into the .htaccess (or rather, let WP do this for me with the correct permission settings), I get the 403 error.

    What’s strange is that I’ve cross-checked all the settings with another website I’m designing and have no problems whatsoever! It doesn’t make any sense!

    I feel your pain.

    I can get it to generate the file now but I have the same problem as you. It crashes with a 403 error.

    This is my server config…

    Operating system Linux
    Kernel version 2.4.21-4.ELsmp
    Machine Type i686
    Apache version 1.3.33 (Unix)
    PERL version 5.8.4
    Path to PERL /usr/bin/perl
    Path to sendmail /usr/sbin/sendmail
    PHP version 4.3.10
    MySQL version 4.0.25-standard
    cPanel Build 10.8.1-RELEASE 30
    Theme cPanel X v2.5.0

    It’s doing my head in!

    SOLVED !!! 403’s no longer a problem and permalinks working.

    Try adding the following line at the top (the very first line) of .htaccess

    Options +SymLinksIfOwnerMatch

    (Refer to this post micasuh)

    I can’t explain why, but Clifford, that actually worked! But why? Does anyone else know the answer?

    Also, why the heck can’t I find these other posts to begin with? This WP Support area sucks.

    Thanks so much!

    Hey no problem – I’ve spent hours pulling my hair out too. I think this is an issue with servers running the older apache 1.3 series.

    In the end i searched using Google and it brought up that post eventually.

    And you’re right this support forum desperately needs an inbuilt search function.

    Happy blogging!

    Hey guys, I’ve had exactly the same problem as you guys (403s when a .htaccess was created). I tried the solution, but its not working for me. I’m a total noob when it comes to wordpress and .htaccess files so I’m not sure if I’ve edited the .htaccess file properly. Here’s what it looks like at the moment (not working):

    Options +SymLinksIfOwnerMatch
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /blog/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /blog/index.php [L]
    # END WordPress

    Is that what its meant to look like? Please Help! Cheers

    This is a reply to sleepedge.

    The .htaccess file that you are asking about is exactly how my .htaccess file looks like. Just make sure that the line which says RewriteBase /blog/ is pointing to the correct directory. I’m not sure why you’re still having problems after using this code.

    My issue is I changed my permalink structure from the default to date and time. Everything has worked except my one of my pages. 3 work and one doesn’t
    I forgot I needed to change the header to reflect the link changes but after I did this, the videos page still didn’t work.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘when i activate permalink, I’m forbidden to access anything!’ is closed to new replies.