How to replace "+" with "space" in the page url (via htaccess)?

  • 0
    Please help !!

    Internal links on the site are written with a "+" symbol. And in fact there are spaces in the folder names. How to replace "+" with "% 20"?

    Let me explain))

    Now the pages open normally like this - www.site.ru/article title / (well, or www.site.ru/article%20title/)

    And in the internal linking in links - www.site.ru/article+title/

    And how do you replace this plus with a space?

    Thank you very much in advance!!
    htaccess Anonymous, Mar 9, 2020

  • 1 Answers
  • 0
    RewriteRule ^ (. *?) \ + (. *) "/ $ 1 $ 2" [R = 301, L]
    Anonymous

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