Welcome to WebmasterWorld Guest from 188.8.131.52
Forum Moderators: open
The external "/JS/2001.js" is simply window.location.replace("http://www.mydomain.com/newpage.html");
I can't imagine disabling someone's Back Button.
By the way, the safest way to create a link to an external js file is:
What you have is a bit too barebones to be sure of it working on all browsers.
Many of my old product pages do well for some useful kw searches and I would hate to lose this traffic as I present a new line. Please check my thinking here: With this method, I can keep the "old" pages up for their keyword value, yet still direct the searcher to my new product line in a seamless, fair and safe way. I htaccess-protect my JS folder and I have not performed any trickery on the searcher nor flagged myself to the SEs.
And this, the scripting I described earlier plus your kind response, is the easiest and safest of redirection methods. Correct?
For now. As far as I know.