iSeriesCodePoet
Programmer
As a bit of history, I run a MovableType blog. Recently, I have decided to create the pages as PHP instead of HTML, then I can do some cooler things with my site. Well, now I am getting tons of 404 errors in my logs because of this move. So, I would like have have any URL with ".html" to be sent to the exact same name, but with ".php" for the extension. So for example:
mydomain.com/mysite/mypage.html
would come out as
mydomain.com/mysite/mypage.php
or
mydomain.com/mypage.html --> mydomain.com/mypage.php
I would like this to be a redirect so can clean up many of my 404 errors I have been getting. I have been trying to look for examples but haven't found any. If anyone could help me out, it would be work a star!
iSeriesCodePoet
iSeries Programmer/Lawson Software Administrator
![[pc2] [pc2] [pc2]](/data/assets/smilies/pc2.gif)
mydomain.com/mysite/mypage.html
would come out as
mydomain.com/mysite/mypage.php
or
mydomain.com/mypage.html --> mydomain.com/mypage.php
I would like this to be a redirect so can clean up many of my 404 errors I have been getting. I have been trying to look for examples but haven't found any. If anyone could help me out, it would be work a star!
iSeriesCodePoet
iSeries Programmer/Lawson Software Administrator
![[pc2] [pc2] [pc2]](/data/assets/smilies/pc2.gif)