Home  >  Article  >  Backend Development  >  How to enable pseudo-static in shopnc b2b2c? ?

How to enable pseudo-static in shopnc b2b2c? ?

WBOY
WBOYOriginal
2016-08-08 09:22:31990browse

How to enable pseudo-static in shopnc b2b2c

1. In windows environment

  1. First download the isapi rewrite plug-in, install it, and then we can modify the htaccess.txt in the root directory to .htaccess.
 2. Find config.ini.php under the website directory dataconfig to enable pseudo-static.
 Open config.ini.php (remember to use text or DW), do not open it with Notepad, otherwise an error will occur
 Find $config['url_model'] = false; change false to: true so that pseudo-static is turned on! !

2. Apache server

  1. Enable the rewrite.module function module of the apache server, and rename the ‘htaccess.txt’ file in the mall directory to ‘.htaccess’, and then select ‘Yes’ to save.
 2. Find config.ini.php under the website directory dataconfig to enable pseudo-static.
 Open config.ini.php (remember to use text or DW), do not open it with Notepad, otherwise an error will occur
 Find $config['url_model'] = false; change false to: true so that pseudo-static is turned on! !

How to enable pseudo-static in shopnc c2c

1. In windows environment

 1. First download the isapi rewrite plug-in and install it. There is a pseudo-static plug-in in IIS
 2. Go to the background of shopncC2C and enable pseudo-static in the left SEO of the background settings Just be static! !

2. Apache server

After installing the program, you can go to the background of the website to enable pseudo-static. At this time, you will find a line of prompts next to the button to enable pseudo-static. "Before enabling, please make sure you have enabled the rewrite.module function module of the apache server, and rename the 'htaccess.txt' file in the mall directory to '.htaccess', then select 'Yes' and save."
Note that you must follow this operation. Do not upload the code you wrote and name it .htaccess. Do not copy the code in htaccess.txt. Create a new .htaccess file and copy the code into it. Because if you do this you will find that your website will have a lot of errors.
 After renaming, you visit the website again. If there are still errors, you can check where your files are placed, because there is a text in the code "# Modify /shopnc in the following statement to be your mall directory Address, if the program is placed in the root directory, please change /shopnc to /RewriteBase /shopnc". If it is not placed in the root directory, you can change "/RewriteBase /shopnc" in the code to "/RewriteBase /" and save it. , it can be opened normally.

Please indicate (B5 Tutorial Network) original text link when reprinting: http://www.bcty365.com/content-145-2492-1.html

The above introduces how to enable pseudo-static in shopnc b2b2c? ? , including relevant content, I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn