Several 301 redirects after website restyling (SEO)

We recently updated our site; the old one had about 300 pages ... the new one was about 80;)

This is because in the old structure we had many pages for each argument. Instead, we now have only one page with a "resume".

For example, the old structure of the argument "car":

  • Home page, 'cars'
  • subpage, "tires"
  • subpage, "engines"
  • auxiliary pages, 'accessories'
  • etc...

Now we have only 1 page of 'cars', with everyone inside.

In fact, I redirect all the subpages to the main one, with a .htaccess 301 redirect:

Redirect 301 /cars-tires.php http://www.example.com/cars.php
Redirect 301 /cars-engines.php http://www.example.com/cars.php
Redirect 301 /cars-accessories.php http://www.example.com/cars.php

Thus, we have many different (even if the main topic is the same) pages pointing to one page.

, seo 404 ?

+5
2

301-. , 404.

SEO ( ) , 301 .

+4

301s, , , 404. , , , .

, .htaccess, :

RedirectMatch Permanent ^/cars-(tires|engines|accessories).php$ http://www.example.com/cars.php

RedirectMatch Permanent ^/(.+)-(.+).php$ http://www.example.com/$1.php

URL- /foo -bar.php, /foo.php

+3

All Articles