Reply to Re: Hotlinking to Html pages

Your name:

Reply:


Posted by Dylan Parry on 02/17/06 12:15

Pondering the eternal question of "Hobnobs or Rich Tea?",
snorkerz@gmail.com finally proclaimed:

> I'd like customers to only link to my pages from within the website, ie
> not from links or with direct urls. The only one to allow access from
> outside should be the home page.

You can do this with .htaccess, but it isn't very reliable. The main
problem that you will come across is that some user agents won't send a
referrer when requesting a page, so they will *always* be redirected to
your homepage.

To be honest, I can't see /why/ you are trying to do this? Could you
explain your rationale so that we could perhaps suggest something
better?

--
Dylan Parry
http://webpageworkshop.co.uk -- FREE Web tutorials and references

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация