<!--
	For rules that are on by default, see Atlantic-Media.xml.

-->
<ruleset name="Atlantic Media (problematic)" default_off="probably breaks administration">

	<target host="theatlanticcities.com" />
	<target host="admin.theatlanticcities.com" />
	<target host="www.theatlanticcities.com" />
	<target host="theatlanticwire.com" />
	<target host="*.theatlanticwire.com" />


	<!--	- !www 301s to www
		- (www.) cert: admin.theatlantic(cities|wire).com
		- $ shows admin's data
					-->
	<rule from="^https?://(?:www\.)?theatlantic(cities|wire)\.com/([\w\-]+)/"
		to="https://admin.theatlantic$1.com/$2/" />

	<!--	With the above rule, www.../$ points to
		admin.../$, which isn't identical.
							-->
	<rule from="^https://admin\.theatlantic(cities|wire)\.com/($|\?)"
		to="http://www.theatlantic$1.com/$2" downgrade="1" />

</ruleset>
