My site is in Drupal 7. Presently my home page canonical url is /node/1. I don't want Google to be confused as to what page to crawl and index ( www.twincitiespartybusmn.com, verses www.twincitiespartybusmn.com/node/1. What is the best practice in this situation? I don't want Google indexing it twice. Presently I have the page redirect configured to is "From: none To: node/1"
I just don't know what to change it to.
Any help you can provide is greatly appreciated.
Thank you.

Comments

weka’s picture

Priority: Major » Normal
Status: Active » Fixed

You don't need this module or set any redirects to do what you are describing.
Just go to the Site Information page at /admin/config/system/site-information and enter node/1 into the Default front page field. Drupal will use that page as your home page and all requests for www.twincitiespartybusmn.com/node/1 will be redirected to www.twincitiespartybusmn.com/. Search engines will not index www.twincitiespartybusmn.com/node/1.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

whatdoesitwant’s picture

Shouldn't we at least cater for adjusting canonical url's? You may block print-pages in robots.txt but it's not always that clear cut and in some cases you may not wish to redirect.
See also:

HerrSerker’s picture

Sorry for reopening this,

but what if I don not use a node as the front page, but the default front page? In that case the canonical link is still omitted.
Should I use drupal_add_html_head for that in my theme's front template?