help with REGEX - Mod_Rewrite "" into ""?

I'm looking to rename the url "" into "".

(remove directory name and extension)

I'm making my site dynamic with url like these: "" but for some pages I need the requested method above.

please show me the code to do that using mod_rewrite in .htaccess

I've tried something similar to "RewriteRule ^/$ /directory/ [L]" but it produces an "internal error".

2 Answers

Still have questions? Get your answers by asking now.