Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google      Sign In   
  • Create Account

Subscribe to HRA Now!

 



Are you a Google Analytics enthusiast?

Share and download Custom Google Analytics Reports, dashboards and advanced segments--for FREE! 

 



 

 www.CustomReportSharing.com 

From the folks who brought you High Rankings!



Photo
- - - - -

Subdomain Url In Google...


  • Please log in to reply
5 replies to this topic

#1 andruha

andruha

    HR 3

  • Active Members
  • PipPipPip
  • 60 posts

Posted 30 September 2009 - 10:38 AM

Quick question about subdomains.
Ok, I have few pages that are indexed and I wanted them to look more professional on google. So, I made subdomains on godaddy. They work and all, but google shows the old, long url. How do I make it show the short subdomain url instead of the long one?

EX:

google shows: www.example.com/XXXXX/YYYYY.html

I want google to show: www.subdomain.example.com

btw, someone told me that they have a "script which looks up the subdomain and then returns the actual URL to redirect to".


#2 Randy

Randy

    Convert Me!

  • Moderator
  • 17,540 posts

Posted 30 September 2009 - 11:21 AM

301 redirect requests to the long url to the short one. If you're on a linux system, and assuming the content actually lives at the longer address, you'll need to use {THE_REQUEST} in your RewriteCond to make sure you capture the actual request as sent by the browser. Otherwise you'll end up creating an endless loop.

Though I'm not at all clear on why you're doing this in the first place. It sounds a little convoluted to me on the surface.

#3 Michael-F

Michael-F

    HR 3

  • Active Members
  • PipPipPip
  • 85 posts

Posted 30 September 2009 - 11:33 AM

It makes more sense to me to cut it down to example.com/page than it does to cut it to page.example.com. Subdomains should be used to separate different sections of the site rather than different pages.

#4 andruha

andruha

    HR 3

  • Active Members
  • PipPipPip
  • 60 posts

Posted 30 September 2009 - 11:39 AM

QUOTE(Michael-F @ Sep 30 2009, 11:33 AM) View Post
It makes more sense to me to cut it down to example.com/page than it does to cut it to page.example.com. Subdomains should be used to separate different sections of the site rather than different pages.

It is a different section of the site.

#5 Michael-F

Michael-F

    HR 3

  • Active Members
  • PipPipPip
  • 85 posts

Posted 30 September 2009 - 01:47 PM

QUOTE(andruha @ Sep 30 2009, 10:39 AM) View Post
It is a different section of the site.

Excellent!

#6 Jill

Jill

    Recovering SEO

  • Admin
  • 32,987 posts

Posted 30 September 2009 - 08:46 PM

It's still an unnecessary hassle and apparently a technical nightmare.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

SPAM FREE FORUM!
 
If you are just registering to spam,
don't bother. You will be wasting your
time as your spam will never see the
light of day!