• tcloer

    (@tcloer)


    Also, i have a problem with the permalink options. I have set the virtual archive structure to “/archives/%year%/%monthnum%/%day%/%postname%/”.
    WP then gives me the following rules for my .htaccess file:
    RewriteEngine On
    RewriteBase /
    RewriteRule ^(.*)/(feed|rdf|rss|rss2|atom)/?$ /wp-feed.php?category_name=$1&feed=$2 [QSA]
    RewriteRule ^?(.*) /index.php?category_name=$1 [QSA]
    RewriteRule ^?(.*) /index.php?category_name=$1 [QSA]
    RewriteRule ^archives/author/(.*)/(feed|rdf|rss|rss2|atom)/?$ /wp-feed.php?author_name=$1&feed=$2 [QSA]
    RewriteRule ^archives/author/?(.*) /index.php?author_name=$1 [QSA]
    RewriteRule ^archives/author/?(.*) /index.php?author_name=$1 [QSA]
    RewriteRule ^archives/([0-9]{4})?/?([0-9]{1,2})?/?([0-9]{1,2})?/?([_0-9a-z-]+)?/?([0-9]+)?/?$ /index.php?year=$1&monthnum=$2&day=$3&name=$4&page=$5 [QSA]
    RewriteRule ^archives/([0-9]{4})?/?([0-9]{1,2})?/?([0-9]{1,2})?/?([_0-9a-z-]+)?/?([0-9]+)?/?$ /index.php?year=$1&monthnum=$2&day=$3&name=$4&page=$5 [QSA]
    RewriteRule ^archives/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([_0-9a-z-]+)/(feed|rdf|rss|rss2|atom)/?$ /wp-feed.php?year=$1&monthnum=$2&day=$3&name=$4&feed=$5 [QSA]
    RewriteRule ^archives/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([_0-9a-z-]+)/trackback/?$ /wp-trackback.php?year=$1&monthnum=$2&day=$3&name=$4 [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]
    When i put those in, i’m getting a http 500 error and see nothing on my site at all.
    Any idea??
    Regards, Thomas

Viewing 6 replies - 1 through 6 (of 6 total)
  • MaxT

    (@maxt)

    U might have no permissions to use RewriteEngine… some hosts not allow it… or you have something more in your .htaccess. Save it as htaccess.txt and link to it.

    clay

    (@clay)

    Thread Starter tcloer

    (@tcloer)

    I have switched back to 2004-05-03 for now.
    And everything works again. No idea how come – has something to do with my other problem. maybe.

    Anonymous

    had the same thing happen

    randybrown

    (@randybrown)

    Me too.
    My install was working fine until I added a new entry today. (Running latest CVS.)
    Would appreciate a clue. Will try switching back…..
    <rb>

    randybrown

    (@randybrown)

    I switched back to 5/3 and all is well. I needed to delete the .htaccess file in order to gain initial access. Then, recreated it.
    Funny glitch. Interested in finding out what was changed to cause this….?
    <rb>

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘2004-05-05: mod_rewrite problem’ is closed to new replies.