W
W
Wsearch2020-10-14 14:00:40
htaccess
Wsearch, 2020-10-14 14:00:40

What is wrong with my htacess?

Hello!
I'm learning .htacess, but I still can't figure out how to make the URL look like this:
There is a page https:// site. ru/post.php?url=zagolovok1
I want to make https:// site. ru/zagolovok1 Tried
many options, does not work. By RewriteRule, I'm still stuck on regular expressions, I'm pulling them up. The maximum that I achieved was the url https: // site. en/post. php/header1.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Viktor Taran, 2020-10-15
@Wsearch

GET - what's after the sign? is not part of the url,
as a result, you simply cannot select it; this is done through rewrite
cond .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question