Código Apache:
Ver original
Options +FollowSymLinks RewriteEngine On RewriteBase / RewriteRule ^forum/topic/(.*)/$ index.php?action=foro&id=$1 RewriteRule ^forum/(.*)/$ index.php?action=foro&idforum=$1 RewriteRule ^forum/$ index.php?action=foro RewriteRule ^pp_(.*)$ index.php?action=foro&idforum=1&_pagi_pg=$1 RewriteRule ^e_p/ep_(.*)/(.*)/(.*)$ index.php?action=foro&id=$1&edit_post=$2&remove=$3 RewriteRule ^ranking/$ index.php?action=ranking RewriteRule ^create_topic/(.*)/$ index.php?action=foro&ac=create_post&number=$1 RewriteRule ^group/(.*)$ index.php?action=grupo&id=$1 RewriteRule ^create_group/$ index.php?action=create_group RewriteRule ^reset/password$ index.php?action=reset RewriteRule ^new/(.*)_(.*)$ index.php?action=new&id=$1&_pagi_pg=$2 RewriteRule ^new/(.*)$ index.php?action=new&id=$1 RewriteRule ^points/$ index.php?action=points RewriteRule ^album_giants/$ index.php?action=album_giants RewriteRule ^album_giants/al_giants_(.*)$ index.php?action=album_giants&_pagi_pg=$1 RewriteRule ^online/$ index.php?action=online RewriteRule ^online/online_(.*)$ index.php?action=online&_pagi_pg=$1 RewriteRule ^photos_(.*)$ index.php?action=album&_pagi_pg=$1 RewriteRule ^view_photo/(.*)/(.*)$ index.php?action=view_photo&id=$1&ac=$2 RewriteRule ^album/(.*)/(.*)$ index.php?action=album&id=$1&edit=$2 RewriteRule ^albums/$ index.php?action=galleries RewriteRule ^gallery/(.*)$ index.php?action=gallery&upload=$1 RewriteRule ^archive/$ index.php?action=archive RewriteRule ^archive/archive_(.*)$ index.php?action=archive&_pagi_pg=$1 RewriteRule ^team/(.*)$ index.php?action=team&players=$1 RewriteRule ^img_op/(.*)$ index.php?action=edit&op=$1 RewriteRule ^deletepic$ index.php?action=edit&ed=deletepic RewriteRule ^search/(.*)$ index.php?action=search&search=$1 RewriteRule ^award/(.*)/$ index.php?action=award&id=$1 RewriteRule ^e_b/e_(.*)/(.*)/$ index.php?action=blog&id=$1&edit_blog=$2 RewriteRule ^sponsor/(.*)$ index.php?action=sponsor&name=$1 RewriteRule ^sponsors$ index.php?action=sponsors RewriteRule ^blog/(.*)$ index.php?action=blog&id=$1 RewriteRule ^sendlogin_securePHPSESSID$ send.php RewriteRule ^setlang/(.*)$ set_lang.php?lang=$1 RewriteRule ^article/(.*)/(.*)$ index.php?action=article&id=$1&page=$2 RewriteRule ^articles/$ index.php?action=articles RewriteRule ^articles/articles_(.*)$ index.php?action=articles&_pagi_pg=$1 RewriteRule ^user/(.*)/(.*)$ index.php?action=profile&user=$1&sec=$2 RewriteRule ^team_news/$ index.php?action=team_news RewriteRule ^team_news/team_news_(.*)$ index.php?action=team_news&_pagi_pg=$1 RewriteRule ^media/$ index.php?action=media RewriteRule ^scene_news/$ index.php?action=scene_news RewriteRule ^scene_news/scene_news_(.*)$ index.php?action=scene_news&_pagi_pg=$1 RewriteRule ^edit$ index.php?action=edit RewriteRule ^teams$ index.php?action=teams RewriteRule ^awards$ index.php?action=awards RewriteRule ^awards_(.*)$ index.php?action=awards&_pagi_pg=$1 RewriteRule ^blog_add/$ index.php?action=ba RewriteRule ^blogs/$ index.php?action=blogs RewriteRule ^blogs/blogs_(.*)$ index.php?action=blogs&_pagi_pg=$1 RewriteRule ^inbox_home$ index.php?action=inbox RewriteRule ^msg/read/(.*)$ index.php?action=inbox&ac=new&read=$1 RewriteRule ^msg/newmsg/(.*)$ index.php?action=inbox&ac=new&user=$1 RewriteRule ^video/(.*)$ index.php?action=video&id=$1 RewriteRule ^videos/$ index.php?action=videos RewriteRule ^register$ index.php?action=register RewriteRule ^tag/(.*)$ index.php?action=tag&tag=$1 RewriteRule ^match/(.*)$ index.php?action=match&id=$1 RewriteRule ^demos/$ index.php?action=demos RewriteRule ^demos/demo_(.*)$ index.php?action=demos&_pagi_pg=$1 RewriteRule ^demo/(.*)$ demo.php?id=$1 RewriteRule ^logout/$ index.php?action=logout-web RewriteRule ^contact/$ index.php?action=contact RewriteRule ^jobs/(.*)$ index.php?action=jobs&wrong_code=$1 RewriteRule ^logos/$ index.php?action=logos RewriteRule ^about/$ index.php?action=about RewriteRule ^policy/$ index.php?action=policy RewriteRule ^users/$ index.php?action=users RewriteRule ^users/users_(.*)$ index.php?action=users&_pagi_pg=$1 RewriteRule ^matches/$ index.php?action=mat RewriteRule ^matches/matches_(.*)$ index.php?action=matches&_pagi_pg=$1 RewriteRule ^error_404$ index.php?action=error RewriteRule ^ed_/(.*)/(.*)/(.*)$ index.php?action=edit_comment&acc=$1&name=$2&id=$3 ErrorDocument 404 http://www.XXX.com/error_404
EDIT:
XXX = EJEMPLO
Esta URL no va:
http://www.XXX.es/new/120
En cambio esta sí:
http://www.XXX.es/user/bNd/
Gracias de antemano.