Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Newbie Help - How do I stop webpages being redirected to a commercial source

Reply
Thread Tools

Newbie Help - How do I stop webpages being redirected to a commercial source

 
 
rfj10101@gmail.com
Guest
Posts: n/a
 
      01-02-2013
Hi,

Not sure whether this is the best forum. If not, please point me in the right direction.

I've completely redesigned a website so all the webopage refs are different. If I google search, there may be references to webpages that are now no longer on the site.

If I click on one, it doesn't take me to my website; rather it goes to the site of a webparking company, sedo.

Is there are a way I can get references to any old links to go to a nominated page on my current website.

TIA

Rob

 
Reply With Quote
 
 
 
 
Jonathan N. Little
Guest
Posts: n/a
 
      01-02-2013
http://www.velocityreviews.com/forums/(E-Mail Removed) wrote:
> Hi,
>
> Not sure whether this is the best forum. If not, please point me in the right direction.
>
> I've completely redesigned a website so all the webopage refs are different. If I google search, there may be references to webpages that are now no longer on the site.
>
> If I click on one, it doesn't take me to my website; rather it goes to the site of a webparking company, sedo.
>
> Is there are a way I can get references to any old links to go to a nominated page on my current website.


If the links are to pages on your *own* domain then you 404 page/handler
script should deal with it. If the link go to some other domain that no
longer exists then there is not much you can do about than until the
entries expire. The web "webparking" pages are normally a "feature" of
your ISP. For mo info on how to disable:

<http://www.google.com?q=how+to+opt+out+DNS+assistance>


--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
 
Reply With Quote
 
 
 
 
richard
Guest
Posts: n/a
 
      01-03-2013
On Wed, 2 Jan 2013 08:42:44 -0800 (PST), (E-Mail Removed) wrote:

> Hi,
>
> Not sure whether this is the best forum. If not, please point me in the right direction.
>
> I've completely redesigned a website so all the webopage refs are different. If I google search, there may be references to webpages that are now no longer on the site.
>
> If I click on one, it doesn't take me to my website; rather it goes to the site of a webparking company, sedo.
>
> Is there are a way I can get references to any old links to go to a nominated page on my current website.
>
> TIA
>
> Rob


Probably your domain host has it set up that way.
Usually you get a "404" page. But they can change that any time.
 
Reply With Quote
 
cwdjrxyz
Guest
Posts: n/a
 
      01-05-2013
On Jan 2, 10:42*am, (E-Mail Removed) wrote:
> Hi,
>
> Not sure whether this is the best forum. If not, please point me in the right direction.
>
> I've completely redesigned a website so all the webopage refs are different. If I google search, there may be references to webpages that are now nolonger on the site.
>
> If I click on one, it doesn't take me to my website; rather it goes to the site of a webparking company, sedo.
>
> Is there are a way I can get references to any old links to go to a nominated page on my current website.


What you can do depends on what your web host allows you to do on your
rented server space. See if your host has a manual that describes how
to do things on your server. In my case, the server can be instructed
to go to another web page or give a message when there is an error.
The instructions for doing this are at:
http://www.hostexcellence.com/hostin...g-features#q1d . Of
course the instructions for another host may be quite different. If
you do not decide on a page redirect or error message of your own,
then the host usually has defaults. In some cases these defaults may
be to some external commercial page, and your host is paid for using a
redirect to this page.

 
Reply With Quote
 
William Gill
Guest
Posts: n/a
 
      01-07-2013
On 1/2/2013 11:42 AM, (E-Mail Removed) wrote:
> Hi,
>
> Not sure whether this is the best forum. If not, please point me in the right direction.
>
> I've completely redesigned a website so all the webopage refs are different. If I google search, there may be references to webpages that are now no longer on the site.
>
> If I click on one, it doesn't take me to my website; rather it goes to the site of a webparking company, sedo.
>
> Is there are a way I can get references to any old links to go to a nominated page on my current website.
>
> TIA
>
> Rob
>

If I read your post correctly, your domain has not changed, some of the
pages have been removed. So example.com/oldpage.html causes a not found
error, which it sounds like your hosting company handles by sending the
request to the webparking company page.

If this is true there are a couple things you can do, but they will take
some research. What I'm taking about here is Apache specific, but most
other servers I've worked with have similar mechanisms.

The first example will work on any server. Assuming
example.com/oldpage.html has been removed, but example.com/newpage.html
is the desired new destination. Simply create a replacement for
oldpage.html that tells the user to correct their bookmark and provide a
link to newpage.html. You can also add a meta refresh tag to move most
visitors along automatically.

You can also create custom "404 Not Found" handling that directs the
visitors to an explanation page that you have created. This page can
list links or whatever you want. You could also just have all 404's go
to the home page, but I don't recommend that.

Look up documentation on htaccess files, redirect, redirectmatch,
rewrite, and Apache directives to get an idea of what is possible. Most
servers allow some server directives to be placed in .htaccess files,
for example this line in an .htaccess file:

RedirectMatch permanent ^(.*)\.htm(l?)$ $1.php

Will automatically correct requests for all pages with .htm or .html
suffixes to be redirected to pages with the same name , but with a .php
suffix.

Read and heed all warnings and cautions, because you can adversely
affect the site with careless directives.

Happy hunting.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
How to determine when a page is being redirected =?Utf-8?B?T3Bh?= ASP .Net 4 10-05-2006 10:27 PM
How to prevent being redirected to a different page? Paul Carter Firefox 3 09-21-2006 12:26 PM
stdout being redirected to an open file? bjhartin@yahoo.com Java 8 10-27-2005 04:16 PM
IE MSN Search being redirected, Help! Dave Computer Security 4 10-26-2004 11:17 PM



Advertisments