Redirecting in browsers

H

Haseeb

i want to type google.com in the address bar and the browser will
redirect me to the google.com/news site. is it possible ?

thanks in advance.
 
E

Eric

If you are entering http://www.google.com/ and you are going to the
http://www.google.com/news page there could be an entry in the hosts file
that is instructing the browser to go to the news page instead of the main
search engine page.

To find out, enter hosts in the Search -> All files and folders and enter
hosts (nothing else) in the search box with your C: drive selected.

Choose to open the hosts file with notepad. Have a look for any entry that
can perform the redirection.

Eric - http://www.pcbuyerbeware.co.uk/
 
L

Lanwench [MVP - Exchange]

Eric said:
If you are entering http://www.google.com/ and you are going to the
http://www.google.com/news page there could be an entry in the hosts
file that is instructing the browser to go to the news page instead
of the main search engine page.

To find out, enter hosts in the Search -> All files and folders and
enter hosts (nothing else) in the search box with your C: drive
selected.

Choose to open the hosts file with notepad. Have a look for any entry
that can perform the redirection.

Hi - hosts files can't do that - nor can DNS. And I think the OP wants to do
the redirection, not *stop* it.
 
L

Lanwench [MVP - Exchange]

Haseeb said:
i want to type google.com in the address bar and the browser will
redirect me to the google.com/news site. is it possible ?

thanks in advance.

Nope, unless you have access to Google's webservers. Set up a favorite, or a
link in your browser so it's easy to click.
 
H

Haseeb

thanks to everyone for their replies.

first, i had a plan to do this in the host file.

for example,
if i add this line in the host file

127.0.0.1 <space> www.google.com

the it will redirect the browser to my own pc if i enter google.com in
my browsers address bar.

so, my idea was to write

www.google.com/news <space> www.google.com

in the host file so that the typed address will redirected to /news
site.

however, this is not working. :-(
 
L

Lanwench [MVP - Exchange]

Haseeb said:
thanks to everyone for their replies.

first, i had a plan to do this in the host file.

for example,
if i add this line in the host file

127.0.0.1 <space> www.google.com

the it will redirect the browser to my own pc if i enter google.com in
my browsers address bar.

so, my idea was to write

www.google.com/news <space> www.google.com

in the host file so that the typed address will redirected to /news
site.

however, this is not working. :-(

No - it won't work, sorry. That's not what a hosts file is for. It maps
names (not URLs) to IP addresses. It knows nothing of web hosting, etc. Nor
does DNS.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top