Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 1st Apr 2013, 11:23 AM   #1
HyperActive Warrior
 
Join Date: 2008
Location: Central NJ
Posts: 210
Thanks: 114
Thanked 21 Times in 20 Posts
Default
No-following mobile pages---weird!
Share on: 
fb share twitter share gplus share more share

Hello fellow WFers...gotta question.

I have a client whose mobile pages are showing up in Google search i.e. www.his_site/m/the_page and I don't want those appearing in the results as they are only supposed to be forwarded there from javascript I have on their desktop pages.

What kind of no follow code should I use because I think the regular code I have always used applies to just links on pages. I just want Google to not index the specific mobile pages BUT I still want Google Analytics to be able to diffrentiate mobile views from desktop.

Thx all...
twersk is offline  
Unread 1st Apr 2013, 05:32 PM   #2
Active Warrior
War Room Member
 
Mobilize's Avatar
 
Join Date: 2010
Location: Canada
Posts: 72
Thanks: 11
Thanked 18 Times in 13 Posts
Default
Re: No-following mobile pages---weird!
Share on: 
fb share twitter share gplus share more share

You could use a robot.txt with the following:

User-agent: Googlebot
Disallow: /YourMobileFolder/
Mobilize is offline  
The Following User Says Thank You to Mobilize For This Useful Post:
Unread 2nd Apr 2013, 12:00 AM   #3
HyperActive Warrior
 
Join Date: 2008
Location: Central NJ
Posts: 210
Thanks: 114
Thanked 21 Times in 20 Posts
Default
Re: No-following mobile pages---weird!
Share on: 
fb share twitter share gplus share more share

Originally Posted by BlueStreak View Post

You could use a robot.txt with the following:

User-agent: Googlebot
Disallow: /YourMobileFolder/
OK...getting a little paranoid here. I am hosting this site as an add-on domain. All my other sites have folders in the main domain...just like this one. So I placed my robots file in the main domain level and wrote out the following:

User-agent: *
Disallow: http://Domain name of add-on domain/forward slash/mobile folder/forward slash

Problem is everything I read seems to make it sound like the "/" has to be in front...as if I can only have a robots file for my main domain. Can anybody PLEASE tell me if I have done this wrong? Maybe BlueStreak?

Thx...
bt
twersk is offline  
Unread 2nd Apr 2013, 09:57 AM   #4
Active Warrior
War Room Member
 
Mobilize's Avatar
 
Join Date: 2010
Location: Canada
Posts: 72
Thanks: 11
Thanked 18 Times in 13 Posts
Default
Re: No-following mobile pages---weird!
Share on: 
fb share twitter share gplus share more share

Hi bt,

You don't have to put it in the root domain.
An easier option might be to just go directly to the folder you installed the mobile domain. This way you don't affect other domains.

Go to your File Manager >> Public Html >> Mobile Addon Domain >> add robot.txt here
Mobilize is offline  
The Following User Says Thank You to Mobilize For This Useful Post:
Closed Thread


Bookmarks

Tags
mobile, nofollowing, pagesweird


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 09:52 AM.