Rewrite rule for changing url?

Sorry, can't format code in a commet. This is to answer the question: May you please tell me what is RewriteCond Something like this: RewriteEngine On RewriteCond %{REQUEST_URI}! /save.

Php RewriteRule ^(.*)$ save. Php? Id=$1 If the URI doesn't have /save.

Php in it, then it will rewrite.

This should do: RewriteEngine On RewriteRule ^(.*)$ save. Php? Id=$1.

1 hey,This $1 is printing save. Php not the given value – Ankit Gautam Nov 11 at 9:02 Then debug. What URL do you use, what's in your PHP file, what do you see in your browser, what do you expect.

– CodeCaster Nov 11 at 9:08 1 It's because the RewriteEngine doesn't stop until the rewritten path is the same as the original path, so it goes through twice, first time it rewrites to save. Php? Id=something, then it goes through again and rewrites to save.

Php? Id=save. Php, sees that both target and path are same and stops.

You need a RewriteCond to prevent rewriting if the URI starts with /save. Php – Jon Lin Nov 11 at 9:17 1 what is go in last comment? – Ankit Gautam Nov 11 at 9:18 1 Mr. Jon lin May you please tell me what is RewriteCond – Ankit Gautam Nov 11 at 9:19.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions