Recent Topics

Collection exact url only for root url addresses?

Started by on Jul 24, 2017 – Last touched: Jul 26, 2017

Jul 24, 2017 02:28    

I have a collection base directory.

example.com

and a subdomain of this base domain, called.

subdomain.example.com

The subdomain's root directory is the same as the main domain directory.

Is it possible to add a collection base url in the following way:

http://subdomain.example.com/collectionname/

I would like to create more blogs with that kind of url.

Is it possible somehow? Because I'm getting 404 pages now.

Jul 24, 2017 11:37

If I make an own folder for the subdomain and I install b2evo there, multidomain feature doesn't work.

Jul 24, 2017 16:44

You can call a blog bu name so [example.com/blog1] and [example.com/blog2] are ok
Then if you can make subdomains via surely you can set up a redirect so that [blog1.example.com] will go to [blog1.example.com/blog1]

Jul 24, 2017 23:58

If your base URL is http://subdomain.example.com/, then using the following for collections:

  • http://subdomain.example.com/ is super easy
  • http://example.com/collectionname/ is also super easy
  • a combination of both as in http://subdomain.example.com/collectionname/ should also work but may require more clicking to configure.

In any case: there must be a single b2evo install and a single index.php file. ALL domains and subdomains must point to the save root folder and same index.php on disk.

If you get a 404 page you must look at it in details to see if it was generated by b2evolution or by your webhost.

Jul 26, 2017 02:14

I am afraid this is too specific and needs too much testing specific to your private hosting. I don't have that much free time to investigate your particular case.

Nonetheless you will find the relevant documentation in this section: http://b2evolution.net/man/back-office-reference/collections/collection-settings/urls-settings/

no matter what, I strongly suggest you start by configuring your baseurl to http://yourdomain.com/ (without www). Then try to use 'Absolute URL:' for each of your collections.


Form is loading...

blogtool – This forum is powered by b2evolution CMS, a complete engine for your website.