help with redirects and multiple homes pages Options
tbathgate
Posted: Thursday, November 27, 2008 2:32:23 PM
Rank: Newbie

Joined: 8/21/2008
Posts: 5
Location: Edinburgh
Hey all,

can anyone help me.

i have just noticed that for my website I have 3 possible home pages:

just the domain
/default.aspx
/home.aspx

there could be more Think

How do i go about fixing this as obviously to the search engines it looks like i have three pages all with duplicate content?

Any advice would be appreciated!

T
drobar
Posted: Thursday, November 27, 2008 3:35:23 PM

Rank: Umbracoholic

Joined: 9/8/2006
Posts: 1,831
Location: MA, USA
I'm not an SEO expert but I don't think there is any penalty for having both 'just the domain' and having the domain plus a page going to the same content since that is inevitable.

But you could use urlrewriting to go from /home.aspx to /default.aspx to remove that potential redundancy.

cheers,
doug.

MVP 2007-2009 - Percipient Studios
tbathgate
Posted: Thursday, November 27, 2008 11:44:44 PM
Rank: Newbie

Joined: 8/21/2008
Posts: 5
Location: Edinburgh
I think google does penalise me from having three versions of the same page.

I am not sure how to do the url rewrite, i have never quite managed to figure it out, can you point me in the right direction?

Thanks!!
Dirk
Posted: Friday, November 28, 2008 12:15:13 AM

Rank: Umbracoholic

Joined: 9/27/2007
Posts: 1,123
Location: Belgium
Hi,

Check the official documentation for url rewriting as is being used in umbraco:

http://urlrewriting.net/149/en/home.html

Rules for url rewriting go into UrlRewriting.config in the config folder at the root of the umbraco web.

Code:
<add name="RewriteHome"
  virtualUrl="^~/Home.aspx"
  rewriteUrlParameter="ExcludeFromClientQueryString"
  destinationUrl="~/Default.aspx"
  ignoreCase="true" />

(Not tested)


Hope this helps.

Regards,
/Dirk


level 1 & 2 certified - umbraco MVP 2008/2009 - umbraco blog at netaddicts.be - working on an integrated forum4umbraco
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.