| Home Ask Browse Photos Groups Advisors Widgets |
Help with .htaccess
I would like to redirect all the xml files from my domain to the index file of the respective folder, I am not sure how should I do this using .htaccess. Could you please help, here is an example:
I have xml files in many subfolders of the main folder called multimedia and is directly accessible from the domainname.com/multimedia link. I would like to redirect access to any xml from the multimedia folder and any nested subfolders within multimedia folder to their respective folder. So for example I have a file called player.xmlat:
mydomain/multimedia/player.xml
redirect to mydomain/multimedia/
mydomain/multimedia/1/2/3/4/player.xml
redirect to mydomain/multimedia/1/2/3/4/
mydomain/multimedia/asdasdf/dfgh/player.xml
redirect to mydomain/multimedia/asdasdf/dfgh/
I hope you know what I mean from this, so could some one please help me with this?




