Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/web/templates/adblockplus.org.conf.erb

Issue 29373591: Issue 2734 - Configure new redirects from adblocklus.org (Closed)
Patch Set: Issue 2734 - Address feedback from code-review Created Jan. 24, 2017, 3:42 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/web/templates/adblockplus.org.conf.erb
===================================================================
--- a/modules/web/templates/adblockplus.org.conf.erb
+++ b/modules/web/templates/adblockplus.org.conf.erb
@@ -180,6 +180,30 @@
{
rewrite ^ https://play.google.com/store/apps/details?id=org.adblockplus.adblockplussbrowser? redirect;
}
+ if ($arg_link = "releases")
+ {
+ rewrite ^ /releases? redirect;
+ }
+ if ($arg_link = "social_facebook")
+ {
+ rewrite ^ https://www.facebook.com/adblockplus? redirect;
+ }
+ if ($arg_link = "social_gplus")
+ {
+ rewrite ^ https://www.google.com/+AdblockPlus? redirect;
+ }
+ if ($arg_link = "social_renren")
+ {
+ rewrite ^ http://www.renren.com/601651969? redirect;
+ }
+ if ($arg_link = "social_twitter")
+ {
+ rewrite ^ https://twitter.com/adblockplus? redirect;
+ }
+ if ($arg_link = "social_weibo")
+ {
+ rewrite ^ http://e.weibo.com/adblockplus/? redirect;
+ }
set $link "";
set $anchor "";
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld