Support » Fixing WordPress » Permalink help w/ mod_rewrite

  • I recently installed WP and I’ve been trying to get my permalinks working (without explicitly referencing index.php). Currently, the permalinks should forward to mydomain.com/%postname%/. But obviously. . . it doesn’t. Every permalink spits back a 404 error. I checked my error logs and yes, all errors are 404’s. Naturally, that would leave me to believe my RewriteBase is misspecified. However, I’ve tried MANY possible path combinations (my site is on DreamHost and they’re no help) to no avail. I’ve included the contents of my .htaccess file below: it is what WP generated verbatim. Yes, PHP is running as an Apache module. No, .htaccess is NOT writable.
    I’d REALLY appreciate some help here. Really, undying thanks type appreciation. I’ve checked many sites, boards, and blogs but I haven’t found exactly what’s wrong yet and this is outside of my areas of expertise. GAHHH! Help!
    – – – cut here – – –
    RewriteEngine On
    RewriteBase /
    RewriteRule ^category/(.*)/(feed|rdf|rss|rss2|atom)/?$ /wp-feed.php?category_name=$1&feed=$2 [QSA]
    RewriteRule ^category/?(.*) /index.php?category_name=$1 [QSA]
    RewriteRule ^author/(.*)/(feed|rdf|rss|rss2|atom)/?$ /wp-feed.php?author_name=$1&feed=$2 [QSA]
    RewriteRule ^author/?(.*) /index.php?author_name=$1 [QSA]
    RewriteRule ^([_0-9a-z-]+)/?([0-9]+)?/?$ /index.php?name=$1&page=$2 [QSA]
    RewriteRule ^([_0-9a-z-]+)/?/(feed|rdf|rss|rss2|atom)/?$ /wp-feed.php?name=$1&feed=$2 [QSA]
    RewriteRule ^([_0-9a-z-]+)/?/trackback/?$ /wp-trackback.php?name=$1 [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]
    – – – cut here – – –

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.