This question has already been answered:

How in the URL to replace GET with "/" using htaccess for the following example?

The address is:

temp-name.local / about? page = certificates

It is necessary that it turned out:

temp-name.local / about / certificates

Tell me, please, how to solve this problem or in what direction to "dig"?

Reported as a duplicate by participants of VenZell , zRrr , Yuri Negometyanov , aleksandr barakin , Pavel Parshin Mar 3 '16 at 19:43 .

A similar question was asked earlier and an answer has already been received. If the answers provided are not exhaustive, please ask a new question .

  • It is written in every second config - Alexey Ten
  • Yes, the problem is that CSS styles do not apply. As it partially works. No graphics. - fedor-sg
  • An example was given in the description of the question. It works, but without styles for some reason. - fedor-sg

1 answer 1

In .htaccess we write:

RewriteRule ^about/([A-Za-z]+) about.php?page=$1 

Inside the tag we put:

 <base href="/"> 

It is necessary to display styles and images.