Answer the question
In order to leave comments, you need to log in
How to remove view.php?= from link?
I'm not strong in .htaccess and even tried to create rewrite in generators, but in the end my localhost gave 500 internal error, so I went here.
There is http://localhost/view.php?={page_name }
How to remove view.php?=
Leaving {page_name} ie = http://localhost/{page_name }
Answer the question
In order to leave comments, you need to log in
RewriteEngine On
RewriteCond %{QUERY_STRING} (?:^|&)\=(.+)(?:$|&)
RewriteRule ^view\.php$ /%1? [L,R=301]
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question