Search Engine-Friendly URLS

xiaoxiao2021-03-06  40

The topic has to start very early, the original forum (

http://oldbbs.netbuddy.org/cgi-bin/ultrabo...d/ultraboard.pl) Ultraboard 2000, if you use Google queries, you may check the homepage of the old forum, other pages Google cannot Found, why?

Because of what forum is used, the basic forum is composed of dynamically generated pages, and the forum has authentication functions. Generally, the connection to a topic may be like this:

http://oldbbs.netbuddy.org/cgi-bin/ultrabo...15&tid=636&sid=

There are many symbols such as Google and other search engines, such as &,?, =, Etc., Google and other search engines are the static HTML page (for example

Http://mize.netbuddy.org/ That kind, Google's most annoying is the string such as "ID = 0dcb19209ae0" because so such a string is subject to some dynamic pages (such as Postnuke / PHPNUKE, various forums, etc. ) Used to express a session, perhaps Google's spider (Spider) for Index sites - GoogleBot's ID = in the URL each time the same page of a dynamic page is different.

such as

http://oldbbs.netbuddy.org/cgi-bin/ultrabo...15&tid=636&sid=

Http://oldbbs.netbuddy.org/cgi-bin/ultrabo...636&sid=0292381

Access is the same page

So, Google and other search engines are the most hated &,?, = Such a string appear in a URL, if a URL contains a lot of such characters, so Google may Refuse the INDEX page.

This is also the reason why the theme of many forums is hard from Google. This is also what XXBIN is determined to change the URLS of the forum to search engine friendly most direct causes and power. If you know your post, if you can go from Google on Search What happy is that?

First let's analyze the URLs of our forum:

http://bbs.netbuddy.org/index.php?act=st&f...=4&t=403&ot=0

This connection is the URL when the "Google is in the INDEX our forum" after the XXBIN Login Forum.

This URL is the most serious thing for Google. "" Such a string of "" "such as" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" , Login users do not have to "" "The string can also access the forum normally, and the forum can also identify this user, and the most important problem is solved.

The URL may become like this:

http://bbs.netbuddy.org/index.php?act=st&f...=4&t=403&ot=0

Next is the string of Google doesn't like Google, if we can convert the above URL

http://bbs.netbuddy.org/index/Act/st/F / 4/T/403/ArCH/0

The google will like us!

How to turn

First, build an index file in the root directory, the content is as follows:

Code

People who know a little PHP or C can see that this script is a URL like http://bbs.netbuddy.org/index/act/st/f /4/t/403/ARCH/0. Redirection to http://bbs.netbuddy.org/index.php?act=st&f...=4&t=403&ot=0 Our http server is apache 2.0.43 in Apache 1.x version, for http: // Bbs.NetBuddy.org/index/act/st/f/4/T/403/ArCH/0 URL, first Apache will look for a directory such as / index, if this directory does not exist, then look for whether there is / INDEX Such a file, if this file is present, pass the back string as the parameter to / index this file, and apache 2.0.43 will change, if there is no / index directory, then report 404 errors.

转载请注明原文地址:https://www.9cbs.com/read-74583.html

New Post(0)