How can multiple subdomain be redirected to only one specific subdomain?

How can i redirect multiple subdomain to one specific subdomain using cloudflare page rule.

Note: redirect without changing the url path (only sub domain change)

For example:


If any of the 3 examples url is type in brower, the should automatically redirect to

How can this be done using cloudflare page rule? Please help

After restoration of backup, I am redirected to /wp-admin/install.php

Yesterday I tried restoring an older backup of my website through the panel of my hosting provider, following their instructions. Ever since, when I go to my site, it redirects me to /wp-admin/install.php.

My hosting provider has contacted me saying that something went wrong and they are fixing the problem. However, it’s been almost a day and I have no news from them. Does anyone have any idea why this happened and if there is something I could do to fix it?

Thank you!

Robots.txt for a multilanguage site where root is redirected

I have a site which offers two languages, English and Spanish. When the user navigates to the home page, let’s say the page redirects you to either /es if your browser language is Spanish or English otherwise.

At the moment the robots.txt I have is:

User-agent: * Allow: /  Sitemap: 

because I’m defining all hreflang alternate URLs in the sitemap_languages.xml and all URLs are listed also in the sitemap.xml. My question is more towards the configuration of the robots.txt because I’m not sure if I should be allowing any user agent to crawl the / page. As that page always redirects to the home of either /en or /es I believe that should be disallowed.

Should I then do:

User-agent: * Disallow: / Allow: /es Allow: /en  Sitemap: 

I’m not sure if that could cause a crawl issue or whether there is another way to achieve the same result.

Response seems to get redirected if SQL injection query succeeds, if not then it doesn’t get redirected

Under the authorization of my friend, I am testing his website against potential vulnerabilities.

I was trying to find if I was able to inject a SQL query into a POST request parameter hi' or 1=1 --:


I found that the document prints out:

<div class="error">index job,query: syntax error, unexpected '-' near '-'</div> 

while with ' or 0=0 -- I get:

<div class="error">index job,query: syntax error, unexpected '|' near ' | 0=0) --'</div> 

does this mean that it’s vulnerable to SQL Injection? If yes, how can I make it print server system data (like information, etc.)? By the way, if the string is correct it gets redirected to another webpage (I think that’s why SQLMap tells me the parameter is not SQL-injectable).

I can see the query works just if the URL gets redirected, but I won’t see the query output. If the URL doesn’t get redirected, I can see these SQL query errors. I’m trying to see how to get the output and do something more useful to attack the website, or even make it detectable from sqlmap.

The current command I’m using is sqlmap -r thework.txt -p query --dbs. thework.txt contains the full valid POST request.

Click here if you are not redirected automatically

After the users have filled up a form, they hit submit. There are a lot of things happening behind the scene the users won’t see, so we hang them in a page that says:

Click here if you are not redirected automatically. 

Next to the phrase above there is a button with label Back to the form.

I was wondering if there is a way to better phrase the information, and to reframe the action we invite the users to make.

Any better examples? Any advice?

My site is redirected only when using search engines, how do I fix this?

My site is being redirected to a pharmacy site when you search for it, but if you type the address in it will work. I tried to look for the problem and found this: window._wpemojiSettings = {“baseUrl”:”×72/”,”ext”:”.png”,”svgUrl”:””,”svgExt”:”.svg”,”source”:{“concatemoji”:”″}}; !function(a,b,c){function d(a,b){var c=String.fromCharCode;l.clearRect(0,0,k.width,k.height),l.fillText(c.apply(this,a),0,0);var d=k.toDataURL();l.clearRect(0,0,k.width,k.height),l.fillText(c.apply(this,b),0,0);var e=k.toDataURL();return d===e}function e(a){var b;if(!l||!l.fillText)return!1;switch(l.textBaseline=”top”,l.font=”600 32px Arial”,a){case”flag”:return!(b=d([55356,56826,55356,56819],[55356,56826,8203,55356,56819]))&&(b=d([55356,57332,56128,56423,56128,56418,56128,56421,56128,56430,56128,56423,56128,56447],[55356,57332,8203,56128,56423,8203,56128,56418,8203,56128,56421,8203,56128,56430,8203,56128,56423,8203,56128,56447]),!b);case”emoji”:return b=d([55358,56760,9792,65039],[55358,56760,8203,9792,65039]),!b}return!1}function f(a){var c=b.createElement(“script”);c.src=a,c.defer=c.type=”text/javascript”,b.getElementsByTagName(“head”)[0].appendChild(c)}var g,h,i,j,k=b.createElement(“canvas”),l=k.getContext&&k.getContext(“2d”);for(j=Array(“flag”,”emoji”),c.supports={everything:!0,everythingExceptFlag:!0},i=0;i

If this is the problem how do i delete it or fix it? Thank you

I get redirected too many times only in wp-admin?

I am trying to run wordpress in a subdirectory blog in my rails app, I used this nginx config as:

server {     listen 80;     server_name _;    passenger_ruby /usr/local/bin/ruby;   passenger_enabled on;   rails_env production;   location ^~ /assets/ { root /var/www/example/current/public;     gzip_static on;     expires max;     add_header Cache-Control public;    }  location /blog {   root /var/www/example/current;   index  index.html index.htm index.php;   try_files $  uri $  uri/ /index.php?$  args;    location ~ \.php$   {     fastcgi_pass unix:/run/php/php7.2-fpm.sock;     fastcgi_index index.php;     fastcgi_param SCRIPT_FILENAME $  document_root$  fastcgi_script_name;     include fastcgi_params;   } }  } 

My folders looks like this:

/rails_app/ /rails_app/blog/ /rails_app/blog/wp-admin/ 

where blog directory has wordpress files I don’t have any route starts with blog at rails app.

There is no redirect loop for frontend, but only at wp-admin

here in my wp-config.php I have:

define('WP_HOME',''); define('WP_SITEURL','');  $  _SERVER['HTTPS']='on'; define('FORCE_SSL_ADMIN', true); define('FORCE_SSL_LOGIN', true);  

any idea? how to debug this issue?

SharePoint 2013 On-Premise getting an error while accessing subsite Server redirected too many times (20)

SharePoint 2013 On-Premise getting an error while accessing subsite Server redirected too many times (20)

It is working fine when I try to load subsite again with the same session.

It is working for SharePoint on-premise 2010 but the issue only for SharePoint on-premise 2013

and there issue only for accessing subsite URL

following is the error message:

(AxisFault): Server redirected too many times (20) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at$ Source) at$ Source) at Method) at Source) at Source)

Ingress root path not redirected to HTTPS despite `ssl-redirect=true`

  • Setup: Azure AKS with application gateway ingress, annotated with ssl-redirect=true
  • Problem: Root path doesn’t get redirected to HTTPS.

Here’s my ingress.yml:

apiVersion: extensions/v1beta1 kind: Ingress metadata:   name: my-ingress   annotations: azure/application-gateway "/$  1" "true" spec:   tls:     - hosts:       -       secretName: my   rules:   - host:     http:       paths:       - path: /(.*)         backend:           serviceName: my-gui-svc           servicePort: 80       - path: /svc1/(.*)         backend:           serviceName: my-svc1-svc           servicePort: 80       - path: /svc2/(.*)         backend:           serviceName: my-svc2-svc           servicePort: 80 

Here’s the resonse from curl on one of the non-root routes:

C:\>curl <html> <head><title>301 Moved Permanently</title></head> <body bgcolor="white"> <center><h1>301 Moved Permanently</h1></center> <hr><center>Microsoft-Azure-Application-Gateway/v2</center> </body> </html> 

And here it is for the root rule:

C:\>curl <!doctype html> <html lang="en">  <head>     <meta charset="utf-8"> ... 

I also tried playing with the order in which the rules are listed, putting the root path at the end for example, but it didn’t make a difference.

Also, when I examine the rules in the Azure portal, this is what I see:

enter image description here

(name/site strings in the picture have been modified for security)

What am I doing wrong?