Moz can't crawl domain due to IP Geo redirect loop
-
Hi,
I'm trying to crawl our domain www.salvationarmy.org.au via my Moz account and it only ever returns results for one page when it should be crawling more than 3,000 pages.
In talking to support, they have said that because of the redirect we have in place it is creating a 302 loop and therefore not delivering results. Usually in this case I would obtain Moz's IP addresses and add them to the redirect settings as an exception, but Moz have said they use cloud-based services for crawling so the IPs change all the time.
Does anyone have any idea how to solve this issue? At this point I've paid for a year's subscription to a product I can't use.
Thanks,
Mel
-
Hi,
If you have manually set up your geo redirect in your htaccess then you could modify your rules to redirect only if not Moz’s crawler (rogerbot) like this:
uk redirect
RewriteCond %{HTTP_USER_AGENT} !=rogerbot
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^GB$
RewriteRule ^(.*)$ http://uk.abcd.com$1 [L]
Which means both conditions must be satisfied before the redirect happens, the user agent must not be rogerbot, and then it checks the country code. You may have to adjust it a bit depending on your setup but it’s just the same as adding an exception based on IP, so if you could already do that you can set up a user agent condition just as easily.
If you’re using PHP you could use $_SERVER['HTTP_USER_AGENT'] wrap your geoip function with something like:
if($_SERVER['HTTP_USER_AGENT'] != 'rogerbot' ){
You will have to check if it is not empty before you implement it (or work it into your code) as some servers have $_SERVER['HTTP_USER_AGENT'] as not set.
Thanks, hope that gives you a few ideas to try!
Tom
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Link Explorer is not working for particular domain
Hello, Linking Domain section in Link Explorer is not working fine for sewingmachineprice.com. When I put this domain to analyze for backlinks it says, "You entered the URL https://sewingmachineprice.com/ which redirects to www.hugedomains.com/domain_profile.cfm?d=sewingmachineprice&e=com. Click here to analyze www.hugedomains.com/domain_profile.cfm?d=sewingmachineprice&e=com instead." In fact, this domain is not redirected to any third domain or URL. I personally checked it and can access this website without any redirection.
Link Explorer | | Jacksmorrin0 -
I want to know how PA works in MOZ?
I want to know how PA works in MOZ? Like I have a website https://myinfo.pk its DA is same on all posts but when I see PA of IESCO Bill Page and LESCO Bill page. Both are different. Why PA is different of many posts when DA is same. Is there any specific reason?
Link Explorer | | ehtishamkhan0 -
Spam links and Domain Authority
I have a site that I know was Domain Authority 35 but now Domain Authority 25 after someone sent a load of spam links to it, how can this be correct and how can I change it? Is it worth doing a disavow and will moz take that into account?
Link Explorer | | BobAnderson0 -
Moz Crawl Issue?
So I've been looking over my latest crawl and two of each category appears, the only difference between them is a / at the end, i.e. http://thespacecollective.com/space-clothing/ http://thespacecollective.com/space-clothing One brings in a 200 code while the other brings in a 301. Given that the 301 is in place I know Google won't see it as a duplicate, but I'm curious as to why Moz picks up on this and whether or not there is an issue that needs addressing here?
Link Explorer | | moon-boots0 -
Can you compare social profiles (FB, Twitter, Instagram, Linkedin) for sites - in a similar way you can compare sites using OSE
Can you compare social profiles (FB, Twitter, Instagram, Linkedin) for competitors sites - in a similar way to how you can compare sites stats - (DA, PA, Backlinks etc) using OSE's compare tool?
Link Explorer | | mike8780 -
Permanent 301 - Domain Authority
Hi, we created a new website which we also gave a new url.
Link Explorer | | DIGIHOUSE
We made a permanent 301 for the complete domain. www.digihouse.at -> www.digihouse-werbeagentur.at Google checked that and we rank minimum as good as with the old domain.
But in MOZ Tools the Domain Authority is very bad now.
So i think the 301 influences Google but not the Moz Tools?
The Domain Authority will not be inherited in Moz Tools? thxChris0 -
How long does it take for moz to index new domain?
Hi, Two months ago we changed our site www.jicht.nl to jicht.nl. Everthing is redirected properly but the page authority remains 1. How long does is take rogerbot to index the site without www? Google rankings are also dropping so there might be a bigger issue. Thanx
Link Explorer | | AlkaVitae0 -
How quickly does Domain Authority and Page Authority update
Hi, I think I read somewhere that domain authority and page authority are updated twice a month - is this true? The reason I ask is because I had a very successful content piece released last month (around 20th May) that received some great links (mainly to a landing page, but also many links to my home page) from highly respected sources such as Time.com, Spin.com, RollingStone.com, DailyMail.co.uk... However, my domain authority hasn't changed at all, and the page authority for the page is only 47, which I was hoping would be higher for a page that received millions of visitors, 100k+ Facebook likes, and a wealth of sites linking in. Also, in OpenSiteExplorer, when checking against my home page, it says there are no Just-Discovered links for the last 60 days - again, I'm puzzled, as my home page has been referenced by many leading news sites. Many thanks
Link Explorer | | mjk260