i want to show only domain name in address bar. i am new in programming nd using core php. my .htaccess code is:
<IfModule mod_rewrite.c>
RewriteBase /
Options +FollowSymlinks -MultiViews
RewriteEngine on
# to make `/path/index.php` to /path/
RewriteCond %{THE_REQUEST} ^GET\s(.*/)index\.php [NC]
RewriteRule . %1 [NE,R=301,L]
RewriteCond %{THE_REQUEST} ^GET\s.+\.php [NC]
RewriteRule ^(.+)\.php$ /$1 [NE,R=301,L,NC]
RewriteCond %{REQUEST_URI} !\.php$ [NC]
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule . %{REQUEST_URI}.php [L]
</IfModule>
this is working fine but it shows the result like this http://mysite.com/about http://mysite.com profile_view?name=Apoorva%20Chauhan%20GMAIL%20&&%20user_type=User
i just want to hide complete url expect my domain name. url should be like this www.mysite.com/ no matter which link i clicked. and above code only hide index.php completely. My project deadline is already over i wasted 1 week on this topic. but i failed. Please help me. Thanks In Advance.