Forum Moderators: phranque

Message Too Old, No Replies

Automated string addition (except for search engines)

         

Ian Cunningham

4:49 pm on Oct 10, 2003 (gmt 0)

10+ Year Member



This is a semi-complicated mod_rewrite code, which I dont have the skill to write :( I have read the apache manual, but I would really like some help with what I am trying to achieve :)

I have pages like index.php and article.php?id=20 at the moment.

I would like mod_rewrite to convert these (visably to the user) to index.php?txt=%20%69 and article.php?id=20&txt=%20%69.

Ideally, it would not do this for seach engines - as they will not be able to spider the site.

Is anyone able to help me with this?

DaveAtIFG

11:26 pm on Oct 13, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hello and welcome to WebmasterWorld Ian_Cunningham! :) I promise you're not being ignored. If you review the Charter [webmasterworld.com] for this forum, the last paragraph, you will note that we try to limit mod_rewrite discussions to topics not already discussed.

A quick search will uncover many examples of replacing and modifying terms in URLs and some good resources to help you learn to do this. If you post YOUR solution, our regulars are always quite happy to help you debug it (if needed ;) ).