• I tried to make my permalinks ‘clean’, so I created a .htaccess file as instructed and placed the code that was given by wordpress. I uploaded the code and then tried to access my site, but all I get is a 403 forbidden error. My code is as follows:
    RewriteEngine On
    RewriteBase /wordpress/
    RewriteRule ^node/category/(.*)/(feed|rdf|rss|rss2|atom)/?$ /wordpress/wp-feed.php?category_name=$1&feed=$2 [QSA]
    RewriteRule ^node/category/?(.*) /wordpress/index.php?category_name=$1 [QSA]
    RewriteRule ^node/author/(.*)/(feed|rdf|rss|rss2|atom)/?$ /wordpress/wp-feed.php?author_name=$1&feed=$2 [QSA]
    RewriteRule ^node/author/?(.*) /wordpress/index.php?author_name=$1 [QSA]
    RewriteRule ^node/([0-9]+)?/?([0-9]+)?/?$ /wordpress/index.php?p=$1&page=$2 [QSA]
    RewriteRule ^node/([0-9]+)/(feed|rdf|rss|rss2|atom)/?$ /wordpress/wp-feed.php?p=$1&feed=$2 [QSA]
    RewriteRule ^node/([0-9]+)/trackback/?$ /wordpress/wp-trackback.php?p=$1 [QSA]
    RewriteRule ^feed/?([_0-9a-z-]+)?/?$ /wordpress/wp-feed.php?feed=$1 [QSA]
    RewriteRule ^comments/feed/?([_0-9a-z-]+)?/?$ /wordpress/wp-feed.php?feed=$1&withcomments=1 [QSA]
    I don’t know what the problem is.

Viewing 5 replies - 1 through 5 (of 5 total)
  • What version of wp are you using ?
    And did wp generate the ‘node’ that is being used ?
    And is the above the entire .htaccess file ?

    Thread Starter Anonymous

    I’m using WP 1.2; I’m using the word node instead of archives; and that’s all the code that is included in the .htaccess file

    yea, i’m getting the same error when I try to use permalinks.
    this is my current .htaccess file
    DirectoryIndex index.php
    RewriteEngine On
    RewriteBase /
    RewriteRule ^post/category/(.*)/(feed|rdf|rss|rss2|atom)/?$ /wp-feed.php?category_name=$1&feed=$2 [QSA]
    RewriteRule ^post/category/?(.*) /index.php?category_name=$1 [QSA]
    RewriteRule ^post/author/(.*)/(feed|rdf|rss|rss2|atom)/?$ /wp-feed.php?author_name=$1&feed=$2 [QSA]
    RewriteRule ^post/author/?(.*) /index.php?author_name=$1 [QSA]
    RewriteRule ^post/([0-9]{4})?/?([0-9]{1,2})?/?([_0-9a-z-]+)?/?([0-9]+)?/?$
    /index.php?year=$1&monthnum=$2&name=$3&page=$4 [QSA]
    RewriteRule ^post/([0-9]{4})/([0-9]{1,2})/([_0-9a-z-]+)/(feed|rdf|rss|rss2|atom)/?$
    /wp-feed.php?year=$1&monthnum=$2&name=$3&feed=$4 [QSA]
    RewriteRule ^post/([0-9]{4})/([0-9]{1,2})/([_0-9a-z-]+)/trackback/?$ /wp-trackback.php?year=$1&monthnum=$2&name=$3
    [QSA]
    RewriteRule ^feed/?([_0-9a-z-]+)?/?$ /wp-feed.php?feed=$1 [QSA]
    RewriteRule ^comments/feed/?([_0-9a-z-]+)?/?$ /wp-feed.php?feed=$1&withcomments=1 [QSA]

    did you ever resolve this ?

    Im having the same problem with .htaccess and error 500 — I tried changing permissions on the file – and uploading the file directly via server file manager with no luck.

    When I got an error 500 with .htaccess it was because mod_rewrite wasn’t installed on the server – ask your administrator if you have it.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘permalink – htaccess error’ is closed to new replies.