Jump to content

web.config redirect


wright67uk

Recommended Posts

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.

Link to comment
https://forums.phpfreaks.com/topic/241842-webconfig-redirect/
Share on other sites

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!

Link to comment
https://forums.phpfreaks.com/topic/241842-webconfig-redirect/#findComment-1242844
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.