I want to redirect to a page after previous page is fully loaded
Content
Hi
I have put a condition , where if an article is not found in the existing page , then it should show the message page not found and then it should redirect to home page.
But in my case it is directly going to home page even after I have given a delay of sometime so that it should hold on to Page not Found message , it is not happening.
I am using below command for giving some delay and then I am giving redirect to home page, but it's not working
"setTimeout(function() {}, 160000);"
Please let me know what to add to make it work.
0