SEO site dynamic and static URL

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

Problems encountered

There are two types of URLs today: dynamic and static. A dynamic URL is a Web page, and the principle is to run a script when the page is opened. By contrast, the static URL, where the content of the page remains unchanged, unless the hard coded to HTML format, the dynamic URL produces a specific problem to a site's database. Dynamic pages basically have only one template, in which to showcase the results of database queries. Instead of changing information, the data changes are not in the database in the HTML source code.

But there is a dangerous place where search engines are not very friendly to dynamic URLs. A dynamic web site looks like this:

http://www.tuiba.net/show.php?tid=765

A static URL is followed by an HTML or HTM end, and it looks like this:

Http://www.homevv.com/news/hyxw/xyzx/40651.htm

Static URLs usually get better rankings on search engine results pages, and when compared to dynamic URLs, dynamic URLs are sometimes not even indexed. Static URLs are also easier to view and understand for end users.

Search engines only list crawled pages, and their indices are specific. So the search engine decided to cut off the URL, the specific index is a variable string (for example:? & =).

For example, let's look at three URLs:

http://www.tuiba.net/show.php?tid=764

http://www.tuiba.net/show.php?tid=765

http://www.tuiba.net/show.php?tid=766

All of the above 3 site sites are three different pages. However, if the search engine cleans the material, first will offend the website program, at the question mark (?), now all three pages, look is the same:

http://www.tuiba.net/show.php

http://www.tuiba.net/show.php

http://www.tuiba.net/show.php

Another problem is that dynamic Web pages generally do not have any keywords in the URL, which is very important, highly relevant keywords should appear in the domain name or Web site, which was mentioned in a recent study on how to improve rankings.

The study involved hundreds of competitive keyword queries, such as tourism, automobiles, and real estate. Statistics show that the top 10, Google search results URL and 40-50 of the keywords are linked, whether the Web site or domain name, yahoo show is 60%; and MSN is 85%. As long as the static URL and content-related high page, ranking is ranked top 10.

The solution

So how do you deal with this thorny problem? Of course not from a single dynamic link to a static URL, this workload will be very large.

If you are hosting a Linux server, then you will want to make most of the Apache rewrite rules and redirect it to one URL to another, without the user's (or search engine's) knowledge. You must have this unit installed in Apache, you can view the file and install a module here. This module allows you to not rewrite your static URL manually.

So how does this module work? When a request comes in, with a server, for the new static URL, the Apache module redirects the URL inside the old dynamic URL, and looks like a new static URL.

For example, when someone invites this URL:

Http://www.homevv.com/news/jgxq/jgdt/40387.htm

The server responds and compares URLs in htaccess files, such as:

About Rewriteengine

Show thread Show-(*) \. Hot Media show.php? show = 1

Then converting to static links to old dynamic URLs looks like this, which of course is unwise:

http://www.tuiba.net/show.php?tid=766

The end user can absolutely understand what the Web site is supposed to look at, while also allowing the Apache rewrite rules to be processed for conversion purposes, and now remains the dynamic URL.

If you are not a technician, you may not want to try to compute complex rewrite code and how to use it, or you may not have enough time to embark on a new learning curve. Therefore, the URL rewrite tool can definitely help you. Whether this tool is executing rewrite rules and secretly converting URLs in your htaccess files is for another purpose, such as dynamic and static pages.

A generic URL rewrite tool that optionally overrides a single page or an entire directory. Simply select it and then generate it. In your htaccess file, you need to remember every rule, rewrite for each dynamic URL, without having to change all your dynamic URLs, because you are letting rewrite rules convert your, no or invalid, not appropriate to use, or rules not written into the htaccess file and do not try.

Another thing you have to remember is to do this in order to change all your Web addresses on your site to static URLs to increase search engine friendliness, as search engines do not allow duplicate URLs. You can even add your dynamic URLs, but for later development, or do not recommend adding dynamic URLs, with the URL rewrite tool after writing, you had better not have any links pointing to any of your old dynamic URLs.

But using static URLs on your site, you have to keep the content of your database, because there are these old dynamic URLs, you can give end users and search engines a static URL to browse, while at the same time, they are still your dynamic URL disguised. When I met a search engine engineer, someone asked, if this method is considered "hidden", he responds by saying that it is indeed not, and that, in fact, search engines like you to use URL rewriting tools instead of just saving you time and effort to help you use static URL conversions transparently to your dynamic URLs , but it will also help you improve your rankings in search engines.

This article by the International Home Network (www.homevv.com) editor-in-chief Xiangru released in (Www.royec.com and www.tuiba.net), reproduced please retain the copyright, Baidu Hi account Roy Yellow.

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.