How do I make SEO settings for the title of Phpcms V9?
Before my friend asked me that CMS good, I introduced the Phpcms v9, really simple and powerful, station station are very easy!
Recently, a friend asked a question, said the title of the homepage can be controlled, but the column page, the title of the content page is very long, the user experience is not good, and then studied a bit, in fact, really s
Phpcms V9 file directory structure:root directory| –api Interface File directory| –caches Cache file Directory| –configs System Configuration file directory| –caches_* System Cache Directory| –PHPCMS PHPCMS Framework Home Directory| –languages Framework Language Pack Directory| –libs Framework main class library, main function library directory| –model Framework Database Model Catalog| –modules Framework Module Catalog| –templates Framework System Tem
Simply modify the V9 default search function, you can not search by model for the entire site contentThe following is the index.php file in the modified search module Then add an "unlimited" search condition on the header.html template, the value of typeid corresponds to 0, Search in the index.html and lists.html also do the same, the effect such as this site, so long as the model is not selected so that the results are all the data in the model matc
PHPCMS v9 article content page Call the previous next article method is as follows, the Magic Bar (www.moke8.com) prompts you directly to extract the following code in the Red section can be:Previous article: {$previous _page[url]}"title=" www.moke8.com ">{$previous _page[title]}Next article: {$next _page[url]}"title=" www.moke8.com ">{$next _page[title]}Analytical:{$previous _page[url]} previous post link{$previous _page[title]} previous post title{$
Phpcms v9 pseudo static rule win under IIS
Create a new Notepad file and change the file name to: Httpd.ini. Then paste the following code in.
The code is as follows
Copy Code
[Isapi_rewrite]# 3600 = 1 hourCacheclockrate 3600Repeatlimit 32Rewriteengine onRewriterule ^ (. *) content-([0-9]+)-([0-9]+)-([0-9]+). html$ $1/index.php?m=contentc=indexa=show Catid=$2id=$3page=$4Rewriterule ^ (. *) show-([0-9]+)-([0-9]+)-([0-9]+).
title length of not more than 25 Chinese characters, display the update date, the return variable is $v):
"SELECT * from Phpcms_content where catid=1 and status=99 order by updatetime Desc" rows="ten" return="V"}
' y-m-d ', $v [UpdateTime])}
{/get}
5. Call other databases under the same account(Call database for BBS, category ID 1 of the 10 latest theme, the theme length of not more than 25 kanji, display the update date):
"BBS" sql="select * f
The website will be migrated to the server when it is done locally, and the website is likely to modify the domain name many times during the development process. So how are we going to set it up in Phpcms V9?Please make changes to the following steps:1. Modify the/caches/configs/system.php inside all and the domain name, the former old domain name is modified as a new domain name can be.2. Background Settings-"Site management to modify the domain nam
PHPCSM Content Management System overall experience in all aspects of whether it is very good! But the discovery has since been officially given a grand takeover. Find the official pace is not keeping up with the needs of users. In the old version of PHPcms2008, there is a feature of keyword bulk substitution. But did not give the new Phpcms V9 plus batch replacement keyword small function. The new one also put their own every time the batch of SQL st
The latest release of Phpcms V9 because of the MVC design pattern, so its background access address is fixed, although you can modify the routing configuration file to implement the modification, but each time the routing configuration file is a bit of a problem for me, and accidentally error. Here to use another one once and for all, to facilitate the modification of access to the background entrance, the whole modification is divided into two steps:
During the development of the website, it is possible to modify the domain name many times. So how do we set it up in the Phpcms V9?
Please make the following steps to modify:
Modify/caches/configs/system.php inside all and domain name, the former old domain name modified to the new domain name on it.
Background Settings-site management to modify the corresponding site's domain name.
Update the system cache. Click the "Update Cache" butt
The phpcms v9 content management system does not have a Q A module. It only has a Form Wizard, but it has many limitations. Through the Form Wizard, we can only view information submitted by users, you cannot reply to the information submitted by the user. For example, a website of some organizations needs a function to receive and reply to a user's question. The Form Wizard alone cannot meet this requirement, however, you can use the following metho
Phpcms v9 inside the Listinfo function is very good, unfortunately AH. Multiple table queries are not supported and paged.Look at it. The foreground template layer supports get tags, supports multiple table queries, and supports paging. This function can be moved to the backstage to use.We are now transforming the get_model.class.php so that he can support multiple table queries and pagination.PHPdefined(' In_phpcms ') orExit(' No permission resources
The cause of the vulnerability is not too much. If you are interested in phpcms/api. php files, you can dig more phpcms holes.
Main utilization process:
Step 1: register a user
Http://www.wooyun.in/index.php? M = member c = index a = register siteid = 1
Step 2: Access the api file and expose the table prefix. The default table prefix is v9.Http://www.wooyun.in/api.php? Op = add_favorite url = wooyun. in title = % 2527
Step 3: pop up the user pas
Phpcms v9 background (SQL inj) 2 (code exec) VulnerabilityBy flyh4t www.2cto.comIn phpcms v9, The string2array () function uses the eval function, which may cause code execution vulnerabilities in multiple places.
Function string2array ($ data ){
If ($ data = '') return array ();
Eval ("\ $ array = $ data ;");
Return $ array;
}
For example, voting result Statistics (background permissions required)/Moudles/
Everyone should have the content > Attachment management > Attachment address substitution feature in case of domain change (for example, from local upload to space).Basically, you can't replace the address of the original domain name in all the tables.Now Phpcms V9 The latest version of the problem still exists.Find cause Discovery phpcms\modules\attachment\address.php Update () (latest version LINE35) has a problem with the following code:if (Preg_m
1.phpcms-v9 By default, you can only get the current column and sub-columns under the CATID, but sometimes we need to use the {PC} tag to get the content of the entire site, what should be done?The first step: Add the following method to the content_tag.class.php file:1 /**2 * List page Label: The main return is the data in the main table and the data in the schedule3 * @param $data4 */5 Public functionLists_all ($data) {6 $this->db-
Introduction: This is a detailed page for adding popular search keywords to phpcms V9. It introduces PHP, related knowledge, skills, experience, and some PHP source code.
Class = 'pingjiaf' frameborder = '0' src = 'HTTP: // biancheng.dnbc?info/pingjia.php? Id = 351602 'rolling = 'no'>
Phpcms V9 is currently in use, and popular search keywords need to be displayed. Google has not found a complete solutio
Phpcms V9 itself is not a regular release of this feature, this requires us to carry out two development in order to achieve, about the advantages of regular release not to say it, when we do not have time to update the site, will not appear article broken more situation, such as the Chinese New Year or their own festivals do not have time to update, Can write a good article in advance, let it automatically update, in WordPress, there is such a good t
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.