1

I'm looking for something to add to my .htaccess that will redirect any incoming traffic that has a cookie set by another website.

For example, if I have a website called DogsPaws.com and someone visits DogsNose.com (which sets a cookie), I want to redirect the incoming traffic I am receiving from DogsNose.com to a specific welcome page.

If I have a link on the DogsNose.com page, I can redirect based on a Referrer rule, but what happens if the person visits DogsNose.com and then closes out their browser and comes back the next day and types DogsPaws.com directly in their browser, I still want my redirection rule to apply. I know that cookies expire and people clear them occasionally but for the most part, if the cookie is there, I want to redirect. Is there any clear way to do this?

4

1 に答える 1

1

他の Web サイトから Cookie を読み取ることはできません。クライアントはそれらを送信しません。

.htaccess には解決策がありません。DogsNose.com があなたのものでない場合、解決策はまったくありません。

于 2013-02-01T20:36:07.440 に答える