b2evolution b2evolution

  • Sign in
  • Sign up
  • About
  • Downloads
  • Hosting
  • Docs
  • Support
  • Sign in
  • Sign up
  • Manuals Home
  • Latest Updates
 
  1. b2evolution CMS User Manual
  2. Back-office Reference
  3. Collections
  4. Settings
  5. URLs
  6. Collection Base URL Panel

Collection Base URL Panel

The Collection base URL panel lets you configure what the root URL of your collection will look like.

This requires Collection Admin permission.

Collection Base URL Panel

SSL

You can select the protocol to be used by the collection.

Collection URL Name

This is a short name used to uniquely identify this collection. It can be used in the URL schemes below. It is also used as the default for the media directory location.

Collection Base URL

In most situations, you will end up wanting your root URL to be very short and look something like http://example.com/ or http://example.com/urlname with no unnecessary characters added.

You can typically achieve this by selecting either "Extra path on baseurl", "Subdomain of basehost" here. "Absolute URL" should be reserved for very specialized cases.

The reason there are many options available here instead of just, say "Absolute URL", is for automatic configuration and portability of your site. By using the other options, you will be using URLs relative to your Base URL ($baseurl) which will make it very easy to move your site to another domain, including to a development machine for local testing of changes.

IMPORTANT: your .htaccess File must be properly set up for this to fully work.

Absolute URL

The Absolute URL is here to configure edge cases. It is highly recommended you try to use the other options first. If you are going to use Absolute URL, you must closely pay attention to the configuration of ALL other settings on the URLs page. If you use the automatic options, you can also leave all other options on "Auto".

PRO Support : Using "Absolute URL" to define collection URLs that are not under the Base URL ($baseurl) requires advanced server setups and is only supported through PRO Support.

URL Preview

This is a preview of what your base URL will look like. Use it to check your configuration.

Alias URL (v7.0.2+)

Each collection can only have a single baseurl but it is possible to define multiple domain aliases here.

This may be useful if you own several domains like mydomain.com and mydomain.eu.

WARNING: do NOT use Alias URLs for Short URLs.

For example, if a collection is configured to have the baseurl http://a.domain.com:8088 we can configure aliases such as:

http://b.domain.com:8088
http://www.otherdomain.com

and possibly even:

http://a.domain.com:8088/somefolder/
http://a.domain.com/

Any match on any subpage of an alias URL will produce a 301 redirect to the same subpage of the main domain.

For example, http://www.otherdomain.com/cat/subcat/article-slug should 301 redirect to http://a.domain.com:8088/cat/subcat/article-slug.

IMPORTANT: Remember your .htaccess File must be properly set up for these settings to fully work.

WARNING: Most web browsers cache redirections very aggressively which sometimes makes it hard to verify that a new URL works. Try to clear your browser caches, relaunch it or use a different browser to check when anything related to URLs doesn’t work as expected.

Tags: 7.0.2, PRO Support
Created by mgsolipa • Last edit by fplanque on 2020-09-08 14:34 • •

No feedback yet

On this page

  • SSL
  • Collection URL Name
  • Collection Base URL
  • Absolute URL
  • URL Preview
  • Alias URL (v7.0.2+)

Search the Manual

Content Hierarchy

  • b2evolution CMS User Manual
  • User's Guide
  • Installation / Upgrade
  • Front-office Reference
  • Back-office Reference
    • Site
    • Collections
      • Collection Dashboard
      • Contents
      • Comments
      • Categories
      • Features
      • Skins
      • Widgets
      • Settings
        • General
        • URLs
          • Base URL
          • Cookie Settings
          • Assets URLs / CDN
          • Date Archive URLs
          • Category URLs
          • Tag Page URLs
          • Single Post URLs
          • User Profile URLs
          • Tiny URLs
        • SEO
        • Item types
        • Item Statuses
        • Advanced
        • Advanced Permissions
        • Plugins
        • Common Settings
      • Creating a new collection
    • Files
    • Analytics
    • Users
    • Messages
    • Emails
    • System
    • Working with Results Tables
  • Developer Reference
  • Operations Reference
  • Advanced Topics
  • Glossary
  • Archives
Website engine

This online manual is powered by b2evolution CMS – A complete engine for your website.

About b2evolution

  • What is it?
  • Features
  • Getting Started
  • Screenshots
  • Online demo
  • Testimonials
  • Design philosophy
  • Free & open source
  • Terms of service

Downloads

  • Latest releases
  • Skins
  • Plugins
  • Language packs

About us

  • About us
  • Contact

Webhosting Guide

  • Web hosting blog
  • Best web hosting
  • Cheap web hosting
  • Green web hosting
  • Hosting with SSH
  • VPS hosting
  • Dedicated servers
  • Reseller hosting
  • Int'l: UK / France

Docs & Support

  • Online manual
  • Forums
  • Hire a pro !

Other

  • Adsense
  • Press room
  • Privacy policy

Stay in touch

  • GitHub
  • Twitter
  • Facebook
  • LinkedIn
  • News blog
  • RSS feed
  • Atom feed

Founded & Maintained by François Planque