|
Posted by Jerry Stuckle on September 27, 2008, 9:41 am
Please log in for more thread options
Neil wrote:
>> Neil wrote:
>>> Hi,
>>> I have a gallery installed on an ecommerce site purely as a secondary
>>> feature. The thing is I don't want folk to be able to bookmark the
>>> gallery for future visits and miss out on them visiting the ecommerce
>>> site (store). Also I fear search engines may drive traffic to the gallery
>>> (which is no bad thing) but they may not visit the store area. There are
>>> menu links to the gallery on the store menu and to the store on the
>>> gallery menu.
>>>
>>> What I want to achieve is:
>>>
>>> a. Visitor visits www.example.com/gallery/ from OUTWITH the domain
>>> (example.com), they are redirected to www.example.com/
>>>
>>> b. Visitor already browsing www.example.com/* may have unrestricted
>>> access to www.example.com/gallery/*
>>>
>>> I'm sure from what I've seen this can be managed through .htaccess, but
>>> it's way beyond my knowledge of htaccess.
>>>
>>> Many thanks for any advice.
>>>
>> You can't do it in .htaccess. That would depend on the HTTP_REFERER being
>> present and accurate, which it is not.
>
> OK.
>> More reliable would be to use cookies. Virtually any server-side language
>> can do it.
>
> I just thought there might be a straight forward method of doing it in
> htaccess.
>> But I would recommend not doing it. If I saw a site do that, it would be
>> the last time I visited the site.
>
> Personally I don't see anything wrong with it. This sort of thing happens
> all the time in bricks and mortar shops/stores. Features of general and
> incidental interest are located at the back of the store. Typically in gift
> shops, I've even seen them in a different room to the back of the store -
> very often displaying local artwork - to encourage the customer/browser to
> come in and walk through the store to get to it. In this case it would only
> be necessary for the visitor to visit a single page within the store, to be
> able to click on the gallery button.
>
This is not a brick and mortar shop. This is an internet. And if I
want to bookmark a page, it's because I want to bookmark THAT PAGE.
Force me to run through hoops to get to the page I bookmarked and I will
never be back.
> Perhaps it's something for me to ponder - thanks for the advice.
>
> Neil
>
>
>
>
>
>
>
>
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
|