简体   繁体   中英

URL Redirect not working In HTML link

my domain is www.xyz.com in this i have a page like www.xyz.com/test.php when u

open this page it'll show ua link like click here , the address of link is like

www.abc.net/secret/vEX0szqBscdQx but when i click this click here it shows 404 error

page not found and there url look like this

http://www.xyz.com/ " https://www.abc.net/secret/vEX0szqBscdQx/ "

its not redirection the page please help me.

ok lets get real

this is my code

When you reference external URI you need to specify the full URI including the protocol, eg http , https etc:

Try:

<a href="https://www.abc.net/secret/vEX0szqBscdQx">click here</a>

Or the shorthand to keep the same scheme/protocol( http / https ):

<a href="//www.abc.net/secret/vEX0szqBscdQx">click here</a>

Http 404 error is a clear indication that your url is wrong or does not exist. Specify the full url in your code.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM