/webmasters/community?hl=en
This content is likely not relevant anymore. Try searching or browse recent questions.
Failed: Redirect error in HomePage URL
3
Hi Guys, I need help with this redirect issue. I already redirected the website from www to non www via ht access, added canonical tag from the home page URL.  Please see screenshots below. Thank you

Details
Pinned
Locked
Latest Update Latest Updates (0)
Relevant Answer Relevant Answers (0)
All Replies (21)
Relevant Answer
Can you please share screenshot from Live URL test of URL inspection tool - https://support.google.com/webmasters/answer/9012289?hl=en

When we check https://shippingsolutionsworldwide.com/contact-us/ its not loading as-


But your homepage loading fine as-https://shippingsolutionsworldwide.com/ -


And also your site is indexed in Google SERP when checked using site:https://shippingsolutionsworldwide.com/
SO in this case please do Live test and check the URLs which are having problems
marked this as an answer
Relevant Answer
Hi
When I fetch the homepage as Googlebot it also shows an infinite loop of redirects

You will need to check your redirects
marked this as an answer
Relevant Answer
Hi LeadsIn Digital Marketing
 
I can't get to the site at all I'm afraid.
 
I don't know what you've got in your .htaccess doing the redirect, but try this up the top instead...
 
RewriteEngine On
# Force HTTPS and non-WWW 
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [OR,NC]
RewriteCond %{HTTPS} off  
RewriteRule ^(.*)$ https://shippingsolutionsworldwide.com/$1 [R=301,L]
 
EDIT: You need to be sure you are not doing redirects elsewhere too of course (say in your web creation software, Server control panel etc).
 
 
marked this as an answer
Relevant Answer
How Do I fix the infinite loops?
marked this as an answer
Relevant Answer
I see that you have an IIS webserver
I suggest to check the redirects in IIS and/or Pleskwin 
I suggest also to check with your webhost.
marked this as an answer
Relevant Answer
Hi Hugo, this is the code I saw from web.config file. I cant' see any redirection

marked this as an answer
Relevant Answer
Do I have something to change on this options?

marked this as an answer
Relevant Answer
Hi
I have no knowledge about IIS.
If you need help then I suggest to contact your webhost

Note that redirects might also be in the code of your site.
marked this as an answer
Relevant Answer
Hi LeadsIn Digital Marketing
 
Like HugoMe I'm no in depth IIS expert, but there isn't a typical redirect in that file. 
 
Interestingly though, if I explore the redirects using HugoMe's site though (https://view.hugo-decoded.be/) if we change the user-agent to firefox and the referrer to none (i.e. so as to negate that first 'protect files' condition in the web.config), there is no redirect problem.
 
What exactly does "leticia-arrangers.php" do? 
 
I'd try saving a copy of web.config (to be safe) and then on the live version,  dropping the text that comes after <rules> i.e. that starts <rule all the way through to the first </rule>
 
So the new version would read...
<rules>
<rule name="WordPress:  etc
 
Otherwise...  I use Plesk to do our redirects and, right now, yours isn't redirecting, so it's not a control panel thing. So if it's not 'leticia-arrangers.php', I guess that leaves the software you are using to create the site (in particular if there is anything errant in index.php), possibly something to do with Rankmath or any SEO plug-in you are using.
 
As I said, if you are going to tinker with web.config, make sure you keep a copy before you start!
 
 
marked this as an answer
Relevant Answer
Yes I do have rankmath being installed. Thank you John for your reply.
marked this as an answer
Relevant Answer
I'm more inclined to look at the code in web.config first, particularly given that firefox as a user-agent and none as a referrer doesn't suffer the redirect loop fate.
 
marked this as an answer
Relevant Answer
I agree, there is a conditional rewrite somewhere. might be in the config or in de code of the site itself.

I get a similar infinite loop when I choose Google as a referrer.
marked this as an answer
Relevant Answer
PS in the web.config I see a check on referrer and user agent  so I guess the  suspicicious rewrite will be in web.config.

marked this as an answer
Relevant Answer
That's my exact view too Hugo and why I suggested removing it.
 
marked this as an answer
Relevant Answer
Oh, Sorry,  I must have missed that, John.
marked this as an answer
Relevant Answer
"I just renamed the file"
 
If we are talking web.config, just be aware that there is the potential for that file to be overwritten if you make some system change that requires it to be updated later on.
 
If the issue was the redirects as we identified above, it might be good to try and pin down what added those redirects to the file in the first place, so they don't simply pop back up on any errant rewrite.
 
Just something to be aware of ;-)
 
marked this as an answer
This question is locked and replying has been disabled.
Discard post? You will lose what you have written so far.
Write a reply
10 characters required
Failed to attach file, click here to try again.
Discard post?
You will lose what you have written so far.
Personal information found

We found the following personal information in your message:

This information will be visible to anyone who visits or subscribes to notifications for this post. Are you sure you want to continue?

A problem occurred. Please try again.
Create Reply
Edit Reply
This will remove the reply from the Answers section.
Notifications are off
Your notifications are currently off and you won't receive subscription updates. To turn them on, go to Notifications preferences on your Profile page.
Report abuse
Google takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Go to the Legal Help page to request content changes for legal reasons.

Reported post for abuse
Unable to send report.
Report post
What type of post are you reporting?
Google takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Go to the Legal Help page to request content changes for legal reasons.

Reported post for abuse
Unable to send report.
This reply is no longer available.
/webmasters/threads
//accounts.google.com/ServiceLogin
You'll receive email notifications for new posts at
Unable to delete question.
Unable to update vote.
Unable to update subscription.
You have been unsubscribed
Deleted
Unable to delete reply.
Removed from Answers
Removed from Updates
Marked as Recommended Answer
Marked as Update
Removed recommendation
Undo
Unable to update reply.
Unable to update vote.
Thank you. Your response was recorded.
Unable to undo vote.
Thank you. This reply will now display in the answers section.
Link copied
Locked
Unlocked
Unable to lock
Unable to unlock
Pinned
Unpinned
Unable to pin
Unable to unpin
Marked
Unmarked
Unable to mark
Reported as off topic
Known Issue
Fixed
Marked Fixed
Unmarked Fixed
Unable to mark fixed
Unable to unmark fixed
/profile/0
false
Search
Clear search
Close search
Google apps
Main menu
Search Help Center
true
83844
false