By default your Drupal 7 homepage will display your latest articles, which is referred to as a content feed. If you have a specific page you'd like to set as your frontpage, regardless of its content type (such as a basic page or article), you can do so in Drupal 7.

How to set the Default front page in Drupal 7:

  1. Log into your Drupal 7 dashboard
  2. In the top menu, click Configuration
  3. Under System click Site Information
  4. Under FRONT PAGE, adjust the Default front page setting.
    setting-the-default-frontpage

    Be sure to pay attention to the following note if you want to disable this specific front page:
    Optionally, specify a relative URL to display as the front page. Leave blank to display the default content feed.
  5. Click the Save Configuration button at the bottom of the page to save these settings.

    The default front page showing latest articles A custom front page set to a specific page
    the-default-front-page a-unique-front-page
Continued Education in Course 103: Working with your Drupal 7 homepage
You are viewing Section 5: Changing your Drupal 7 frontpage
Section 4: How to set the number of posts on front page of Drupal 7
Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question
n/a Points
2014-03-25 5:03 pm

It's really such as very helpful.. :-) :-) :-)

n/a Points
2014-05-30 1:55 am

hi good after noon im developing now a website to my locolhost and im trying to set up a subtheme and i want to change the front-page of my site how to use the tpl.. becouse i try to use page--front.tpl.php is not working 

Staff
9,968 Points
2014-05-30 5:56 am
Hello hash, and thanks for your comment.

After you made your edits to the page--front.tpl.php file, did you make sure to clear the Drupal cache? It seems like this is a common solution found on the Drupal forums for this problem.

Also if you're using Drupal 6 it should be page-front.tpl.php instead.

If you're still having any issues please let us know a bit more specifically about what you're trying to change that isn't showing up.

- Jacob
n/a Points
2014-11-06 11:06 am

I am using Drupal 7 and I wanted to make it so the home page of my web-site goes directly to the /user

so that any user coming to the site would be forced to login before seeing anything.

I went to the site configuration and changed the home page to be /user.

Now when I go to http://mysite  or http://mysite/user    I get taken to the same login page, and now I don't have the page to login anymore.

What PHP file do I need to change, or what database table/field do I need to change.

Thanks!

Staff
10,222 Points
2014-11-06 12:28 pm
Hello Tom,

Thank you for your question. Changing your site name in the config file does not seem like the best solution, you'll most likely have to change it back.

I found a helpful post in the Drupal forums, where nevets suggests:
"You can set block visibility by role, so for the blocks you do not want them to see you could set it so only authenticated users can see them."

If you have any further questions, feel free to post them below.

Thank you,
John-Paul
n/a Points
2014-11-14 8:25 pm

Dear, 

 

My probleme, after installatio of drupal in Mac, i can't display top menu, welcome, .... and others, how resolve this probleme please,

Staff
20,140 Points
2014-11-14 9:47 pm
Hello Said,

I'm not really following you. Did you install Drupal on your Mac using XAMP or MAMP? Or are you connecting to a web server using your Mac? Also, are you not seeing a page that looks like the one in the article?

Kindest Regards,
Scott M

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

7 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!