Hi,
I am new in php i want to cahnge this url with mod rewrite
localhost/web/index.php?a=profile&u=user
to
localhost/web/user
i try with this rewrite but it does not work..
RewriteEngine on
RewriteRule ^([^/]*)$ /web/index.php?a=profile&u=$1 [L]
Plz help me to rewrite this url...

Try
RewriteEngine On
RewriteRule ^([^/]*)\ /web/index.php?a=profile&u=$1 [L]

nothing happened

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.