Closed (fixed)
Project:
Redirect
Version:
7.x-1.0-beta3
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
18 Jun 2011 at 21:44 UTC
Updated:
28 Sep 2012 at 10:13 UTC
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
Comment #1
weka commentedYou 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.
Comment #3
whatdoesitwant commentedShouldn'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:
Comment #4
HerrSerker commentedSorry 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?