Install on Shared Hosting


1. Upload files

If you have purchased Corak Blog Plus then you will be able to find upload.zip within the main zip file.

  • Uplaod upload.zip to your hosting's root folder public_html and extract it.
  • If you are installing it on subdomain then do extract it in your subdomain's root folder.
  • Move .htaccess, favicon.ico, index.php and robots.txt files from public folder to public_html folder.
  • Remove ../ from line 19, line 34 and line 47 in index.php file, then save it.
2. Setup Database
  • Create a new database.
  • Import database.sql you will be able to find it within the main zip file.
  • ...
3. Setup environment file
  • Make sure that the file manager on your hosting shows hidden files (dotfiles).
  • ...
  • Open file .env.
  • ...
  • You need to change the following information into your environment .env file.
    • APP_NAME - Name of your Application.
    • APP_URL - Change this to your website URL. Ex http://your-domain.com
    • Remove # sign from ASSET_URL line, then change this to your website URL + /public. Ex http://your-domain.com/public
    • DB_HOST - Put your database hostname here.
    • DB_PORT - Put your database port here if it does not default to 3306.
    • DB_DATABASE - Change it to your database name.
    • DB_USERNAME - Name of your database user.
    • DB_PASSWORD - Password of your database user.
  • Some features such as newsletter, password recovery or new users email confirmation need to set up mail configuration and update the following variables.
    • MAIL_MAILER
    • MAIL_HOST
    • MAIL_PORT
    • MAIL_USERNAME
    • MAIL_PASSWORD
    • MAIL_ENCRYPTION
    • MAIL_FROM_ADDRESS
    • MAIL_FROM_NAME
    • If you are using Mailgun, You need to update MAILGUN_DOMAIN and MAILGUN_SECRET variables.
4. Symlink

Before start, you need to create a symlink to files storage.

  • To create a symlink, you need to run symlink.php file by going to YOUR_APP_URL/public/symlink.php.
  • Then delete it, you will be able to find it into public/symlink.php.
  • ...
5. Default admin account

Well done!