Answer the question
In order to leave comments, you need to log in
Setting 301 .htaccess for wordpress?
Hello. There was a problem on the site. I set up .htaccess and I couldn’t do the following:
1. When you add something in the center to such a structure of the url mysite.ru/papka1/papka2/zapis1, for example, another folder whose folder does not exist like mysite.ru/papka1/nespapka/papka2 /
zapis1 opens the entry normally and issues code 200 instead of giving 404 and reporting that the page does not exist =( /
papka1 /
papka2 /
zapis1 /lubsimvoly then redirects to the home page of the site, and does not send it to the same record without the characters as a 301 redirect.
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
Please help...
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