GoDaddy space to realize phpwind pseudo static combat experience

Source: Internet
Author: User
Keywords Phpwind godaddy

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

As we all know, some search engines are not too friendly to dynamic Web pages (such as. php? Forms of Web pages), so the Web site in the form of dynamic Web pages is difficult to be included in the search engine, to improve the amount of site collection, one way is to achieve the site's pseudo static. I am also a novice, through the Phpwind program to do a Lacey local marriage site, in the implementation of the site pseudo static process to go a lot of detours, but ultimately successful, and now all its operation process written down, hoping to help the novice webmaster.

Enter the phpwind background, the Static directory Deployment page in the core setup, as shown in figure:

  

Set the static directory to-htm-, the static directory extension to. html, and the Apache server configuration according to phpwind instructions, looking for a conf/ httpd.conf configuration file, I FTP login site backstage, how to find also did not find httpd.conf configuration file, really strange, no this document. Can you backstage in GoDaddy? GoDaddy backstage is all English, for me is really guilty of fear, in GoDaddy backstage turned a lap also didn't find. No way to Baidu Bar, check it, it is necessary to modify a file named. htaccess and add a series of code, the code is as follows:

Rewriteengine on

rewritebase/

Rewriterule ^ (. *)-htm-(. *) $ $1.php?$2

FTP login backstage, in the backups directory to find the. htaccess file, open the file, there are some code, as if some of the database code, plus the above code, save upload updates, the site can open the homepage, the rest of the pages are not open, the hint could not find the page, as shown:

  

No problem, the Internet and check again, the problem may not be added to the directory, and add the following line of code: Rewrite base/, upload Update, the problem or Tao sound still ah, the problem is where? There is a problem with the reasoning code Setup. Baidu did not search out, it went to the QQ group to ask Gao, really let me find an expert, taught me a set of furious pseudo static cheats, haha, cheats code as follows:

<ifmodule mod_rewrite.c>

Rewriteengine on

Rewritebase/

Rewriterule ^ (. *)-htm-(. *) $ $1.php?$2

</IfModule>

Create a new. htaccess file, the file is only copied into the above code, save uploaded to the site root directory, must be the site root directory Oh. Ha ha. My Site community URL became http://www.1688love.com/index-htm-m-bbs.html successful.

For the master webmaster, these are very simple, but the novice webmaster is still possible to use, so I wrote it down.

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.