URL SEO Tips & Protection Website _ website operation

Source: Internet
Author: User
Tags file url html tags net domain
Matching refers to matching user search keywords.

The primary domain name match is better than the directory name or Web page name match.
English keywords should be used between-or _ links.
For Chinese keywords, Chinese directory names and Web pages are famous in English directory name and Web page name. Google, Baidu can identify Chinese directory name and Web name, but other search engines unknown. The Chinese directory Name and Web page name may cause some browsers to not recognize the URL.
Under the same conditions (outbound links, etc.), URLs are superior to page title matching (<title> tags).
You can use multilevel domain names to match the keywords. (such as: china.creditcard.apply.cmbchina.com)
static Web pages (. htm,. html) are superior to Dynamic Web pages (. asp,. php,. jsp,. aspx).
The less dynamic page parameters the better.
Dynamic Web page parameter names can match keywords.
You can use a pseudo static address. (URL rewrite)
The same file URL should be fixed unchanged.
URL jumps should use 301 permanent redirects.
The primary domain name should not be too long (controlled in 12 characters characters).
URLs should contain fewer keywords than a large number of keywords.
The URL can be omitted the ", for," and other commonly used prepositions, articles and so on.
The primary domain name should first consider the user is easy to remember rather than search engine optimization.
Google, Baidu can not automatically match the Chinese keyword to use the URL of Hanyu Pinyin. (such as: Users search "search engine optimization", can not automatically match sousuoyinqingyouhua.html)
Google, Baidu is not yet recognized Chinese domain name. (such as: extension. com)
Compared to. com and. NET domain names, Google prefers. org and. edu domain names.
Google Adsense first through the URL matching ads.
You should not have too many subdomains to create different subdomains based on the article category or server use.

=========================================

Website Defense
Does the website need to be defended? Promotion still too late, how can refuse to outside the door. But the website does need to protect, otherwise ...

1. Anti-webpage Framework
These days, the rogue is no one to control, or say, there is no one in the background of the Rogue. So all kinds of hooligans everywhere. Borrow the name of the net pick, collect the flow is well-known, so, you are framed by the box to live.

Anti-webpage Framework countermeasures
These days, the law does not protect you, you can only protect yourself.
The following code is written in the Web page to prevent frames from being


Program code
<script type= "Text/javascript" >if (top.location!== self.location) {top.location=self.location;} </script>


--------------------------------------------------------------------------------

2. Anti-domain binding
In the eyes of the Chinese people. com is the genuine domain name, so most of the case is the same domain name. com is being registered, and the domain name of. Net. org is safe. Don't think you picked it up cheaply. When you use the xxx.net prosperous development, others will use xxx.com to your site, if you are blind to even complacent, then pay tuition fees, and so people are familiar with xxx.com visit, they will sell you a high price of the domain name, do not buy words, waiting for traffic hijacked it.

Anti-domain binding countermeasures
The Web page can judge the server server_name variable, and if it does not contain its own domain name, jump.
Server-side ASP code to change www.kuozhanming.com to its own URL


Program code
Dim Strserver_name
Strserver_name = LCase (Trim (Request.ServerVariables ("SERVER_NAME"))
If strserver_name <> "www.kuozhanming.com" Then
Response.Redirect "Http://www.kuozhanming.com"
End If


Web client will replace www.kuozhanming.com with its own URL


Program code
<script type= "Text/javascript" >
var my_domain = "http://www.kuozhanming.com";
var page_url = window.location.href;
if (Page_url.indexof (my_domain!=-1) {
Top.location = My_domain;
}
</script>


--------------------------------------------------------------------------------

3. Anti-domain hijacking
Domain name hijacking is divided into two situations, one is in the gateway to send false DNS information, the domestic and international domain names are effective, generally can not be resolved, can only allow visitors to remember their own server IP or several domain name standby, this situation can only affect some users.
The second is to modify DNS information directly, and the length of time can affect global users. The current. cn domain name is modified more likely, such as Google and MSN a few days ago, the domain name of the CN was hijacked. And a few years ago, Teng Xun illegally robbed QQ.com.cn domain name incident.

Anti-domain hijacking countermeasures
Try to register. com. NET and other international domain names, and then. cn domain name is also not open to individuals (that is, the registration of individuals without legal protection.) )

--------------------------------------------------------------------------------

4. Anti-piracy infringement
Piracy is a big problem in fact, but it is not a problem in China. The consequence is basically light picture hotlinking influence Server, heavy, you still want to be big and strong?
Do not know to give these infringers pay a counterfeit money when they do not do, I think there is little difference.

Countermeasures against piracy infringement
The following is only a simple method of protection, in order to fundamentally solve the problem, have to wait for a decent copyright law. There are countries that are as determined as blocking certain websites.

The article uses the picture more, and gives the picture to play on own website logo and domain name watermark.
The article contains more complex HTML tags and various links to reduce the readability of simple replication.
Use your own web site for examples in the article.

--------------------------------------------------------------------------------

5. Anti-website Copy, collection
A variety of network advertising platform, many people take the simplest way to establish a Web site to copy all the other sites.

Anti-website replication and acquisition strategy
Generally steal Web site information Server IP More fixed, know it IP, free play it, such as for its IP access to each page it contains more than one n trillion images. Or simply seal off its IP.
Related Article

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.