Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.