httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Octavian Rasnita" <orasn...@gmail.com>
Subject Re: [users@httpd] hide page browsing in browser address bar
Date Fri, 25 Jan 2008 22:09:07 GMT
Do you want to make an unfriendly web page?

I think you should better tell what you want to do and why do you want to hide the address
of the current web page. Maybe this way you will find a better way.

If you will use <frameset> and <frame> or <iframe>, you can do this, but
I don't think is recommended.

<iframe> was not recommended a few years ago although now it is pretty popular, but
the html5 specifications seems to not allow at all <frameset> and <frame> anymore,
so it would not be a good way for the future.

Making your site beeing based on Javascript is also not a good idea, because it would make
your site unusable for those who have javascript disabled, but you can hide the address bar
entirely with javascript.

So, the bad advice is to use <iframe> and place the entire page in the frame, and it
will do what you want, but the search engines will index the content of the frame only, and
the visitors might see just that page, without the main page that contains the frame.

Octavian

  ----- Original Message ----- 
  From: Alain Roger 
  To: users@httpd.apache.org 
  Sent: Friday, January 25, 2008 4:36 PM
  Subject: [users@httpd] hide page browsing in browser address bar


  Hi,

  usually when a user browser a web site, the browser address bar display the full link of
the browsed page something like :
  http://www.myweb.com/hellopage.php
  or http://www.myweb.com/catalog/fun/mypage.php

  how can i do to only and ALWAYS display http://www.myweb.com/ in the browser address bar
?
  especially when i do not control the apache server configuration (because it is hosted somewhere
else).

  could i use the .htaccess file to do that ?
  if yes, how ?

  thanks a lot,

  -- 
  Alain
  ------------------------------------
  Windows XP SP2
  PostgreSQL 8.2.4 / MS SQL server 2005
  Apache 2.2.4
  PHP 5.2.4
  C# 2005-2008 
Mime
View raw message