permalink – htaccess error
-
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.
- The topic ‘permalink – htaccess error’ is closed to new replies.