0

I have navigation uris like this

/pages/index.php?page=gallery
/pages/index.php?page=users

I want to make it so it simply shows the following

/Page/Users
/Page/Gallery

How can I accomplish this, using mod_rewrite, and can you explain me how it works?

  • 1
    Possible duplicate of [Reference: mod\_rewrite, URL rewriting and "pretty links" explained](https://stackoverflow.com/questions/20563772/reference-mod-rewrite-url-rewriting-and-pretty-links-explained) – vijoc Mar 06 '18 at 06:54
  • with JS ? let see history function https://developer.mozilla.org/en-US/docs/Web/API/History_API – Meloman Mar 06 '18 at 07:10

0 Answers0