The installation of WordPress after purchasing the Bluehost is actually very simple. First, log on to the console of the cPanel website console and click ": you will see all the" SimpleScripts "software that can be installed in the SiteBuilders function project. click" WordPress "here: to Install the Wordpress software
"In 64-bit space on the installation of WordPress will be out of the situation," This is WordPress's own bugs, the problem is that WordPress in the 64-bit CPU (Linux) running, Because Php-gettext parsing. Mo Language file File error, so that WordPress in the use of Chinese version of the failure, not the legendary bluehost
$document _root$fastcgi_script_name;Include Fastcgi_params;Start NginxService Nginx StartConfigure MySQLStart the MySQL serverService mysqld StartSet the password for the root user of the MySQL server, this tutorial is set to "123456", you need to use this user name and password in the next steps/usr/bin/mysqladmin-u root Password "123456"Configure PHPStart the PHP-FPM serviceService PHP-FPM StartOpen/etc/php.ini FileVim/etc/php.iniEnter the following directly after entering, carriage return to
WordPress mail function:
WordPress old already added a mail function, such as you login backstage password forgotten, you can build a station through WordPress registered mailbox to retrieve the password. This wordpress mail function, not only can help us retrieve the password, but also can help the
*:*LISTEN 0 128:: 1:631 :::*LISTEN 0 100:: 1:25 :::*]# systemctl Start httpdStarting httpd: [OK]]# SYSTEMCLT Start mariadbStarting mysqld: [OK]Configure httpd configuration file in/etc/httpd/conf/httpd.conf, here just change the documentroot path to the corresponding directory can be. Note It is best to back up the configuration file before you change it, just in case. Because the http2.4 security mechanism is denied by default, the need to add Require all granted allow all hosts access]# Vim h
mysql data
Then use CD Bin$ sudo ./mysql_secure_installationTo modify the root password. The default value is null, which is obviously not safe. Configure the password as prompted, because the development environment does not have to be so restrictive.
$ sudo ./mysqld_safeTo start MySQL
$ sudo ./mysql -u root -pEnter the root password you just set to log on to MySQL.
$ sudo ./mysqld_safe stopStop MySQL
/**************/
I basically follow this.
At that time, there was usually a problem in the mi
Add the following code to the top of the 404.php file on the WordPress theme you are using:
If your host supports the mail () function or if you set up SMTP to send mail, in short, it is able to send mail on the line, a will go to see you set up the WordPress site administrator mailbox, you will find 404 notification mail (may be in the garbage bin), the content
upload avatar size settings. Such as:
3. How users upload their avatarIn the background point user-my profile, then you can see the upload avatar.
Third, the Gravatar server was wall, you can change to say, open the functions.php file, copy the following code to the top of the file, note after the first
Say more official Gravatar Avatar callfunction Mytheme_get_avatar ($avatar) {$avatar = Str_replace (Array ("www.gravatar.com", "0.gravatar.
WordPress integrated Baidu Site Search results
First look at the effects of tribal integration, as follows:
Can be clearly seen, this effect, compared with a two-level domain name to resolve much better, and advertising what, are still the original.
As for the operation process, it is very simple, we only need to layout a small piece of code to achieve this function.
1. First
The code to close the WordPress site search function is as followsAdd in the function.php file below your current topic
The code is as follows
Copy Code
function Fb_filter_query ($query, $error = True) {if (Is_search ()) {$query->is_search = false;$query->query_vars[s] = false;$query->query[s] = false;if ($error = = True)$query->is_404
So, as the framework of the WordPress webmaster should be how to prevent others to embed the framework?
In fact, to prevent others frame your site is also very simple. Just a simple code can be implemented, the code is as follows:
The code is as follows
Copy Code
The role of this JS statement: To prevent their own web page
Use Copy to back up your Web site data
Download and run copy
The copy Linux version is a compiled, ready to run program that requires no additional installation
wget https://copy.com/install/linux/Copy.tgzTar zxvf copy.tgz./copy/x86/copyconsole-username= registered
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.