how can some websites “trap” the user to their homepages when pressing the back button, but others take you right back to the search page.

903 views

how can some websites “trap” the user to their homepages when pressing the back button, but others take you right back to the search page.

In: Technology

2 Answers

Anonymous 0 Comments

They do this sometimes intentionally, but usually accidently or as an accepted consequence of the way they handle links into their site.

For example, if I run some ads I want to know what ads people are clicking on so I make a landing page that does nothing more than record what ad was clicked on (known at the time of the click and transition between ad-page and landing page (or site), but lost after that) and then redirect the user to the home-page. That means that when the user then clicks on the “back button” they are brought back to a page that did nothing more than redirect them to the homepage. So…if the page one-back from where you are redirects you to where you are, then…the back button doesn’t work very well :).

There are ways a friendly developer would prevent this.

You are viewing 1 out of 2 answers, click here to view all answers.