There is a bmw.php page (list of BMW cars). I want to rename the file to mashina_bmw.php (list of BMW cars)

What to do? Just add the second file and everything, but not the first one to delete? What will Yandex think?

There is a page opel.php, where there is a list of cars Opel. And there is a page cars / opel.php, which also has the same list of Opel cars, but is slightly differently located. Can I leave or give different names to the files?

    2 answers 2

    In .htaccess:

    RewriteRule ^bmw.php$ /mashina_bmw.php [R=301,L] 

    Nothing bad will happen.

    About the dash and underscore: Yandex has a difference in words, i.e. if words are separated as a dash (-), then it will understand as 2 words, if underlining (_), it will be understood as one word. This is important if the title of the page contains key search words.

      Make from the old pages 301 php redirect to the new one; in the url of the pages do not use "_", but replace this symbol "-", since then it will be more convenient for users to type in the address of the site and the position, therefore in the PS will be higher.

      • 2
        Where did the firewood about the ranking differences for addresses with "_" and "-" in search engines? Frankly speaking, it sounds like a CEE bike, which has little to do with reality. - drdaeman 4:39 pm
      • do you even know what Yandex can give out and deduct by the redirect? - meravaz
      • For the correct 301? Oh well. Truly, the world of SEO tales is limitless. - drdaeman
      • You read the help of Google webmasters, carefully read, it says that _ it is not advisable to use in the address of the pages, it is better to use - because so users more comfortable. Over 301 redirect will be nothing. And in general, I advise you to focus on Google - more promising in the amount of PS traffic (in the future, now they advertise their browser on all TV channels, respectively, PS users have more users, the default search engine is Google in this browser). - nick777
      • There is no difference between _ and - in the addresses, who wants to prove it back - provide a prooflink, as always bedtime stories ^^ - Zowie