Forums

Need help with Permalinks. Getting 403 & 500 (9 posts)

  1. MAVIC
    Member
    Posted 5 years ago #

    I've read the permalinks setup page, searched the forum a bunch and googled as well. This seems to be a common issue but the tips I've found so far have been unfruitful. Right now it seems like it might be the Apache version.

    WP is running on:

    Apache/1.3.33
    PHP/4.4.0
    MySQL 4.1.11

    When I enable permalinks and either let it write to the .htaccess file or I copy & paste to it, I get a 403 when I try to access any pages on the site. Here's the contents of the .htacess file:

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

    I've also tried:
    # BEGIN WordPress

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    <Directory />
       Options FollowSymLinks
       AllowOverride All
    </Directory>
    # END WordPress

    But that gives me a 500.

    WP is installed in the root. The structure I'm going for is:
    /%category%/%postname%/
    But even when I try Date and name based, I still get a 403.

    Thanks.

  2. MAVIC
    Member
    Posted 5 years ago #

    I'm still trying to figure this one out. Thanks.

  3. Chris_K
    Member
    Posted 5 years ago #

    Lots of troubleshooting at the Permalinks page.

    In particular, have you confirmed that your host has mod_rewrite and AllowOverride properly on and enabled?

  4. MAVIC
    Member
    Posted 5 years ago #

    HandySolo,

    Thank you for your reply.

    I've tried everything on that page (was using this URL, looks like they're the same http://codex.wordpress.org/Using_Permalinks ) but one issue remains: how do I tell if AllowOverride is properly enabled?

    mod_rewrite is on.

    I have tried 666, 755 and 777 for the permissions. I can get WP to write the file, but once the contents are there, it throws the 403. I commented out each line of the file to see where the problems occur. If any of these three lines is enable I get a 403:

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

    I am not using FrontPage. The permalinks are rather short (eg, domain.com/category/page/)

    Thanks again.

  5. Chris_K
    Member
    Posted 5 years ago #

    AllowOverride tends to be set in the apache config, if you don't have access to it, you'll need to ask your host.

    Speaking of which, who is your host? There are some hosts where permalinks will flat-out never work...

  6. MAVIC
    Member
    Posted 5 years ago #

    I only have FTP access to the server. I'm not entirely sure who the host is, but it doesn't appear to be any big time host. For example, although phpMyAdmin is installed, it shows all DBs on the system but you just can't see the tables for all of the other ones. That seems a little unprofessional to me.

    I got everything setup and running on DreamHost, then did a clean install of WP on the current host, exported the content, imported it... I've done several custom themes for WP and thus several installs of it, but those have all been on DH.

    Hopefully I'll soon hear back from my contact on what the host says about AllowOverrides.

  7. MAVIC
    Member
    Posted 5 years ago #

    The host is refusing to answer the question if AllowOverride is enabled. Apparently it's beneath him to answer that question. I've installed WP fine on several other hosts, this is the first time I've used this one.

  8. jonez
    Member
    Posted 4 years ago #

    I'm having this precise problem with Hostway.com now. I'm working with them, and if they solve the issue, I'll update this thread.

  9. jonez
    Member
    Posted 4 years ago #

    Yay! See my solution here: http://wordpress.org/support/topic/145985

Topic Closed

This topic has been closed to new replies.

About this Topic