BE SOCIAL & SHARE:

In order to setup Drupal to use the temporary URL, there a few changes that you must make to your drupal setup.

Step 1: Login to cPanel

media_1357427787445.png

Login to the Account Manager and click the “Login to cPanel” button on the homepage.

Step 2: Open the FIle Manager

media_1357427850899.png

Click on the file manager in cPanel under the ‘Files” section

Step 3: Locate the Drupal settings file

media_1357427917264.png

Navigate to the Drupal settings.php file. In our case, our drupal installation is in a folder called drupal, and the settings.php file is always in a folder called /sites/default

Step 4: Edit the Settings file.

media_1357427984279.png

Select the settings.php file and click edit.

Step 5: Click Edit

media_1357428025238.png

A dialogue box will pop up. Click edit.

Step 6: Edit the file to place the temporary URL as the base URL

media_1357428128551.png

Navigate to the portion of the file that talks about the base URL. Pictured above is the adjustments that have to be made. Remove the # before the #base_url line and put in your GreenGeeks temporary URL which should be http://IPADDRESS/~cpanelusername

Step 7: Save the file

media_1357428223208.png

In the top menu bar hit save changes.

Step 8: Edit the .htaccess file

Navigate to your drupal directory in the file manager, and open up the .htaccess file to edit just as you did for the settings.php. Place the following line in the file and hit save:

RewriteBase /~cpanelusername (replacing your cPanel username with the one we provided you upon signup.

Step 9: You’re Done!

Your Drupal installation will not work perfectly with the temporary URL. Be sure to undo these changes when you point the domain to GreenGeeks.

GreenGeeks is a proud supporter of the Drupal Community and we support the latest installations of Drupal including Drupal 8.

About The Author

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>