A
A
Acko2018-02-25 15:46:48
Web development
Acko, 2018-02-25 15:46:48

html or php extension in browser address bar?

How is it possible to remove the html or php extension in the address bar if the site is written without cms; does anyone have a proven working solution? The question is that a couple of solutions from the network did not give the desired result (I tried to solve the problem on localhost openserver).

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Leonid Knyazev, 2018-02-25
@ayran

mod_rewrite for Apache or location for nginx.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question