AutoCMS is an efficient content management system that pays close attention to SEO optimization, fully aware of the importance of website content being indexed by search engines in a timely manner.Although for mainstream search engines like Baidu and Bing, we can implement active push through API interfaces to accelerate inclusion, facing some platforms that mainly rely on JavaScript code for automatic submission, such as 360 search and Toutiao, Anqi CMS also provides a simple solution.By integrating these platforms' JS automatic code submission, you can ensure that your new published content can be quickly discovered and indexed by these search engines, thereby effectively enhancing the visibility and SEO performance of your website.

Understanding the value of JS automatic submission

In website operation, the crawling and inclusion by search engines is the starting point of content value.English translation: Usually, search engines access websites through web crawlers to discover new content.For platforms like Baidu and Bing that provide API interfaces, we can directly submit the URL of the new page to them, realizing 'active feeding', which is efficient and timely.However, not all search engines provide such an API interface.For example, platforms such as 360 Search and Toutiao prefer to implement automatic submission of content by embedding a segment of JavaScript code in the web page.This JS code runs when the user accesses the page, automatically reports the current page URL to search engines, acting as a 'hidden submitter' to ensure that your content is not missed by search engine indexing due to lack of active notification.

In AnQi CMS, locate the JS automatic submission configuration entry

Get the JS submission code of the target search engine

Next, you need to go to the official website administrator platform of 360 Search, Toutiao, or any other search engine you wish to integrate the JS automatic submission function.In these webmaster platforms, SEO tools or website submission entries for website administrators are usually provided.Please carefully search for instructions regarding 'JS automatic submission', 'code submission', or similar features, and obtain the complete JavaScript code section according to the guidance.<script>The start and end parts of the tag. When copying code, make sure to ensure the integrity of the code and do not omit any characters, as incomplete code may cause the function to fail.

Integrate JS code seamlessly with Anqi CMS

When you successfully obtain the required JS auto-submit code, please paste it into the "Link Push Management" page input box of the "360/Toutiao and other JS auto-submit" in the Anqi CMS background. The design of Anqi CMS allows you to paste the entire JavaScript code snippet, including its external<script>and</script>Label, paste directly into this text box.After pasting, please be sure to click the "Save" or "Submit" button at the bottom of the page to ensure that your settings are correctly saved by the system.<body>标签底部或 English</head>Ensure that the code executes smoothly when the page loads, completing the content submission before the label.

Verify that the JS automatic submission code is working.

To confirm that JS automatic submission code has been successfully integrated and is working properly, you can visit any page of your website in the browser, especially those new published articles or product pages that you want to be indexed by search engines.After the page is loaded, right-click the page and select "View Page SourceCtrl+ForCommand+F) to search for the keywords you previously pasted in the JS code snippet, or search for identifiers related to the internal code output of the AnQi CMS, such aspluginJsCode.If this complete JS code can be found in the page source code, and its content is exactly the same as what you have configured in the background, it means the code has been successfully integrated into your website and will be executed on each page visit.Although there may be some delay in the data update of the Search Engine Site Manager platform, regularly checking its submission log or inclusion status is also an effective way to verify the effect.

Frequently Asked Questions

Q1: My pasted JS code is not working, and I can't see it in the website's source code. What could be the reason?

A1:If you cannot find the pasted JS code in the website source code, please first check whether you have clicked the 'Save' button on the 'Link Push Management' page in the Anqi CMS backend to ensure that the settings have taken effect.Next, the front-end template of AnQi CMS needs a specific tag to output this JS code.{{- pluginJsCode|safe }}This tag. If this tag is missing in the template, even if the code is configured on the backend, it cannot be rendered on the frontend page.

Q2: Can I paste the JS code of 360 and Toutiao in the same input box?

A2:Yes, the '360/Toutiao and others JS automatic submission' input box of AnQi CMS supports you to paste multiple search engine JS automatic submission codes.You can paste the code from platforms such as 360 and Toutiao in order into the same input box.The system will output these codes to the website front-end in the order of your input during page rendering.

Q3: Why doesn't Anqi CMS directly provide an API for active push interfaces from 360/Toutiao?

A3:The mature API active push interface provided by Anqi CMS has been integrated with mainstream search engines such as Baidu and Bing, as these platforms have open APIs available for integration.For platforms such as 360 Search and Toutiao, they currently provide content auto-submission services mainly through front-end JS code, rather than open standard API interfaces.Therefore, Anqi CMS adopts a direct method of providing a JS code paste entry to maximize compatibility with the characteristics of these platforms, ensuring that users can fully utilize all available SEO optimization tools.