Htaccess help needed

Hi guys, i need some help on htaccess

I want toseef.com/2004/11/eid-mubarak.html to redirect to toseef.com/200411-eid-mubarak - G has already crawled some of my pages and I want it to know where the new url is

The second thing is that I want toseef.com/200411-eid-mubarak to do an internal redirect to toseef.com/2004/11/eid-mubarak.html

I have attempted htaccess but I can not get both of the lines to work at the same time, here they are:

RewriteRule ^([0-9]{4})\/([0-9]{2})\/(.*)\.html$ /$1$2-$3 [R=301,L]
RewriteRule ^([0-9]{4})([0-9]{2})-(.*)$ /$1/$2/$3.html [L]

Please help!

 

 

 

 

Top