Ok so how can you check HTTP status for SEO purposes

Hi Guys,

The screen shot is something i watched in a video tutorial but i cant replicate it on a PC. Basically fro SEO purposes I want to investigate the HTTP status of chosen urls. I can see there is a curl -I -L www. thing going on but is this:
Via the
Command Prompt on a PC
& secondly nothing seams to work :frowning:
Any insights welcome :slight_smile:

Going be the window title, it’s bash, not Windows CMD.

1 Like

But depending on your install of Windows, you could use bash on Windows: https://www.windowscentral.com/how-install-bash-shell-command-line-windows-10

1 Like

Bash? This is brand new to me, can i ask… the “curl -I -L www…” which returns the HTTP 200 where & how can i learn this?

There’s a link in SamA74’s post to the wikipedia page. It

Windows has completely different commands than Linux. You will need to figure out what the equivalent of curl is in windows if there even is one. The Windows command line/bash is not nearly as useful or easy to understand as the *nix one. In short it is much easier to develop on *nix platforms except for .NET. You could also try the powershell on windows which might be a little more user friendly.

2 Likes

Far easier to use Google Webmaster Tools → Crawl → Fetch as Google

2 Likes

Thanks John, i’m right in thinking Search console is limited to those that can prove ownership of the website, its not open to anyone right?

HI Guys…

Good progress but some remaining questions in my quest for knowing the HTTP status of a web address. Using Fetch thanks @John_Betong :slight_smile: it tells me:

http://jackrusselldigital.com/social-media/
is redirected 301 permanently to:
https://jackrusselldigital.com/social-media/

From an SEO perspective this is OK because its simply pointing the non secure to the secure? Or is it a problem. I read that 301 can be problematic because they slow down sites and can confuse bots (so i read)

Any insights welcome :slight_smile:

301 redirects are only problematic if you start chaining multiple redirects, not for redirecting one page directly to another.

See https://support.google.com/webmasters/answer/93633?hl=en for more.

I just google ‘header checker’ and use one of the returned sites. This one for example http://tools.seobook.com/server-header-checker/ will return the headers.

I also use this https://tools.pingdom.com/ as sometimes even if you have a page correctly returning (200) you might have missing files or linked files that return other codes and this will show problems in the waterfall.

hth

https://redbot.org/ is another option, and has a handy bookmarklet version, too.

1 Like

Just don’t buy too much of the SEO snake-oil, David!

2 Likes

The Google Search Engine tool can only be verified by uploading a verification HTML page or inserting supplied verification script into a web page header. Once verified the owner can invite others to read-only share results but they are not able to change any parameters.

You can also check the http_response_code here for http, http://www, Https and Https:/:www to ensure the .htaccess script is set correctly:

Jb-url-test

You can run cURL on Windows. I agree that *nix is a better dev experience, though.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.