Results 1 to 5 of 5
Jun 4, 2012, 16:10 #1
- Join Date
- Apr 2011
- Mexico city, Mexico
- 1 Post(s)
- 0 Thread(s)
rewrite url using regex in apache
I have just moved a site from IIS to Apache and from asp to PHP however I don't want to have dead links all over the place I been reading about rewriting with regex but have not been able to make it work basically I had URLs that looked like this
and now they are like this
I have this so far but it does not work
RewriteRule ^artman2/publish/([a-z]+) /([a-z]+)\.asp$
this part is always the same
and this part always changes /The-coming-fall-season/For-Fox-a-newfound-stability-this-fall.asp
any help is appreciatedDo you get bothered because I do the same thing every day?
Do you question why I do it?
Then find something that you actually like doing!!!
Stop thinking on what I do.