this webpage is for loading and unloading only. no bookmarking
April 25, 2009 7:26 AM Subscribe
Is there anyway with apache redirect's (mod_rewrite with a 301 rule) for the underlying web page to detect the redirect and run some JS or PHP (or anything really) to say, 'HEY USER!!! Ya you! Change your bookmarks please!'?
posted by cayla to computers & internet (8 answers total)
I would like to change the domain name for a website I have and I can handle the actual rewrite rules just fine, but I would really like people to notice when they have been redirected so I can eventually phase out the old domain name.
Ideally, this could be bit of inline text above the banner for the web page. (Maybe I could make it blood red or blinking if I was feeling evil....)
I do *not* want to use pop-ups. Not web page pop-ups nor notification pop-ups. (You know, those 'OK or Cancel' ones). That would be annoying.
PS - I am aware that changing the domain name will kill page rank, etc. It is a very low traffic site and I am not concerned about that at all.
And now that I logically follow that through... It being low traffic, I guess this is a slightly moot question, but now that I am stumped it is going to bug me until I find an answer.