D
D
dicem2019-04-01 13:14:19
htaccess
dicem, 2019-04-01 13:14:19

Why do 301 redirects go into a loop?

Achtung people, I know that this is just pepets, not code (it's not me), but on most pages the redirects go into a loop and do not open the page, what should I do? I googled that the problem is in htaccess, but poking my head in there just went nuts. A concrete example https://xn----7sbbf6ab7ab4ael4cr4b1dj.xn--p1ai/dac... and many other pages. HTACCESS attached
https://pastebin.com/fqMXWubZ

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Viktor Taran, 2019-04-01
@shambler81

1. You have Russian letters and there may be a problem with them (depends on the Apache assembly)
2. you have special characters and it makes sense to escape them (depends on the Apache assembly)
3. Use services, they will reduce the human factor, also make it more private cases.
https://donatstudios.com/RewriteRule_Generator
4. Disable half of the redirects and see what happens, then again half of the rest and see what's in the way.
5. you can have answit.com/sbrosit-redirekt-google-chrome
cache 6. Since .htaccess is read from top to bottom THEN SPECIAL case should always be above the general one
/catalog should be lower than /catalog/111 (or should be limited with both sides of the regular line)
7. redirects must be BEFORE the CNC site!
8. use the service to check what exactly is included in the cycle https://bertal.ru/index.php?a566754

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question