Skip to main content
Notice removed Authoritative reference needed by CommunityBot
Bounty Ended with no winning answer by CommunityBot
Rollback to Revision 8
Source Link
DD.
  • 549
  • 1
  • 6
  • 18

I would like to accomplish the following:

  • rewrite non-www to www
  • redirect from http to https
  • remove trailing slash

e.g. http://medexpress.co.ukhttp://example.co.uk should redirect to https://www.medexpress.co.ukhttps://www.example.co.uk

How would you structure a set of rules to do all of the above?

I would like to accomplish the following:

  • rewrite non-www to www
  • redirect from http to https
  • remove trailing slash

e.g. http://medexpress.co.uk should redirect to https://www.medexpress.co.uk

How would you structure a set of rules to do all of the above?

I would like to accomplish the following:

  • rewrite non-www to www
  • redirect from http to https
  • remove trailing slash

e.g. http://example.co.uk should redirect to https://www.example.co.uk

How would you structure a set of rules to do all of the above?

Rollback to Revision 7
Source Link
DD.
  • 549
  • 1
  • 6
  • 18

I would like to accomplish the following:

  • rewrite non-www to www
  • redirect from http to https
  • remove trailing slash

e.g. http://example.co.ukhttp://medexpress.co.uk should redirect to https://www.example.co.ukhttps://www.medexpress.co.uk

How would you structure a set of rules to do all of the above?

I would like to accomplish the following:

  • rewrite non-www to www
  • redirect from http to https
  • remove trailing slash

e.g. http://example.co.uk should redirect to https://www.example.co.uk

How would you structure a set of rules to do all of the above?

I would like to accomplish the following:

  • rewrite non-www to www
  • redirect from http to https
  • remove trailing slash

e.g. http://medexpress.co.uk should redirect to https://www.medexpress.co.uk

How would you structure a set of rules to do all of the above?

URLs should be generic on this site so as not to be considered as an attempt at self-promotion. Please do not edit this back again.
Source Link
dan
  • 15.2k
  • 11
  • 45
  • 52

I would like to accomplish the following:

  • rewrite non-www to www
  • redirect from http to https
  • remove trailing slash

e.g. http://medexpress.co.ukhttp://example.co.uk should redirect to https://www.medexpress.co.ukhttps://www.example.co.uk

How would you structure a set of rules to do all of the above?

I would like to accomplish the following:

  • rewrite non-www to www
  • redirect from http to https
  • remove trailing slash

e.g. http://medexpress.co.uk should redirect to https://www.medexpress.co.uk

How would you structure a set of rules to do all of the above?

I would like to accomplish the following:

  • rewrite non-www to www
  • redirect from http to https
  • remove trailing slash

e.g. http://example.co.uk should redirect to https://www.example.co.uk

How would you structure a set of rules to do all of the above?

Rollback to Revision 3
Source Link
DD.
  • 549
  • 1
  • 6
  • 18
Loading
Rollback to Revision 4
Link
DD.
  • 549
  • 1
  • 6
  • 18
Loading
the + is confusing, comma is a lot clearer
Link
Loading
deleted 6 characters in body
Source Link
Simon Hayter
  • 33.1k
  • 7
  • 60
  • 119
Loading
Notice added Authoritative reference needed by DD.
Bounty Started worth 50 reputation by DD.
Tweeted twitter.com/#!/StackWebmasters/status/498187054929690624
added 7 characters in body
Source Link
DD.
  • 549
  • 1
  • 6
  • 18
Loading
deleted 6 characters in body
Source Link
Simon Hayter
  • 33.1k
  • 7
  • 60
  • 119
Loading
Source Link
DD.
  • 549
  • 1
  • 6
  • 18
Loading