As an experienced veteran in website operation for many years, I know full well the vital significance of search engine inclusion to the lifeline of website traffic.Submit website content to major search engines quickly and accurately is the top priority of every operator's daily work.Anqi CMS, as an enterprise-level content management system that deeply understands the ways of SEO, provides many convenient functions in this aspect.Today, let's talk about a problem that many new operation beginners will encounter: 'Where should the JS automatic submission code of search engines like Toutiao be pasted in the AnQiCMS background?'
Firstly, to understand this problem, one must grasp the submission mechanisms of different search engines.Popular search engines like Baidu and Bing usually provide API interfaces, allowing websites to directly push new content through the server-side, which is efficient and stable.But for some platforms with considerable traffic that do not provide a direct API push interface, such as Toutiao and 360 Search, they often require websites to embed a segment of JavaScript code in the page.This JS code is executed when the user accesses the page, thereby reporting the page URL to the corresponding search engine, achieving the purpose of 'auto-submission'.
Then, where should we paste this JS code in the Anqi CMS backend to ensure it runs efficiently and error-free?The answer is actually very intuitive and does not require you to delve into the code, nor do you need to make complex template modifications.
Core Operation: Locate the correct position of the AnQi CMS backend.
- Log in to the AnQi CMS backend management system.This is the starting point for all operations.
- In the left navigation menu of the backend, find and click.“Function Management”This module aggregates various practical operation tools provided by AnQiCMS.
- In the sub-menu of "Function Management", you will see one named"Link Push"[The option, click to enter.]
- In the management interface of "Link Push", you will find an area for active push configuration specifically for Baidu search and Bing search engine, as well as a dedicated input box with a title clearly stating360/Top Stories auto-submit JS.
That's right, it's here! This input box is prepared for search engines that rely on JS code for submission, such as Toutiao, 360 Search, etc.
How to correctly paste JS code
After locating to the correct position, the next step is to paste the code. There are several key points to note:
- Paste completely:Make sure to use the complete JS code you obtained from the Toutiao站长 platform (or 360 Search, Sogou, and other platforms), including
<script>and</script>The tag itself, paste it completely into this input box. Do not omit any part, and do not paste only JS code without including the tag. - One-time configuration:After pasting and saving, this JS code will affect all front-end pages of your website.This means you don't have to manually copy the code to each page template, the intelligent mechanism of Anqi CMS will help you with this task.
<body>Ensure that the code can be executed correctly before the label is closed, without the need to manually edit the template file.This greatly reduces the difficulty of operation and avoids errors that may be introduced by manually modifying the template.
Verify submission effect: Ensure everything runs normally
After configuration is completed, simply pasting is not enough; we also need to verify whether it takes effect.
- Publish or update content:Try to publish a new article or update an existing article in the Anqi CMS backend. This action will trigger the system to notify search engines of page updates.
- Check the push records:
Operation Strategy Suggestions and SEO Advantages of AnQi CMS
Through AnQi CMS, you can easily manage the submission requirements of various search engines.For platforms that require JS code submission, this 'paste-and-use' mode greatly simplifies the operational process.
- Sitemap Auto-Generation:Help search engines efficiently crawl the website structure.
- Robots.txt configuration:Fine-grained control of the search engine crawling scope.
- 301 Redirect Management:Avoid weight loss caused by page changes.
- Keyword Library and Anchor Text:Optimize on-site links and keyword layout.
- Flexible content model:Build a clear website content structure to enhance user experience and SEO friendliness.
Common Questions (FAQ)
1. Why do some search engines push through API while others use JS code?
2. Do I need to paste the JS code into every page template of AnQiCMS?
3. Why haven't the data on the webmaster platform been updated immediately after pasting the JS code?
The JS submission mechanism of search engines is usually triggered when users visit a web page, and the data crawling, processing, and statistics require some time.Therefore, after pasting the JS code, the data on the site administrator platform may not be updated immediately, and it usually takes several hours or even one or two days to see the effect.In addition, the number of visits to the website will also affect the trigger frequency and submission efficiency of the JS code.Suggest observing the site for several days after pasting and ensuring that the website has normal traffic access.