Safu Safu - 3 months ago 13x
PHP Question

Hide page name in url using htaccess in php

here is my url

In this url i want to hide index.php using htaccess. So result should be

Here is my .htaccess file what i tried so far

<IfModule mod_rewrite.c>
Options -Multiviews
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^/ index.php?$1 [L]

After this i am getting 404 not found . Please help me to solve this problem.


here you go

RewriteRule ^(.*) index.php?$1 [L]