There are pages like site.ru/simple-page/XXXX and site.ru/simple-page/XXXX/XXXX , where XXXX are arbitrary pages.

You need to get site.ru/XXXX and site.ru/XXXX/XXXX , i.e. just delete simple-page from the url. But I did not succeed.

  • what exactly did you fail? show what you tried to do yourself (your code). - Alex
  • RewriteRule ^ simple-page /(.+)$ site.com/$1 [R = 301, L] is just one of many options. Many examples tried to adapt for themselves. - George

0