Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- URL Redirection problems
March 28, 2007, 1:14 pm
rate this thread
I was asked to maintain and further develop an already existing small
company's web site.
I know the golden rule of "eternal" URIs, but in this case changing them
cannot be avoided as they were badly chosen when thwe site was first
delevoped: URLs with spaces, typos, etc. So I have to use new URLs and
put the content in them.
This causes two problems:
- 404 errors for users who have bookmarked this company's web pages
- (and *most importantly*) current pages are indexed on Google and other
search engines. Changing URLs abruptly creates obvious search engine
positioning and ranking problems.
Simple, some may say, there are *various* URL redirection techniques hat
are both transparent to the users and well accepted by search engines
(particularly 301 - Permanet redirect). Unfortunately, I don't have
access to the web server config file and, as this is a rather cheap
hosting, even though it runs on apache, I cannot cerate a .htaccess file
and put my redirections there.
Apart from changing hosting provider, which cannot be done at the
moment, how can I solve this problem?
Re: URL Redirection problems
If you are willing to trust most browsers to do it, you can use a static
html page that will "re-direct" the users to the new URL's. This is
supposed to be a "bad" idea but if it helps, then its "good enough".
You can also (I think) persuade Google to update its links pretty rapidly
using the XML stuff that you can upload.
I just grabbed a copy of what my host created for my files website. If you
put this in the index.htm page of the old URL's it will cause many browsers
to re-direct to the new URL. You may want to add displayable code and a
link so that if the refresh doesn't work automatically your visitors will
still be able to get to the new URL(s) Your milage may veri....
<META HTTP-EQUIV="Refresh" CONTENT="0; URL=http://files.chatnfiles.com ">
Hope this hellps,
Posted via a free Usenet account from http://www.teranews.com
Re: URL Redirection problems
It will also seriously screw up their "back" button :( That's one
of the reasons many regard it as a "bad idea". If they really
insisted on doing it with meta refresh, your host should at least
have suggested some value in "content" much greater than zero,
something long enough to allow the visitor some chance of getting
out of the loop.
That's a better way of doing it for hosts which restrict other
Just something simple like:
<p>This site is now at
<a href="http://www.newsite.xxx /">http://www.newsite.xxx /</a></p>
It tells the visitor what's happened, where the new site is and
gives them a choice about what to do next.
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — The site's Newest Thread. Posted in » Secure Shell Forum