A
A
Alexander Interesting2021-06-21 17:44:30
htaccess
Alexander Interesting, 2021-06-21 17:44:30

How to translate example.com/news.php into example.com/?page=news?

How to translate example.com/news.php into example.com/?page=news ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Viktor Taran, 2021-06-21
@Swimergg

RewriteRule ^example\.com/(.+)\.php$ /\?page=$1 [L,R=301]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question