htaccess question

    Date: 01/06/07 (PHP Community)    Keywords: php

    Strictly speaking this is a question about .htaccess, but I'm using that to solve a problem with Wordpress and it's plugins which are PHP code I've been tinkering with. Hopefully someone has some ideas; I've not had any luck elsewhere.


    I'm using an extensively modified version of Bunny's Technorati Tags to tag my posts on a wordpress site. I've been trying to implement David Gagne's Hack (http://www.davidgagne.net/?p=6179) to make the tags link to my own site search rather than to technorati. Which involves using .htaccess to re-write tag urls to the search page.

    The difference between my site and Dave's (where it works) is that he is not using url re-writing on his article posts whereas I've used rewriting to have /category/title urls for posts.

    I've put the suggested rewrite rule into my .htaccess, but it still 404's and I've not managed to figure out a solution


    # BEGIN WordPress

    RewriteEngine On
    RewriteRule ^tags/([^/]+)$ /index.php?s=$1 [R]
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

    # END WordPress

    Suggestions?

    Source: http://community.livejournal.com/php/528621.html

« How to check if file exist... || Help with creating an... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home