How to upload laravel in cPanel

Often you might be able to face this problem. Today, I am showing you how to upload laravel in cPanel. Of course, there are few ways to upload laravel project in cpanel. However, this post shows you by modifying .htaccess file.

Upload your entire files and folder to your cPanel. After successfully uploading, if you want to access that urlĀ (i.e. you might able to see a list of directory and files. Isn’t that?

If so, create a .htaccess file into your main directory and write following line of code.

Now, save your file and run. Hope it will work.


Mastering on Github

If you use Git each and every single day, this post might be helpful for you. I write this post for my personal preference as well.

Push commit to another Branch

If you are on a development team where there is more than 1 developer, you might need your personal branch to update your work. In this case, you need to know how to push the commit to another branch.

You need to specify the source ref and the target ref:

git push origin branch1:branch2


git push <remote> <branch with new changes>:<branch you are pushing to>