Home >Web Front-end >HTML Tutorial >How to jump to the page?_html/css_WEB-ITnose

How to jump to the page?_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:10:081327browse

For example, I created a website http://go.baidu.com with a php file in it
When I enter http://go.baidu.com/www.google.com, he will be able to download the file from my website Jump out to Google, and cnzz or other statistics have records of jumping spiders
Just like this http://go.idcspy.com/www.hqol.cn/
You can reduce outbound links


Reply to discussion (solution)

http://go.baidu.com/www.google.com
Access this directory via browser , to resolve to the server is to access the www.google.com directory under the site

The original poster? The site has only one php file and no other files. The access must be 404. Get the previous url on the 404 page and get the url. , the author can then operate on the data.

var link = document.url.split('/')[3];window.open(link,'_self');

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn