基本上像克雷格列表將用戶重定向到一個特定的類別。一旦你在craigslist上選擇了城市,下次你去網站時,它會將你重定向到你選擇的城市。WP:使用cookie
我想達到什麼:當一個人來到現場,並選擇特定的類別,下一次他們來到現場(返回用戶) - 該頁面將打開在該類別的部分。
我認爲這將是很容易通過設置cookie辦時,訪問者點擊類別鏈接(或當類別頁面加載)上。當他們返回以下時間時,會讀取Cookie,然後相應地重定向頁面。
不幸的是我的PHP和餅乾的知識是有限的,(因此我尋找答案),所以我要問,如果有人能幫助我出去!
任何人有任何想法?
謝謝!
可能重複的[wordpress,類別重定向使用cookie](http://stackoverflow.com/questions/2395175/wordpress-category-redirect-using-cookies) – Kevin 2014-04-15 15:19:45