I am working on a Wordpress website, and I ran gtmetrix to see its performance. I keep getting:
Avoid landing page redirects for the following chain of redirected URLs.
http://inspiringworm.com/
https://inspiringworm.com/
https://www.inspiringworm.com/
Does anyone know how to get rid of these redirects? Is it coming from a certain module?
Search for the link and make sure you have the full address: https://www.inspiringworm.com/. The other two just redirect, as gtmetrix explains.
Generally, a website is working based on protocols and URL.
There are 4 kind of possible URL combinations: 1) HTTP + WWW 2) HTTP + NON_WWW 3) HTTPS + WWW 4) HTTPS + NON_WWW.
Your website is forcefully running with HTTPS protocol and with WWW. If you will check in GTMATRIX/any other tool/browser, it will load the content from HTTPS and WWW, better to check it with inspiringworm website like https://gtmetrix.com/reports/www.inspiringworm.com/MIPLD7Co
Related
I have a site for which I want to redirect from the subdomain www.domain.io to domain.io.
From http it works very well, but when I try to access the site with https before it, that is https://www.domain.io, the redirection does not take place.
I want the redirection to work on https as well as on http.
Error appears only on Firefox. On other browsers it works perfectly.
https://www.domain.io do not redirect to https://domain.io
The received error looks like this image
Can someone help me?
I have a Wordpress website and want to have in form of https://website.com. When I test it on GTmertix in form of http://www.website.com, I receive multiple landing page redirects like this:
Avoid landing page redirects for the following chain of redirected URLs.
http://www.website.com/
http://website.com/
https://website.com/
I have set the base domain on https://website.com format in Wordpress, and also I have done many things on .htaccess file to redirect http to https, but could not solve this issue.
May you help me please?
Without the domain, it is difficult to diagnose (and even then it may be difficult without seeing your .htaccess). Something is obviously redirecting http://www.example.com to http://example.com rather than directly to HTTPS.
You could try looking further up the chain, such as at your domain registrar/DNS provider. If you are behind a proxy like Cloudflare, I'd also be curious if this happens when you add the instance's IP address in your hosts file and try connecting directly - that would at least determine if the issue exists on the host itself or further up the chain.
I have a website running with https on all pages. I would like to make a 301 redirection for a specific page to make it available only with http (not https).
This is my code :
Redirect 301 https://www.example.com/a-page http://www.example.com/a-page
This does not work, i run a Wordpress website. How to make it runs with a simple way ?
Thanks
What do your .htaccess do to HTTP/HTTPS?
Are you forcing all users to use HTTPS?
Because you can make both be usable depending on how you want your server to handle the requests and what the browser user has requested.
I have this site lets call it www.mysite.com I use the sight to show users some images. for example : user will request an image as below(Encrypted of course)
for example mysite.com/download.aspxid?123123admaodko39032l2k
mysite.com/content/images/1.jpg (After Encryption)
The problem I am having is that once I do a Response.Redirect("mysite.com/content/images/1.jpg",false) after unencrypting the url the url I am directed to is
mysite.com/mysite.com/content/images/1.jpg
notice how mysite.com is repeated twice.
I am not sure if any trick is done from the IIS configuration.
Remove mysite.com from the url.
Response.Redirect("content/images/1.jpg",false)
I have a site https:// www.mysite.com that runs completely using HTTPS (I redirect http to https in IIS). This all works fine.
I have an old version of the site http:// old.mysite.com which some users are still running on that is running over HTTP only. This all works fine.
There is 1 URL that my new site redirects (using a Response.Redirect in the global.asax) to my old site. For example the user requests https:// www.mysite.com/page.aspx?query=string and I redirect them to the old site http:// old.mysite.com/page.aspx?query=string. The redirect works well except that the query string is missing when it gets to the old site.
The URL that I have to redirect comes from a url embedded at customer sites, so I can't just update them all to point to the old site. I tested and this all works fine when I run my new site under HTTP so the transfer is HTTP to HTTP, but it fails when I do HTTPS to HTTP.
Any ideas on what the problem is?
Thanks,
Jim
Alright I got it figured out so I'll post in case anyone else hits the issue. I was using the HTTP Redirect module in IIS 7 to redirect any HTTP traffic to HTTPS for my new website. For the url to redirect to I just had 'https://www.mysite.com'. I found some variables that you can add to the redirect url to keep the query string. So once I updated it to 'https://www.mysite.com$S$Q' it worked.