Home arrow Site Administration arrow Page 2 - Drupal: Configuring Your Installation

Adding Other Static Pages - Administration

Welcome to the second part of a series on building web sites with Drupal. Now that you have installed Drupal in the Ubuntu local host as part of your web development activity (discussed in the first article in this series), you are ready to customize your website's look according to your design. This will be covered and discussed thoroughly in this tutorial.

TABLE OF CONTENTS:
  1. Drupal: Configuring Your Installation
  2. Adding Other Static Pages
By: Codex-M
Rating: starstarstarstarstar / 31
September 22, 2010

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement

OK, now that you have completed the home page, your next task is to add two common pages, the "Contact" and "Terms & Conditions" pages. The procedure is as follows:

Step 1. Log in as administrator to add content.

Step 2. Click "Create Content."

Step 3. Click "Page."

Step 4. Enter the title and the content of those pages.

Step 5. Click "Menu Settings" to expand.

Step 6. Under the Menu link title, you can enter "Contact" for Contact pages or "Terms" for the Terms and Condition page.

Step 7. Under "Parent Item," select "Primary Links."

Step 8. Leave "weight" at its default value.

Step 9. Go to "Publishing Options." Make sure that "Published" is checked but NOT "Promoted to front page."

Step 10. Click "Save." This will publish the content to your Drupal website.

Take note of the default URL generated by Drupal for both the Contact and Terms & Conditions pages, e.g:

Contact page URL: http://localhost/drupal/node/2
Terms and Conditions page: http://localhost/drupal/node/3

Keywords in the URL for Your Drupal Website

You might notice that the URLs in the previous section for contact and terms & conditions pages are not SEO friendly. They do not use keywords in the URL, which has some impact in terms of search engine optimization.

Suppose you would like to do the following conversion:

http://localhost/drupal/node/2 ==> http://localhost/drupal/contact
http://localhost/drupal/node/3 ==> http://localhost/drupal/terms

To do this, you need to enable the "Path" module in your Drupal module administration page.

1. Log in as administrator.

2. Go to "Administer" ==> "Site Building" ==> "Modules."

3. Scroll down and find the "Path" module. Check it and then click "Save Configuration" to enable the module.

Now, go to "Administer" ==> "Site Building" ==> "URL aliases." If you do not find "URL Aliases," then you have not correctly enabled the "Path" module.

Let's change the URL of http://localhost/drupal/node/2 to http://localhost/drupal/contact.

1. Click "Add Alias."

2. Under Existing System Path:, enter: node/2

3. Under "Path alias" enter: contact

Make sure there are no spaces before or after the aliases and path.

4. Click "Create new alias."

Screen shot:

Repeat the steps from 2 to 4 for the terms and conditions page. Now log out from your website as administrator. You will notice that the URLs for the contact terms and conditions pages are now keyword-based.

Rearranging Primary Links in Navigation Menu and Changing Logo

Suppose you would like to arrange from left to right, by order of importance in the top primary link navigation: Home page --- Terms --- Contact. You can rearrange by first logging in as administrator then going to Administer ==> Site Building ==> Menus ==> Primary Links.

Use the cross symbol to move the menu item either up or down according to your own choice. To implement this change, click "Save configuration."

To change the logo of your Drupal website (which uses the Drupal logo as its default), go to this path: htdocs/drupal/themes/garland (since the example in this tutorial uses the Garland theme by default).

Replace logo.png with your own logo while maintaining the logo image dimensions and file type.

Log out as administrator and then refresh your Drupal website in the web browser. It should look like the screen shot below.

In the third part of this tutorial, you will learn about working with themes and modules in Drupal.



 
 
>>> More Site Administration Articles          >>> More By Codex-M
 

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort
   

SITE ADMINISTRATION ARTICLES

- Coding: Not Just for Developers
- To Support or Not Support IE?
- Administration: Networking OSX and Win 7
- DotNetNuke Gets Social
- Integrating MailChimp with Joomla: Creating ...
- Integrating MailChimp with Joomla: List Mana...
- Integrating MailChimp with Joomla: Building ...
- Integrating MailChimp with Joomla
- More Top WordPress Plugins for Social Media
- Optimizing Security: SSH Public Key Authenti...
- Patches and Rejects in Software Configuratio...
- Configuring a CVS Server
- Managing Code and Teams for Cross-Platform S...
- Software Configuration Management
- Back Up a Joomla Site with Akeeba Backup

Developer Shed Affiliates

 


Dev Shed Tutorial Topics: