RobH has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/78970


Change subject: adding in wikipedia.in redirection support
......................................................................

adding in wikipedia.in redirection support

Change-Id: Id6d30b5f8793cb1be248ee27c359925c10ae6c5d
---
M redirects.conf
1 file changed, 5 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/apache-config 
refs/changes/70/78970/1

diff --git a/redirects.conf b/redirects.conf
index 17d48a6..7d0e4ac 100644
--- a/redirects.conf
+++ b/redirects.conf
@@ -146,6 +146,7 @@
         wikipedia.co.za *.wikipedia.co.za \
         wikipedia.cz *.wikipedia.cz \
         wikipedia.ee *.wikipedia.ee \
+        wikipedia.in *.wikipedia.in \
         wikipedia.info *.wikipedia.info \
         wikipedia.lt *.wikipedia.lt \
         wikipedia.net *.wikipedia.net \
@@ -708,6 +709,10 @@
     RewriteCond %{HTTP_HOST} (.*)indiawikipedia\.com$
     RewriteRule ^(.*)$ http://wikimedia.in/wikipedia.html [R=301,L]
 
+    # wikipedia.in
+    RewriteCond %{HTTP_HOST} (.*)wikipedia\.in$
+    RewriteRule ^(.*)$ http://wikimedia.in/wikipedia.html [R=301,L]
+
     # coffee - keep for historic reasons:)
     RewriteCond %{HTTP_HOST} =coffee.wikimedia.org
     RewriteRule ^(.*)$ 
http://en.wikipedia.org/wiki/Hyper_Text_Coffee_Pot_Control_Protocol [R=301,L,NE]

-- 
To view, visit https://gerrit.wikimedia.org/r/78970
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id6d30b5f8793cb1be248ee27c359925c10ae6c5d
Gerrit-PatchSet: 1
Gerrit-Project: operations/apache-config
Gerrit-Branch: master
Gerrit-Owner: RobH <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to