-
Notifications
You must be signed in to change notification settings - Fork 0
Applying custom blog domain names
The default URL path structure for the front page of a blog is /blogs/[blogID]
where [blogID]
is a 10 digit number. As this is neither good SEO or a easy to remember website address, custom domains can be used.
By adding a virtual host and pointing it to your blog directory e.g. /public/blogdata/[blogID]
you can view your blog without having to know the 10 digit blog ID.
If using cpanel, create a new addon domain.
All of the links on your blog will automatically pick up on the domain, however (currently) there is no setting within the CMS to specify the domain so clicking 'view blog' from the dashboard will not use the custom domain. This will soon be added to the settings menu!
Important - for widgets to load CORS header must be added to the .htaccess file under app directory:
Header set Access-Control-Allow-Origin: https://your-domain.com