hello ppl :)
i use .htaccess for my PHP site to redirect without changing the URL in the adress bar
for example: http://www.example.com/news/This.is.a.new
my .htaccess sends from /news/ folder sends the user to http://example.com/news.php?id=142151 ... and i can't send another variable to the http://www.example.com/news/ folder because is redirected to news.php?id... i want to do a category Sports for example http://www.example.com/news/Sports/ and not being redirected!
Options +FollowSymlinks
RewriteEngine on
RewriteBase /
RewriteRule ^([^/]+)/(.*)$ news.php?id=$1 [L]
how can i change the Rule in .htaccess to send (subpages) to http://www.example.com/news/index.php?page=sports for example! ?
any ideea?:) thanks!