Skip to content
OSULZER.AT

Is my website down?

Status Code 301: Moved Permanently

A URL has moved for good. Check right here where your page redirects to and whether the chain ends cleanly.

Checks the status code, every redirect, the variants with and without www and over http and https, the SSL certificate and the response time.

Free, no sign-up - no data about you is stored.

Technical finding without guarantee. The check runs once from a server in Germany. If your website is only unreachable from certain networks or countries, the result may differ.

What does Status Code 301 mean?

A 301 tells browsers and search engines: this page now lives permanently at a different address. The server sends the new URL in the Location header and the browser follows it automatically. Visitors barely notice, they simply land on the right page.

Because the redirect is considered final, browsers often cache it for a long time. That makes a wrong 301 hard to undo: anyone who has already seen it may keep getting redirected even after you've removed it on the server.

Its sibling 308 also means "moved permanently", but guarantees that the request method stays the same. A submitted form (POST) is forwarded as POST with 308, while with 301 browsers usually turn it into a GET. For regular pages this makes no difference, for forms and APIs it does.

Common causes.

  • Switching to https

    The most common 301 of all: every request over plain http is redirected to the encrypted https address.

  • www or non-www

    A site should only be reachable under one variant. The other one redirects there with a 301, for example from www.example.com to example.com.

  • Changed URLs

    A post was renamed, a category moved or the permalink structure changed. The old URL redirects to the new one.

  • Relaunch or domain change

    When moving to a new domain or site structure, every old URL should point to its matching successor.

  • Trailing slash

    Many systems normalise URLs and redirect, say, /contact to /contact/.

With WordPress and hosting.

WordPress sets 301 redirects on its own: if you change the slug of a published post, it remembers the old one and redirects. It also redirects between www and non-www and adds the trailing slash, based on the address under Settings → General. For your own redirects, plugins like Redirection or the redirect features of SEO plugins are the usual choice.

The https redirect usually doesn't live in WordPress but on the server: in the .htaccess on Apache, in the server config on nginx, or as a switch in the hosting panel. If the same rule exists in several places, such as the server, a plugin and Cloudflare, you quickly end up with chains or loops and the browser reports ERR_TOO_MANY_REDIRECTS. I describe a real case in ERR_TOO_MANY_REDIRECTS with Apache and Nginx Proxy Manager.

How to fix it.

  1. Check the redirect

    Enter the old URL in the checker above and look at the chain: every hop with status code and target. Ideally there is exactly one hop straight to the final URL returning 200.

  2. Shorten chains

    If http redirects to https, then to www, then to the new page, that is three hops. Set up your rules so every old URL points directly to the final target.

  3. Make one place responsible

    Decide where a redirect lives: server, hosting panel, plugin or CDN. Duplicate rules in several places are the most common cause of loops.

  4. Pick a matching target

    Redirect to the page that actually replaces the old content, not blindly to the homepage. If there's no successor, a 404 or 410 is more honest.

  5. Update internal links

    Menus, buttons and links in your content should point straight to the new URL. Redirects are for visitors coming from outside, not for your own navigation.

  6. Clear the cache when testing

    Since browsers cache 301s, test changes in a private window or with the checker here, which doesn't remember old redirects.

Impact on Google.

For Google, a 301 is a strong signal that the target is the new canonical URL. Google passes the signals of the old page, such as links and ranking, on to the new one and gradually replaces the old URL in its index. Google treats 301 and 308 the same.

Long chains cost crawl time, and after a number of hops Googlebot stops following. If you redirect lots of old pages to the homepage, Google often treats that as a soft 404 and the signals are lost. The SEO check also shows whether redirects and titles on your pages are in order.

Good to know

Questions about Status Code 301?

The most common questions, answered briefly.

Questions about Status Code 301

What's the difference between 301 and 302?

301 means "moved for good", 302 means "somewhere else right now, but coming back". With a 301 search engines index the new URL, with a 302 they usually keep the old one. For a relaunch or the switch to https, 301 is the right choice.

When should I use 308 instead of 301?

When forms or APIs sending POST requests need to be redirected too. 308 guarantees the method is preserved. For regular pages both work the same and Google treats them the same.

Will a 301 cost me rankings?

A clean 301 to a matching page passes on most of the signals. Short-term fluctuations after a relaunch are normal. Real losses come from missing redirects, chains or redirects to unrelated pages.

How long should a 301 stay in place?

Google recommends at least a year. As long as external links still point to the old URL, there's no harm in keeping the redirect for good.

All status codes at a glance.

2xx: Success

  • 200OKAll good: the server understood the request and delivers the page.
  • 201CreatedThe request succeeded and created something new, for example a record via an API.
  • 204No ContentSuccessful, but the response has no body. Typical for APIs and background requests, not for regular pages.

3xx: Redirects

  • 301Moved PermanentlyPermanent redirect: the page now lives at a new address. Search engines switch to the new URL.
  • 302FoundTemporary redirect: the page is currently available at another address, the original URL stays valid.Causes and fixes →
  • 303See OtherRedirect to another page that is fetched with GET, typically after submitting a form.
  • 304Not ModifiedThe page has not changed since the last visit, so the browser uses its cached copy. Not an error.
  • 307Temporary RedirectTemporary redirect like 302, but the request method (such as POST) is guaranteed to stay the same.
  • 308Permanent RedirectPermanent redirect like 301, but the request method (such as POST) is guaranteed to stay the same.

5xx: Server errors

No status code: connection errors

New project?

Contact.

Tell me briefly about your project - I'll get back to you personally.

Your data is used solely to handle your inquiry. More in the privacy policy.