Dan M.
Dan M.

Reputation: 11

YOURLS - Not Redirecting to correct original URL after updating it

I installed YOURLS yesterday and it's amazing. There is one little quirk I can't seem to figure out. When I create a short URL but later change the original URL (where the short URL points to) it doesn't cause your browser to redirect to the new original URL if you previously clicked on the short URL before the update.

Example:

Now, if I go into incognito mode or a different browser to go to that short URL after changing it, it works fine. It's almost as if the user's browser "saves" where the initial link goes and doesn't check to see if the short URL has changed its destination.

Is there a way to always have a web browser that has previously clicked on the link to always check the orignal URL in case it has changed?

Thank you!

Dan

Upvotes: 0

Views: 1415

Answers (2)

Ken Sharp
Ken Sharp

Reputation: 1054

Of course the browser saves the data - that's what they're supposed to do.

You need to set the expiration times on... well, everything.

Upvotes: 0

Cowgomooo12
Cowgomooo12

Reputation: 21

Simple, clear your browser cookies.

Upvotes: 2

Related Questions