JUMP TO EDIT8 TO SEE HOW I SOLVED THIS
Let\'s say I have a Wordpress blog: www.animals.com. I have a certain PHP file in my t
There is another way to solve it, without touching WordPress.
Add to .htaccess
RewriteRule ^lion /indexw.php?pagename=db&dios=$1 [L,E=URI:/detail/]
Create file indexw.php:
How it works? mod_rewrite sets REDIRECT_URI as specified in E=URI:value argument. indexw.php just overwrites REQUEST_URI with correct value (Thanks to Ravi Thapliyal for an insight on this)