I am not really familiar with apache modrewrite
I have url parameters such as {domain}/index.php?blog=5
i simply want to make it {domain}/home.php?client=5
Is it a task as simple as it sounds and can anyone help ?
I am not really familiar with apache modrewrite
I have url parameters such as {domain}/index.php?blog=5
i simply want to make it {domain}/home.php?client=5
Is it a task as simple as it sounds and can anyone help ?
The following might work, give it a try
RewriteCond %{REQUEST_URI} ^/home.php [NC]
RewriteCond %{QUERY_STRING} client=([0-9]+) [NC]
RewriteRule (.*) http://%{REMOTE_HOST}/index.php?blog=%1 [L]