Redirecting all traffic to an HTML landing page

Redirecting all traffic to an HTML landing page - If a page has internal and external outgoing links to redirecting URLs, it’s returning 3xx (301, 302, etc.) HTTP status codes standing for redirection. This issue means that the page does not exist on a permanent or temporary basis. It appears on most of the popular web browsers, usually caused by a misconfigured website. However, there are some steps you can take to ensure the issue isn’t on your side. You can find more details about redirecting URLs by reading the Google Search Central overview. In this article, we’ll go over how you can fix the Redirecting all traffic to an HTML landing page error on your web browser. Problem :


We are currently redirecting all website traffic to a static html page using javascript in the header of each page (the site will be like this for 4 days).



I'm concerned about the potential SEO impact.



The static HTML page currently has index 'no follow' and the other pages do still exist. It is just that the javascript when someone reaches those other pages sends them to the landing page via the below method.



Here's the script:



<script type="text/javascript">
<!--
window.location = "http://www.mydomain.co.uk/landing-page.html"
//-->

</script>


Can anyone advise best practice in terms of this redirect?



Thank you.


Solution :

Make sure the page is issuing a 302 header code. This indicates a temporary redirect and shouldn't adversely impact rankings if it's temporary. An alternative is a 503 maintenance code which does not impact Google ranks if it's temporary.



Keep in mind that Google will legitimately assume the content being searched for can't be found and begin demoting if it can't find it. You should recover once the redirect is lifted. Check your Webmaster to monitor scrapes and codes being received by Google.


We hope that this article has helped you resolve the seo, redirects, landing-page error in your web browsers. Enjoy browsing the internet uninterrupted!

Comments

Popular posts from this blog

How to redirect to any domain [duplicate]

"302 found" for index page bad for SEO?

Create redirect from url like www.example.us/?p=100&option=