N
N
Nicksemkin2016-09-20 17:13:08
Yandex
Nicksemkin, 2016-09-20 17:13:08

The creation of the CNC ruined the indexing of the site in Yandex. What is the problem?

Initially, the site consists of pages of the form -page.html
The site is handwritten, without an engine.
After some time, it became necessary to make all URLs of the site.ru/page type, that is, remove the .html extension
. Climbed into .htaccess. Made.
Yandex saw them as page and page.html duplicates and it was decided to make a 301 redirect from page.html to page through the same .htaccess

<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} !^vash-master\.tv$ [NC]
RewriteRule ^(.*)$ http://vash-master.tv/$1 [L]

AddType application/x-httpd-php5 .php .html .html


RewriteEngine on
RewriteBase /
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^.]+)\.html\ HTTP
RewriteRule ^([^.]+)\.html$ http://vash-master.tv/$1 [L]
RewriteCond %{REQUEST_URI} !(\.[^./]+)$
RewriteCond %{REQUEST_fileNAME} !-d
RewriteCond %{REQUEST_fileNAME} !-f
RewriteRule (.*) /$1.html [L]

And then it started: day after day, the pages began to fall out of the search. I realized that I had done some kind of bad thing - but I could not catch up with what exactly.
What the hell did I do? And what is the best way to get out of this situation?
Is it even possible to do this in theory?
Namely, upload pages to the site in the form of page.html, but so that Yandex sees the page and, accordingly, the URL of the page type is everywhere.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexander, 2016-09-20
@NeiroNx

write them in robots.txt , and delete the old ones using the webmaster.yandex.ru tool

G
Gleb Gryadk.in, 2016-09-20
@Gryadk_in

xs, maybe it was offended not to see [ R=301 ,L]?

A
azsx, 2016-09-20
@azsx

What is the question? You, according to the search engine, have deleted old pages and created new ones. Yandex will index the site very slowly, possibly returning your positions in the sickle.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question