Ad

Using October CMS For Specific Pages

I want to use Octobercms for my laravel project. The main question is that can I use Octobercms for specific parts of my website? I mean for example single blog pages

Ad

Answer

The best way is to use sub-domain method.

Many organisations are using this method

https://mainstite.com <- pointing to main site

https://blog.mainsite.com <- pointing to blog [Just redirect user to blog sub-domain from main site]

This will give you more advantage and flexibility you can use 2 separate folders

  • 1 for your main site
  • 2 and another for your blog

As well you can have single db or multiple db dedicated to blog only [october cms only] (so maintaining blog can be easy with dedicated blog db)

As from your main site you can access blog data from blblog only [october cms only] (so maintaining blog can be easy with dedicated blog db)

As from your main site you can access blog data from blog database also you can insert update and delete blogs as laravel can access multiple db at once.

You can share session between sub domains as well [ plus point ].

If you have any further question please comment.

Ad
source: stackoverflow.com
Ad