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
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.
Related Questions
- → OctoberCMS Backend Loging Hash Error
- → "failed to open stream" error when executing "migrate:make"
- → OctoberCMS - How to make collapsible list default to active only on non-mobile
- → Create plugin that makes objects from model in back-end
- → October CMS Plugin Routes.php not registering
- → OctoberCMS Migrate Table
- → How to install console for plugin development in October CMS
- → OctoberCMS Rain User plugin not working or redirecting
- → October CMS Custom Mail Layout
- → October CMS - How to correctly route
- → October CMS create a multi select Form field
- → How to update data attribute on Ajax complete
- → October CMS - Conditionally Load a Different Page