How can I keep the contents after the hashtag when I visit my website for the first time

For example, my website is example.com
When I visit example.com/#/example with a new IP (or with no cookie),
It will redirect to example.com/?i=1 by the security system,
BUT the contents after the hashtag (#/example) disappeared.
So, how can I keep the contents after the hashtag?
(I’m using the hash mode in vue-router.)

I’m not a native English speaker, so please excuse my grammar mistakes.

Most likely you cannot because the browser thinks it is a hash so it disregards it o ve you are redirected from the security system.

4 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.