N
N
Nikolai2019-04-09 17:15:46
URL Handling
Nikolai, 2019-04-09 17:15:46

Where to look for a problem?

Good afternoon! You need to set up redirects
c

http://тест.рф/katalog/gotovye-resheniia-dlia-biznesa/index.php

on the
http://тест.рф/katalog/gotovye-resheniia-dlia-biznesa/

But when you enter
http://тест.рф/katalog/gotovye-resheniia-dlia-biznesa/index.php

throws on
http://тест.рф/var/www/u1112233/data/www/тест.рф/katalog/gotovye-resheniia-dlia-biznesa/

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Kirill Proger, 2019-04-09
@freekirill

The redirect can be in .htaccess or in the nginx configuration file (if you have nginx installed)

D
dodo512, 2019-04-10
@dodo512

RewriteRule ^(.*)index\.php$ $1 [R=301,L]

You need to add /before $1to explicitly set the path from the site root.
Or leave it as is, but addRewriteBase /

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question