Javascript redirect URL

Must Read : Javascript redirect URL

How to redirect URL page with Javascript.

Javascript redirect does not return 301 permanent redirect status code.

Javscript redirect

Replace old page with redirection code with the URL of the page you want to redirect to.


Search engines use the 301 status code to transfer the page rank from the old URL to the new URL.

Javascript redirection return http response status code: 200 OK.

So Javascript redirection is not search engine friendly and it is better to use other redirection methods that return status code: 301 Moved Permanently.

Javascript redirect example


(Visited 109 times, 1 visits today)

Leave a Comment.