How does shopncb2b2c enable pseudo-static ??

Source: Internet
Author: User
: This article mainly introduces how to enable pseudo-static in shopncb2b2c ??, If you are interested in the PHP Tutorial, refer. Shopnc b2b2c method for enabling pseudo-static

1. in windows

1. download the isapi rewriteplug-in and install it. then, modify the htaccess.txt file in the root directory to. htaccess.
2. find the website directory \ data \ config and find config. ini. php to enable pseudo-static.
Open config. ini. php (remember to use text or DW). do not use notepad to open it; otherwise, an error will occur.
Find $ config ['url _ model'] = false; change false to true. the pseudo-static mode is enabled !!

II. apache server

1. enable the rewrite.modulefunction of the apacheserver, rename the 'htaccess.txt 'file in the Shangcheng directory to'. htaccess', and select 'Yes' to save.
2. find the website directory \ data \ config and find config. ini. php to enable pseudo-static.
Open config. ini. php (remember to use text or DW). do not use notepad to open it; otherwise, an error will occur.
Find $ config ['url _ model'] = false; change false to true. the pseudo-static mode is enabled !!

Shopnc C2C method for enabling pseudo-static

1. in windows

1. download and install the isapi rewrite plug-in. the pseudo-static plug-in is available in IIS.
2. go to shopncC2C background settings and enable pseudo static in SEO on the left !!

II. apache server

After installing the program, you can go to the website background to enable the pseudo-static state. at this time, you will find a line of prompts at the button to enable the pseudo-static state. Before using the API, ensure that you have enabled the apacheserver's rewrite.modulefunction, rename the 'htaccess.txt 'file in the mall directory to'. htaccess', select 'yes', and save it ."
To copy the code in htaccess.txt, create a new. htaccess file and copy it to the code. If this happens, you will find many errors on your website.
After renaming, you can access the website again. if there is still an error, you can check where your file is stored, because there is still a piece of text in the code "# Modify/shopnc in the following statement as your mall directory address. if the program is placed in the root directory, change/shopnc to/RewriteBase/shopnc ", if it is not in the root directory, you can change "/RewriteBase/shopnc" in the code to "/RewriteBase/" to save it and enable it normally.

Reprint please note (B5 tutorial) original link: http://www.bcty365.com/content-145-2492-1.html

The preceding section describes how to enable pseudo-static in shopnc b2b2c ??, Including some content, hope to be helpful to friends who are interested in PHP tutorials.

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.