Site is not indexed by google
-
PnrmThink
- Posts: 2
- Joined: Wed Jun 18, 2008 9:32 am
- Contact:
Site is not indexed by google
Hi when i type into google my website, e.g
domainname. co. uk it doesnt show up, instead what shows up is a domain name which should be redirecting to the .co.uk, so example instead of domainname. co .uk showing, domain-name . com appears. How can i rectify this.
Also just to point out my .co.uk site version is indexed in msn and yahoo, the only problem is google.
domainname. co. uk it doesnt show up, instead what shows up is a domain name which should be redirecting to the .co.uk, so example instead of domainname. co .uk showing, domain-name . com appears. How can i rectify this.
Also just to point out my .co.uk site version is indexed in msn and yahoo, the only problem is google.
-
stevewaganer
- Posts: 144
- Joined: Wed Feb 21, 2007 12:20 am
- Contact:
-
easycash81
- Posts: 286
- Joined: Thu Apr 05, 2007 4:40 am
- Contact:
-
Elquicos
- Posts: 26
- Joined: Fri Nov 09, 2007 2:30 am
- Contact:
-
Ka-canor
- Posts: 1069
- Joined: Mon Jan 22, 2007 1:57 pm
- Location: USA
- Contact:
Try this one.
IIS Redirect
* In internet services manager, right click on the file or folder you wish to redirect
* Select the radio titled "a redirection to a URL".
* Enter the redirection page
* Check "The exact url entered above" and the "A permanent redirection for this resource"
* Click on 'Apply'
ColdFusion Redirect
<.cfheader statuscode="301" statustext="Moved permanently">
<.cfheader name="Location" value="http://www.new-url.com">
PHP Redirect
<?
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: http://www.new-url.com" );
?>
ASP Redirect
<%@ Language=VBScript %>
<%
Response.Status="301 Moved Permanently"
Response.AddHeader "Location","http://www.new-url.com/"
%>
ASP .NET Redirect
<script runat="server">
private void Page_Load(object sender, System.EventArgs e)
{
Response.Status = "301 Moved Permanently";
Response.AddHeader("Location","http://www.new-url.com");
}
</script>
JSP (Java) Redirect
<%
response.setStatus(301);
response.setHeader( "Location", "http://www.new-url.com/" );
response.setHeader( "Connection", "close" );
%>
CGI PERL Redirect
$q = new CGI;
print $q->redirect("http://www.new-url.com/");
Ruby on Rails Redirect
def old_action
headers["Status"] = "301 Moved Permanently"
redirect_to "http://www.new-url.com/"
end
Redirect Old domain to New domain (htaccess redirect)
Create a .htaccess file with the below code, it will ensure that all your directories and pages of your old domain will get correctly redirected to your new domain.
The .htaccess file needs to be placed in the root directory of your old website (i.e the same directory where your index file is placed)
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.newdomain.com/$1 [R=301,L]
Please REPLACE www.newdomain.com in the above code with your actual domain name.
In addition to the redirect I would suggest that you contact every backlinking site to modify their backlink to point to your new website.
Note* This .htaccess method of redirection works ONLY on Linux servers having the Apache Mod-Rewrite moduled enabled.
Redirect to www (htaccess redirect)
Create a .htaccess file with the below code, it will ensure that all requests coming in to domain.com will get redirected to www.domain.com
The .htaccess file needs to be placed in the root directory of your old website (i.e the same directory where your index file is placed)
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^domain.com [nc]
rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc]
Please REPLACE domain.com and www.newdomain.com with your actual domain name.
Note* This .htaccess method of redirection works ONLY on Linux servers having the Apache Mod-Rewrite moduled enabled.
IIS Redirect
* In internet services manager, right click on the file or folder you wish to redirect
* Select the radio titled "a redirection to a URL".
* Enter the redirection page
* Check "The exact url entered above" and the "A permanent redirection for this resource"
* Click on 'Apply'
ColdFusion Redirect
<.cfheader statuscode="301" statustext="Moved permanently">
<.cfheader name="Location" value="http://www.new-url.com">
PHP Redirect
<?
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: http://www.new-url.com" );
?>
ASP Redirect
<%@ Language=VBScript %>
<%
Response.Status="301 Moved Permanently"
Response.AddHeader "Location","http://www.new-url.com/"
%>
ASP .NET Redirect
<script runat="server">
private void Page_Load(object sender, System.EventArgs e)
{
Response.Status = "301 Moved Permanently";
Response.AddHeader("Location","http://www.new-url.com");
}
</script>
JSP (Java) Redirect
<%
response.setStatus(301);
response.setHeader( "Location", "http://www.new-url.com/" );
response.setHeader( "Connection", "close" );
%>
CGI PERL Redirect
$q = new CGI;
print $q->redirect("http://www.new-url.com/");
Ruby on Rails Redirect
def old_action
headers["Status"] = "301 Moved Permanently"
redirect_to "http://www.new-url.com/"
end
Redirect Old domain to New domain (htaccess redirect)
Create a .htaccess file with the below code, it will ensure that all your directories and pages of your old domain will get correctly redirected to your new domain.
The .htaccess file needs to be placed in the root directory of your old website (i.e the same directory where your index file is placed)
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.newdomain.com/$1 [R=301,L]
Please REPLACE www.newdomain.com in the above code with your actual domain name.
In addition to the redirect I would suggest that you contact every backlinking site to modify their backlink to point to your new website.
Note* This .htaccess method of redirection works ONLY on Linux servers having the Apache Mod-Rewrite moduled enabled.
Redirect to www (htaccess redirect)
Create a .htaccess file with the below code, it will ensure that all requests coming in to domain.com will get redirected to www.domain.com
The .htaccess file needs to be placed in the root directory of your old website (i.e the same directory where your index file is placed)
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^domain.com [nc]
rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc]
Please REPLACE domain.com and www.newdomain.com with your actual domain name.
Note* This .htaccess method of redirection works ONLY on Linux servers having the Apache Mod-Rewrite moduled enabled.
-
guruananth
- Posts: 172
- Joined: Sat Jul 26, 2008 4:11 am
- Contact:
-
my_misyel
- Posts: 581
- Joined: Fri Sep 14, 2007 8:34 pm
- Contact:
-
AS-9
- Posts: 269
- Joined: Wed Feb 20, 2008 7:22 am
- Contact:
-
mwya
- Posts: 209
- Joined: Thu Nov 13, 2008 11:48 am
- Location: my website
- Contact:
-
rayter
- Posts: 923
- Joined: Mon Mar 02, 2009 5:04 pm
- Location: United States
- Contact:
-
amortization
- Posts: 61
- Joined: Fri May 08, 2009 10:35 am
- Contact:
this doesn't really address the problem does it? I had the same problem before and I know that my site was indexed with google.stevewaganer wrote:When you type domain name and google not shows link it means site is not indexed in google first try to get indexed. start link building soon so that you will get backlinks too.
-
amortization
- Posts: 61
- Joined: Fri May 08, 2009 10:35 am
- Contact:
Hi there. I don't see how the type of redirect used could be an issue here? Except for maybe if you use a script, and your bury your target site in all code, Google wouldn't be able to find your new site. Other than that what difference does it make which redirection method you use?Elquicos wrote:What redirection did you put, a 301 redirect?
Who is online
Users browsing this forum: Google [Bot] and 426 guests