Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & phranque

Message Too Old, No Replies

Mod rewrite

How to get rid of? marks



11:10 am on Nov 13, 2002 (gmt 0)

Inactive Member
Account Expired


How do I get rid of two variables on one string?


As u can see there are to? marks I would Like to ged rid of them both, I have got one of the variables away.. but how can I remove the second?

Yours Faithfully
Jens Mikkelsen

[edited by: jatar_k at 10:58 pm (utc) on Nov. 13, 2002]
[edit reason] generalized url [/edit]

10:57 pm on Nov 13, 2002 (gmt 0)


WebmasterWorld Administrator jatar_k is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 24, 2001
votes: 0

Welcome to WebmasterWorld [webmasterworld.com] need4speed

I know there are some very good threads around about mod rewrite, I can't seem to find the one I am thinking of though.

You can also try the "site search" at the top of the page.

3:32 am on Nov 14, 2002 (gmt 0)

Junior Member

10+ Year Member

joined:May 2, 2002
votes: 0

And indeed there are!
I came here a few months ago seeking the same kind of knowledge, Need4Speed.
Check the Rewrite Guide [httpd.apache.org] and do as Jatar_K says, very good threads around here.
In your httpd.conf file or virtualhosts.conf file you need to start by starting the Rewrite Engine, then make a rule and how to rewrite it:

RewriteEngine On
RewriteRule ^/some/path/(.*)/(.*)/some\.php$ /rewrite/to_another/path_if_you_wish/goto.php?side=$1&id=$2 [PT,L] # this should be one continous line

That's about it...

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members