This is my htaccess file:
Options -Multiviews
RewriteEngine on
RewriteBase /
RewriteRule ^index.php$ / [L,R=301]
RewriteRule ^(.+)/index.php$ /$1/ [L,R=301]
This has successfully removed index.php but left ? before query string like
http://example.com/?type=1
How can I remove this '?' using htaccess
Also, how can I actually show above url as:
http://example.com/type/1