This isn't directly related to iSeries, but maybe someone can still help...

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.

Any ideas?

-- 
Mike Wills
iSeries Programmer/Lawson Administrator
koldark@xxxxxxxxx
http://www.koldark.net
Want Gmail? Email koldark+gmail@xxxxxxxxx to get on my waiting list.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.