Web Hosting Forum | Lunarpages
News: October 6, 2008 - Submit Your Site for the October 2008 Site of the Month!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
October 11, 2008, 12:21:21 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: URLs listed on MSN search  (Read 757 times)
lb
Newbie
*
Offline Offline

Posts: 2


« on: June 14, 2006, 04:00:01 PM »

Hello

I have had my primary domain (www.primary.com) with lunarpages for some time. I recently set up an add-on domain (www.addon.com) covering a completely separate subject matter.

I want these two sites to be seen (from a users perspective) as being totally separate.

When I search for the keywords for my add-on domain using an msn search, it usually returns results in the form:-

www.addon.com/blahblahblah.htm

It also sometimes returns results in the form:-

www.primary.com/addon/blahblahblah.htm

The first format is great, however, I do not like the second format as I believe it compromises the professional appearance of my add-on-site.

Why is msn returning URLs using both of these formats?

Is it possible to set up my account such that msn only displays URLs using the first format and does not publicly display any connection between www.primary.com and www.addon.com?

lb
Logged
Lupine1647
Berserker Poster
*****
Offline Offline

Posts: 10868


« Reply #1 on: June 14, 2006, 05:33:29 PM »

Hello:
An addon domain can be accessed via the addon domain itself, it's sub-folder on the primary domain, or the subdomain off the primary domain. You can prevent this by doing the following:

To prevent access to the sub-domain go to the Cpanel>subdomains:
Under the stepup Redirect option, select the subdomain which will be in the format:
addon.primary.com and click Setup redirect. In the next window you'll put the address to the addon domain (www.addon.com). This will take care of the sub-domain part.

To prevent access to the sub-folder you will need to add some lines to your .htaccess file in the public_html folder. They are:
Code:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www\.)?primary\.com$ [NC]
RewriteCond %{REQUEST_URI} ^/addon [NC]
RewriteRule ^addon/(.*)$ http://www\.addon\.com/$1 [R,L]

I hope this helps.
Logged
lb
Newbie
*
Offline Offline

Posts: 2


« Reply #2 on: June 15, 2006, 07:27:12 AM »

Thank you very much for the help.

Can I just confirm my understanding of what you've just written.

If I set up the redirect in the subdomain area, this will stop search engines accessing the sub-domain and displaying results in the addon.primary.com/blahblahblah.htm format.

If I add the lines of code to my .htaccess file this will stop search engines accessing the folder containing add-on domain files within my primary domain and displaying results in the www.primary.com/addon/blahblahblah.htm format.

Taking both of the courses of action above will, however,  not stop search engines accessing my add-on site entirely and they will still pick-up and display results in the www.addon.com/blahblahblah.htm format.

Is my understanding correct?

Thanks

lb
Logged
Lupine1647
Berserker Poster
*****
Offline Offline

Posts: 10868


« Reply #3 on: June 15, 2006, 08:22:25 AM »

Hello:
That will be a yes to all 3.
Logged
paskenell
Intergalactic Superstar
*****
Offline Offline

Posts: 127


WWW
« Reply #4 on: June 26, 2006, 02:11:10 PM »

lb. I did what Ryan is suggesting a year ago when I moved part of my site from my primary site in a subfolder to its own domain and it works perfect. 

You should definetly do it as Google could see the content as 2 separate web sites (since you can see the info at 2 separate URL's now) and you could be penalized with a duplicate content penalty. Not the end of the world but it drops you in the search engine as "less relevant" as the Google bot sees 2 identical sites and can not determine who is the true author. Years ago, there was a lot of site stealing on the internet to screw with the search engines and so they put in safe guards to stop this - and one of these might have been  the duplicate penalty error. (some of this is theory because no one knows EXACTLY what Google does, but it sounds like a legitimate safe guard)
Logged

GMTurner
Berserker Poster
*****
Offline Offline

Posts: 7539



WWW
« Reply #5 on: June 26, 2006, 02:21:24 PM »

no one knows EXACTLY what Google does

Sometimes I wonder if Google knows what Google does.... Smile
Logged

The above post was made at a time when I gave a dang and doesn't necessarily reflect my current views or opinions.

For those no longer with us ... Grr..!!

The Redheaded Penguin
MrPhil
Quantum Encyclopedia Writer
*****
Offline Offline

Posts: 3391



« Reply #6 on: March 03, 2007, 11:24:19 AM »

The reason that an add-on domain addon.com can show up as addon.primary.com or primary.com/addon/ is because that's how the add-on is presented to your public_html/.htaccess file (and further down the line to the add-on's .htaccess). Try the following in public_html/addon/.htaccess and see if it brings relief: first, back out any rewrites done for the benefit of your primary domain. They've been applied to your add-on's URL too. Then rewrite either (or both) addon.primary.com and primary.com/addon/ to addon.com.

I just went through this with my subdomain, and discuss it in this thread. I offer it here in hopes that it will benefit those having add-on problems too.
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.6 | SMF © 2006-2008, Simple Machines LLC

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM