Skip to main content
We are Brand SEO Beijing serving international business, your marketing partner, Contact us by mi@mgsh.com.cn

Analysis and resolution of the sudden Gateway Timeout of the website

I used Wordrepss to build a website. I worked overtime last night and went back very late. There was no problem with the website before I went back, but when I came this morning, the user said that he could not access the website.This time point is very coincidental. When the user suggested that he could not access the website, the time of the website error log was just right. It was as if everything was arranged. I just arrived downstairs in the park, received the user information, and checked It's a perfect coincidence.Emergency solution I don’t know the reason, I don’t want to solve the problem, and I don’t know the reason, so I didn’t restart the server.

Mm more info

Gutenberg Editor - How to switch from block editor to classic editor in 3 steps

Gutenberg editor, aka block editor, aka Gutenberg, the biggest change in European books happened in 1439, when Johannes Gutenberg invented the printing press. Guten Tag, in German, good morning.Therefore, I guess that the Gutenberg Gutenberg editor was conceived by the Germans and has not yet been investigated.Features of Gutenberg Editor We can see the characteristics of Gutenberg editor, block blocks, that can be edited, can be row, can be column, used for article editing, page editing, its improvement over the years is obvious, And it's w...

Mm more info

How to save versions of website articles for restoring historical content?

By modifying the configuration to realize the multi-version preservation of the article, it is used for the backup and recovery of the article content, so as to avoid inadvertent error modification, which is to improve the security and friendliness of the website system.If the website does not have this function, we need to optimize our behaviors to avoid operational losses, and with this function, we have an extra insurance.By learning how to modify the article version function of Wordpress, we can learn the framework of the content management system, and the thinking habits behind each function, field, configuration, configuration method, configuration logic, and system node intercommunication, I have to say, Western…

Mm more info

The website saves the log modification record of the article page

WordPress automatically saves a record of your changes to the log.When you update a post or page, WordPress keeps the post (page) before the update, allowing you to retrieve the pre-update content at any time.These old log stubs will remain in the database forever as historical records, enabling users to see all changes to the log.But sometimes we also need to do some tidying up of the database.Each revision to the log results in an extra row in the WordPress log table, while postmeta and term_relatio…

Mm more info

Website CMS Custom Post Type - Single Post Type

What is Post Type? There are two commonly used Post Types built into WordPress: Post (article) and Page (page), which are used to display two types of content, one is a relatively dynamic article, and the other is a relatively fixed page.In addition, WordPress also has several other Post Types built in to display different types of content.But if it is a more complex website or requires a high degree of customization, then you can manually create a Post Type…

Mm more info

Website making theme making comments template comments.php

We made a single-page template for the article earlier. We can find that the code of the single-page template is similar to that of index.php, but today we make them slightly different. We add a comment form to the article template so that visitors can post comments.First create a new file comments.php under the theme folder, then open the single.php file, cut the comment code inside, and paste it into the comments.php file. The code to be cut is as follows: …

Mm more info

Website production theme production article single page template single.php

In the previous tutorial, we have only done index.php. This file can be used as the home page or as an archive page such as classification and tags. In this tutorial, let's make the specific page of the article - article single page template , if we don't have the single page template single.php, then the index.php file will be used instead, but for the article single page, we also need to add some other information, such as copyright statement, related articles, comments, etc., so we Another template should be made, there is already a single under the theme folder we downloaded...

Mm more info

Website production theme production index.php file

We have extracted the public code in the index.php file and made it into header.php\footer.php\sidebar.php. Now let's sort out the code of index.php. The index.php file is one of the most commonly used If your theme does not have home.php and the home page is set to display the latest articles in the background, then the index.php file is the home page template. If your theme does not have an article template (single.php), no single page...

Mm more info

Website production theme production sidebar sidebar.php

The previous two tutorials talked about extracting the common code at the head and the bottom into a separate file. For the same reason, for the blog theme, the sidebar is basically common (maybe some pages are different), generally It is said that we also extract the common code of the sidebar and put it into a separate file. Of course, the function of the sidebar is not only this. With the sidebar file, you can add gadgets to the sidebar from the background through the code. .Create a new sidebar.php file in the theme folder content\themes\Aurelius, then open i…

Mm more info

Website production theme production bottom file-footer.php

We put the common header code of all template files into one file (header.php). In the same way, our bottom information, such as copyright statement, is basically common to all pages, so we also put this part of the code Extract it and put it in a separate php file.Create a new footer.php file in our theme folder content\themes\Aurelius.Then open the index.php file with an editor and put the code inside: &l…

Mm more info
Back to Top