Results 1 to 2 of 2
Thread: URL aliasing
Aug 24, 2010, 04:20 #1
- Join Date
- May 2008
- 0 Post(s)
- 0 Thread(s)
Hi everyone, my website uses a CMS which features URL aliasing, but I'm not sure the effects are quite what I want:
I have a page here:
which I set up aliasing so that you can just go to:
to get to the page. (you only see the /keyword in the url).
The issue is how Google is indexing this. When I search for my keyword phrases, the url of "mydomain.com/keyword" is nowhere in Google's index. Instead, Googlebot has picked up the full url of "mydomain.com/generic-folder/keyword.aspx".
My question is - which URL is best for Google to have in its index? mydomain.com/keyword or mydomain.com/generic-folder/keyword.aspx? (I'm thinking of scrapping the url aliasing and just creating my page at mydomain.com/keyword.)
I want to rank for just the keyword, however, it's kind of funny - if you search for that generic folder name plus the keyword, Google ranks the page at #1. Which would be fine if anyone were actually searching for that phrase!
Aug 24, 2010, 09:37 #2
- Join Date
- Mar 2006
- Yorkshire, UK
- 92 Post(s)
- 1 Thread(s)
Alternatively, if you decide there are reasons for keeping the "real" URL as the long one, but you want to allow a shorter alias, you can set a "canonical", which tells Google what URL you want it to use when indexing your page. Like this (in the <head>)
<link rel="canonical" href="http://mydomain.com/keyword">
As long as the page you've referenced is substantially the same as the page you're on, Google will in time update its index with the new URL. (It recognises that in some cases, you might want to set canonicals on a database-driven site, so the page content won't necessarily be exactly the same for all URL formats - this allows you to set your preferred landing page)