Gateway through PBDIGG pseudo static web page settings

Source: Internet
Author: User
Tags .url aliyun customer gateway get hosting html http

Intermediary trading http://www.aliyun.com/zixun/aggregation/6858.html"> SEO diagnostic Taobao customer hosting technology hall

Gateway through PBDIGG pseudo static web page settings

PBDIGG program URL rewriting can be achieved pseudo-static link, so search engines get the contents of them.

After PBDIGG 2.0 version and the Chinese search engine Baidu similar page structure.

Make sure your server supports PBDIGG pseudo-static regularity before you turn on this feature, otherwise there will be an error that the page can not be opened.

Create a .htaccess file (enter the following code) and upload it to the server root:

#Start------------------------------------------------ ----------------------------------------

# Open RewriteEngine mode

RewriteEngine On

# Modify the following statement / pbdigg2 for your PBDIGG installation directory address, if the program on the root directory, change / pbdigg2 to /

RewriteBase /

# Rewrite system rules Do not modify the official version of PBDIGG 2.0

RewriteRule ^ index \ .html (& page = ([0-9] +))? $ Index \ .php \? Page = $ 2

RewriteRule ^ category / ([0-9] +) (& page = ([0-9] +))? $ Category \ .php \? Cid = $ 1 & page = $ 3

RewriteRule ^ user / ([0-9] +) (& page = ([0-9] +))? $ User \ .php \? Uid = $ 1 & page = $ 3

RewriteRule ^ show / ([0-9] +) \. Html (& page = ([0-9] +))? $ Show \ .php?? Tid = $ 1 & page = $ 3

# 404 error page definition

ErrorDocument 404 /404.htm

#End------------------------------------------------ ----------------------------------------

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.