Use the GitHub Project homepage to implement URL-hidden forwarding, bind domain names

Source: Internet
Author: User

Now the domestic blog does not support the binding top-level domain, most give you a similar to the xx.com/dd/URL, so that your domain name CNAME have no place, check the next information, find the URL hidden forwarding way, code implementation is as follows:

123<meta http-equiv="Content-language"Content="ZH-CN">4<meta http-equiv="Content-type"Content="text/html; charset=gb2312">5<title>yaoyue68's blog</title>67<frameset framespacing="0"Border="0"Rows="0"Frameborder="0">8<frame name="Main"Src="http://www.xx/xx/"scrolling="Auto"Noresize>9</frameset>Ten

Save it as index.html and put it on GitHub you created the " username. Github.io" project (see the GitHub Project homepage for setup), then bind your top-level domain in the GitHub project CNAME file, In DNS, set the CNAME to "HTTP ://user name. Github.io".

This setup is finished, the URL is not changed, as if there is an improved method, is to use "#" to mark the article address, with the JS control read URL Access, I wonder ...

---------

Frameset doesn't seem to be a cross-domain call, is it? That's the way it's going to be.

Use the GitHub Project homepage to implement URL-hidden forwarding, bind domain names

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.