Answer the question
In order to leave comments, you need to log in
How to write complete .htaccess code with mod_rewrite directive?
1) There is a site like "site.ru"
2) Page addresses have a URL: " site.ru/?bubliki,11 "
3) The search engine creates duplicates of the form: " site.ru/index?bubliki,11 "
4) If in address bar change the part between "?" and ",11" (for example, from the address " site.ru/?bubliki,11 " to " site.ru/?toster,11 ") the user will still get to the page with the content of the page " site.ru/?bubliki,11 " , but the address in the address bar remains unchanged.
What code should be written in .htaccess in order to
1) Set up a mirror from "www.site.ru" to "site.ru"
2) Page addresses had a CNC like: "
3) No additional duplicates were created with the addition of "index"
4) When an address was requested with any change in the spelling of an existing one, a 404 error page popped up 5) There was a redirect to the CNC
from links leading to " site.ru/?bubliki,11 "
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question