Htaccess rule how to remove characters in subdomain?

  • 0
    In general, the task is ...
    changed the engine, and now the old links stopped working
    used to be:
    dvigatel-b.site.com/12345-bmz24
    where the hyphen is stable everywhere and b is the directory id variable was,
    12345 is the product ID,

    now the site has been put in order, and now it is
    dvigatel.site.com/bmz24/

    Now the question arose, how not to lose seo?
    all address that the simplest thing is to set up a redirect correctly in htaccess.

    Hivemind I appeal to you for help!
    htaccess Anonymous, Jul 24, 2020

  • 1 Answers
  • 0
    In general, the task is ...


    https://freelance.habr.com/tasks
    Anonymous

Your Answer
To place the code, please use CodePen or similar tool. Thanks you!