0

Why is that? I mean, why when I click the home page link at main menu, it is only the site's URL (www.example.com), and not the exact URL of the home page (www.example.com/Decorations-for-all-houses) that appears? how can I make the full URL appear at the home page?

It should be noted that this is the only page with this problem; in all other pages, the FULL URL is always displayed.

6
  • Why do you need the full URL to appear? As long as you've got an appropriate canonical meta tag there shouldn't be a problem
    – Clive
    Commented Sep 16, 2013 at 16:35
  • I went ahead and deleted your other question. Next time, just update the original instead of posting new quetions. Thanks, and welcome to Drupal Answers!
    – mpdonadio
    Commented Sep 16, 2013 at 17:02
  • Your issue is by design as well. The home page you set in Configuration > Site Information is what will show for base URL. Commented Sep 16, 2013 at 17:03
  • @clive is it possible to display the full, if so how then? :)
    – Bala
    Commented Sep 16, 2013 at 17:05
  • 2
    @Bala Anything's possible :) Some combination of pathauto, global redirect and setting a canonical somewhere should do the trick. I've never actually tried to do it to be honest
    – Clive
    Commented Sep 16, 2013 at 17:15

1 Answer 1

3

If you set your site home page "Decorations-for-all-houses" (or perhaps lowercase would be less confusing) at admin/config/system/site-information, any home link provided by core, contrib modules, themes etc. will point to the right page.

You can edit any link of your main-menu including the home link at admin/structure/menu/manage/main-menu. The default link for home is <front> which will point to your assigned home page, but it can be any path, including "decorations-for-all-houses".

Themes typically implement their logo link so that it points to the home page without the path, so you would have to edit the theme.

The above (hopefully) covers any case where users already on your site click a home link or logo. But what about visitors clicking a link outside of your site, like Google, or typing the domain name? For redirecting them from www.example.com to www.example.com/decorations-for-all-houses something like the Global redirect module probably would be able to do that.

What people usually seem to want, is just the opposite, redirect from the long url to the root. It might be confusing to visitors if they never can't get to the www.example.com even if they want to. This is what visitors expect to see as the home page url.

2
  • "Decorations-for-all-houses"? You mean, just write this input at the "Default front page" field?
    – benosika
    Commented Sep 17, 2013 at 20:17
  • 1
    Sure. Actual path (node/123) or alias (Decorations-for-all-houses), doesn't matter which, the alias will always used anyway. Commented Sep 17, 2013 at 20:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.