Skip to main content

Update Drupal Domain Root

When we install Drupal using Composer, normally cpanel will use document root like this: public_html/mywebsite.com/

So, our website url become mywebsite.com/web

If we want to url become mywebsite.com/ - we can do with cPanel

  1. Step 1: In Cpanel, looking for Domain > Domains > loking for your domain that you want to chhange & click Manage
  2. Change document root to: public_html/plenty-tips.com/web

Clear cache & test the url to make sure all page run..

Google AdSense
client = ca-pub-2898279488603899
slot = 9058461004
format = auto