wright67uk Posted July 12, 2011 Share Posted July 12, 2011 Hi, Im looking to create a web.config file to upload for my website. I have a canonicalisation issue, I want anybody visiting eg. i-stevenage.co.uk to be redirected to www.i-stevenage.co.uk. I know nothing about web.config files, is this somthing I should learn, or is there a generator / standard code templates out there? I see plenty of info for linux users and htaccess but not a lot of info for windows users and web.config. Quote Link to comment https://forums.phpfreaks.com/topic/241842-webconfig-redirect/ Share on other sites More sharing options...
trq Posted July 13, 2011 Share Posted July 13, 2011 I see plenty of info for linux users and htaccess but not a lot of info for windows users and web.config. That is because the majority of PHP developers use Linux / Apache hosting. Quote Link to comment https://forums.phpfreaks.com/topic/241842-webconfig-redirect/#findComment-1242084 Share on other sites More sharing options...
Doug G Posted July 14, 2011 Share Posted July 14, 2011 If you have IIS7.5 perhaps this will be interesting to you (google turned up this page): http://www.servicefirstsupport.com/KB/a538/how-do-i-import-an-htaccess-file-into-iis-75.aspx Quote Link to comment https://forums.phpfreaks.com/topic/241842-webconfig-redirect/#findComment-1242829 Share on other sites More sharing options...
wright67uk Posted July 14, 2011 Author Share Posted July 14, 2011 I see plenty of info for linux users and htaccess but not a lot of info for windows users and web.config. That is because the majority of PHP developers use Linux / Apache hosting. All becomes clear. Looks like going forward I need to explore a different hosting package. I can only assume that migrating all of my sites from a windows based server to a Linux, would be too much of a nightmare. But thanks for the pointer! Quote Link to comment https://forums.phpfreaks.com/topic/241842-webconfig-redirect/#findComment-1242844 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.