 |
20-02-2008, 09:34 PM
|
#1 (permalink)
|
|
Wise Old Owl
Join Date: May 2007
Location: bangalore
Posts: 1,921
|
Query about google search
if i search for akshayy
then my site shows up as http://akshayy.com but not as http://www.akshayy.com
why is this so ??
and if the preferred domain to set to www.akshayy.com in google webmaster tools, how will it affect the site's rankings ??
__________________
Sony Ericsson Flashing, Modding, Patching, Hacking And More !
http://www.akshayy.com/sonyericsson/
|
|
|
|
Advertisements. Register and be a member of the community to get rid of them.
|
|
Advertisement
|
|
20-02-2008, 09:49 PM
|
#2 (permalink)
|
|
TechTin.com
Join Date: Jun 2005
Location: www.TechTin.com
Posts: 4,090
|
Re: Query about google search
redirect your domain name to www.
After few days,....google will show as www.akshayy.com
Last edited by ravi_9793; 21-02-2008 at 02:18 PM.
|
|
|
20-02-2008, 10:43 PM
|
#3 (permalink)
|
|
Wise Old Owl
Join Date: Nov 2006
Location: Pune, Maharashtra, India
Posts: 1,728
|
Re: Query about google search
Create a .htaccess file with the following code (i am assuming that your server uses Apache and allows .htaccess files)
Code:
RedirectPermanent / "http://www.akshayy.com/"
Just copy and paste it. DO NOT FORGET THE LAST SLASH.
__________________
KDE on ArchLinux
PHP, MySQL, PostgreSQL, Linux, Apache; Message me to hire (freelancing only)
Explore Technology @ http://www.itech7.com
Cheap and Reliable VPS Hosting @ http://j.mp/arHk5e
|
|
|
21-02-2008, 12:19 AM
|
#4 (permalink)
|
|
TechTin.com
Join Date: Jun 2005
Location: www.TechTin.com
Posts: 4,090
|
Re: Query about google search
Dont play with the default .htaccess file. Better add this line at last of .htaccess file.
Code:
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www\.yoursite\.com
RewriteRule ^(.*)$ http://www.whost.in/$1 [L,R=301]
Replace www.whost.in with the site where U want to redirect.
You can also do this from your cpanel, if your host provide you the option of redirect.
|
|
|
21-02-2008, 11:39 AM
|
#5 (permalink)
|
|
Wise Old Owl
Join Date: Nov 2006
Location: Pune, Maharashtra, India
Posts: 1,728
|
Re: Query about google search
^^ Redirect is much better bcoz RewriteRule masks the URL
__________________
KDE on ArchLinux
PHP, MySQL, PostgreSQL, Linux, Apache; Message me to hire (freelancing only)
Explore Technology @ http://www.itech7.com
Cheap and Reliable VPS Hosting @ http://j.mp/arHk5e
|
|
|
21-02-2008, 12:25 PM
|
#6 (permalink)
|
|
Broken In
Join Date: Oct 2007
Posts: 140
|
Re: Query about google search
Ravi,in your first post,you linked to a porn site.xD.Edit it dude.There are kids like me in this forum too.
|
|
|
21-02-2008, 01:53 PM
|
#7 (permalink)
|
|
Wise Old Owl
Join Date: May 2007
Location: bangalore
Posts: 1,921
|
Re: Query about google search
hmm thanks guys .. will try it out .. !!
__________________
Sony Ericsson Flashing, Modding, Patching, Hacking And More !
http://www.akshayy.com/sonyericsson/
|
|
|
21-02-2008, 02:19 PM
|
#8 (permalink)
|
|
TechTin.com
Join Date: Jun 2005
Location: www.TechTin.com
Posts: 4,090
|
Re: Query about google search
Quote:
Originally Posted by Count Dracula
Ravi,in your first post,you linked to a porn site.xD.Edit it dude.There are kids like me in this forum too.
|
sorry dude........ updated my first post
I just put XXX  as variable
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|