The custom URL alias of a document is an indispensable detail in website operation, it not only concerns the SEO performance of the website, but also directly affects user experience and brand image.In AnQiCMS, you have powerful flexibility to manage these aliases and ensure their uniqueness in front-end links.

Flexible definition, making the URL more meaningful

Imagine a disorganized URL made up of numbers and symbols, versus a clear, meaningful URL that directly reflects the content theme. Which is easier to remember and share?There is no doubt about the latter. AnQiCMS knows this and therefore provides a convenient URL alias customization feature.

When you create or edit articles, products, categories, tags, and even content models in the AnQiCMS backend, the system will provide you with a 'custom URL' or 'URL alias' field.This is the unique 'ID card' assigned to each content.

  • Custom URL for documents, categories, and tags:No matter if you are publishing a new article, creating a product category, or defining a keyword tag, the system will automatically generate a pinyin alias based on the title you enter.For example, if the title of your article is "AnQiCMS project advantages", the system may automatically generate "anqicms-xiangmu-youshi".Of course, you can completely modify it manually according to your own needs, such as shortening it to 'anqicms-advantages' that is more concise and SEO-friendly.This custom URL is usually composed of letters, numbers, and underscores, avoid special characters, and keep it concise and clear.

  • URL alias for content model:For the content model itself, such as the "Article" model or the "Product" model, you can also set a URL alias for it.This alias is usually the English name of the model, such as 'article' or 'product'.It is different from the custom URL of the document and category, because the URL alias of the content model will serve as the basic component of the URL structure for all content items under it.Once set, it will affect the front-end links of all contents under the model, so it is usually recommended to set a concise and universally applicable English word, and not to change it easily thereafter.

Ensure uniqueness: System intelligence and manual optimization

It is crucial to ensure the uniqueness of each URL alias. A website should not have two identical page links, as this not only confuses search engines, affecting crawling and ranking, but may also lead users to access incorrect pages.

AnQiCMS provides a solid guarantee in this aspect:

  • System automatic verification and correction:When you manually enter or the system automatically generates a URL alias and saves it, AnQiCMS will perform a site-wide uniqueness check.If the alias you enter already exists, the system will intelligently add a random number string to the alias you set automatically to ensure that the generated URL is unique.For example, if you enter "anqicms-advantages" but it already exists, the system may change it to "anqicms-advantages-12345".

  • Collaboration of static rules:These custom URL aliases will not directly become the complete link on the front end of your website.They need to be combined with the template you set in the "pseudo-static rules".In AnQiCMS' pseudo-static rules, you can flexibly combine{filename}(Custom URL for Document/Page/Tag),{catname}(Custom URL for categories),{module}(The URL alias of the content model) as well{id}variables to build the URL structure you want. For example, if your pseudo-static rule is set to/{module}/{filename}.htmlThen, an article belonging to the 'Article' model (aliasarticle), and the custom URL isanqicms-advantagesThe document, its final link may be/article/anqicms-advantages.html. The system automatically guarantees uniqueness, which is for these final links formed by the combination of pseudo-static rules and aliases.

  • The clever use of 301 redirects:Sometimes, even if the alias has been set and released, for reasons such as brand upgrade, content restructuring, or SEO strategy adjustment, you may need to modify the URL alias of a document again.At this time, you may worry that the original SEO weight will be lost, or that users will encounter a 404 error when accessing old links.The 301 redirect feature built into AnQiCMS is exactly for this purpose.When you change the URL alias, set up a 301 redirect in time to permanently point the old link to the new link, and you can seamlessly pass the original SEO weight to it, while ensuring that users can always access the correct page.This is a very friendly transition method that can effectively solve the negative impact brought by URL changes.

Operational suggestions to help you navigate effortlessly.

In practice, custom URL aliases and configuring pseudo-static rules complement each other.

  1. In content management, set a custom URL:

    • Go to the "Content Management" menu and select "Document Management", "Document Classification", or "Document Tag".
    • Find the "Custom URL" field when adding or editing content.
    • You can keep the system-generated pinyin alias, or manually input a concise, meaningful English word or phrase based on your SEO strategy and content relevance.Remember, to facilitate management and the aesthetics of the front-end link, try to ensure that its semantics are clear and avoid repetition with existing content.
  2. Configure the pseudo-static rule in the feature management:

    • Go to the "Feature Management" menu and select "Pseudo-Static Rule".
    • AnQiCMS provides various built-in rules for you to choose from, such as "number pattern", "model naming pattern", and so on.
    • If you have more personalized needs, you can choose "Custom Mode", based on the page type (document details, document list, single page, etc.), use{module}/{filename}/{catname}Combine variables to form the URL structure you want.

By making such detailed settings and management, every page of your website will have a clear, friendly, and unique URL, laying a solid foundation for your content marketing and SEO strategy.


Frequently Asked Questions (FAQ)

1. What practices should I follow when customizing URL aliases to optimize SEO?

When customizing URL aliases, we recommend that you prioritize the following points:

  • Include the core keyword:Ensure that the alias includes the most core keyword on the page, which helps search engines understand the page content.
  • Simple and clear:The shorter the URL, the better, avoid redundant words, so that users and search engines can quickly identify the content.
  • Use hyphens to separate:Words are connected with hyphens (-) instead of underscores (_), because search engines usually treat hyphens as word separators.
  • All lowercase letters:Use lowercase letters consistently to avoid potential duplicate page issues caused by case confusion.
  • Easy to understand and remember:Make the URL readable to facilitate users' memorization and sharing.

2. Will changing the URL alias of the document affect the SEO ranking of my website?

Changing the URL alias can indeed affect SEO rankings in the short term, as search engines need to rediscover and index the new links.However, the 301 redirect function provided by AnQiCMS can minimize this negative impact to the greatest extent possible.After changing the alias, you must set up a 301 permanent redirect from the old URL to the new URL in the background.This way, the search engine knows that the page has been permanently moved, will transfer the accumulated weight of the old links to the new links, and will automatically redirect users visiting the old links to the new page, avoiding 404 errors, thus maintaining your SEO performance and user experience.

**3