这是我需要修改的原件:
https://example.com/actualites-cyclisme/criterium-du-dauphine/5115-dauphine-libere-le-parcours-devoile-lalpe-dhuez-fait-son-retour
这些都是我做过的事情(这就是我想要的!)https://example.com/dauphine-libere-le-parcours-devoile-lalpe-dhuez-fait-son-retour/
但是。。。我想包括一个条件,例如,我不想触碰这些URL:https://example.com/123456-dauphine-libere-le-parcours-devoile-lalpe-dhuez-fait-son-retour/
https://example.com/aaaaaa-123456-dauphine-libere-le-parcours-devoile-lalpe-dhuez-fait-son-retour/
这是我最棒的正则表达式:RewriteRule /?(.*)([0-9]+)-(.*)$ /$3 [R=301,L]
我可能不得不这么说I NEED /(.*)/0000-post
, 但是如果我在正则表达式中添加斜杠,它就不再起作用了。我用过http://htaccess.mwl.be 顺便提一下