?Boggling my mind with Apache’s MOD_REWRITE modul for URL Rewriting a Tutorial or a help forum can really add to the tons of text to read in addition to the original Apache URL Rewriting doc and the Apache supplied URL Rewriting Guide ...
| Well anyway, after some hours of regular expression mind-twist I got my first URLs rewritten and all HTML-Google-entries now enter the PHP-pages correctly…
pfuu… now what to do next with this mega-feature?
|
|
update:
task: change all Urls of style:
</p> <p>http://weblog.cemper.com/archives/cat_hardware-by-tech-weblog.cemper.com.php</p> <p>
to
</p> <p>http://weblog.cemper.com/a/c/hardware.php</p> <p>
and all this with this little nifty RewriteRule
</p> <p>archives/cat\_(.+)-by-tech-weblog\.cemper\.com\.php$ /a/c/$1.php [R,NC,L]
easy,
Comments
Url Rewriting mind boggler
Dammit... the url rewriting caused a reject on trackback pings - fixed now, but lost a week of trackbacks
Url Rewriting mind boggler
Great site guys... Keep up the good work :)