CalumK
06-22-2011, 07:47 AM
Hi i need to write a .htaccess file that can forward all urls such as
example.com/file/file/filename-dp7
or
example.com/file/file/filename-dp3
or
example.com/file/file/filename-dp17
to
example.com/file/file/filename
any ideas? i presume it would use mod_rewrite, with Regular expressions, but im a bit stumped...
anyone got any ideas?
Thanks
Calum
example.com/file/file/filename-dp7
or
example.com/file/file/filename-dp3
or
example.com/file/file/filename-dp17
to
example.com/file/file/filename
any ideas? i presume it would use mod_rewrite, with Regular expressions, but im a bit stumped...
anyone got any ideas?
Thanks
Calum