i'm not aware of it, but maybe y'all are...is there a way to set up a 301 redirect in .htaccess that actually notifies the user that the page has moved and to update their bookmarks?we're renaming/relocating a 500+ page site, and i don't want to set up dummy pages with redirects on them...but i want the user to realize that the page moved and that it has a new addressa quick google search gave me nothing...suggestions?
9/20/2007 11:37:15 AM
without researching this - even the big sites out there use the dummy pages with a # second redirect to notify users so i imagine if there was a better way they'd do it
9/20/2007 11:44:45 AM
ErrorDocument 301 /errors/updateyourbookmarksandredirect.html?
9/20/2007 11:48:54 AM
a 301 redirect is a specific HTTP status message that is returned to the browser. You can't use a 301 redirect AND give a notice to the user. The only way I can think of to do it would be to use some php code on the page you redirected them, to detect if they had been redirected (referral url). If you want to give them a notice before you redirect them, you would need to use a META REFRESH type of redirect as OmarBadu mentioned.However you're probably aware that a 301 redirect is search engine friendly and will pass pagerank while a meta refresh redirect will not.
9/20/2007 12:00:32 PM