security - How can i remove specific characters from htaccess or redirect such URL -


i have url's

eg

abc.com/page.php?page=abc

and

abc.com/page.php?page=abc/yzy

now want either remove ' / ' parameter , rewrite url or redirect abc.com

hello can use mod_rewrite if using apache easily. http://httpd.apache.org/docs/current/mod/mod_rewrite.html

here have tutorial it: http://www.sitepoint.com/guide-url-rewriting/

it module kind of things. if need more it.


Comments