|
|
|
|
| Author |
Message |
Angel
Joined: 04 Oct 2006 Posts: 16
|
Posted: 05 Oct 2006 15:54 Post subject: URL Redirects. |
|
|
Hi all, pretty new to this and have come across a few things:
Can someone give me the low down on URL redirects relating to IBLs, i am assuming they are a big no no as i am doing a link check on Google and getting a nice fat 0 (where other SE's come up with the links etc..) , i believe the site is being penalised by Google for having about 3 or 4 URL directs to the main domain.
If anyone could she some light or point me in the direction of some reading, it would be much appreciated,
Thanks. |
|
| Back to top |
|
Epox
Joined: 04 Oct 2006 Posts: 27
|
Posted: 05 Oct 2006 15:54 Post subject: |
|
|
| First, Google only shows you a very small percentage of links that you actually have.. Second, URL redirects, 302 redirects, etc., tend to not pass along any ranking support so they are useless in that manner.. If they send you traffic I'd go after them, but don't expect them to help your rankings.. |
|
| Back to top |
|
Juk
Joined: 04 Oct 2006 Posts: 20
|
Posted: 05 Oct 2006 16:02 Post subject: |
|
|
| Can we have the URL please? |
|
| Back to top |
|
Naikiss
Joined: 04 Oct 2006 Posts: 16
|
Posted: 05 Oct 2006 16:10 Post subject: |
|
|
How do I use a 301 Redirect Page?
If you redesigned one, some, or all of the pages of your Web site, but want to maintain your current search engine rankings, you can redirect Web site traffic from your old pages to the new pages without losing your rankings using a "301 redirect."
Search engine spiders will transfer your page rank and update any back links to the old page onto the new page when you use a 301 redirect. The code "301" is interpreted as "moved permanently."
For example, you can redirect traffic from oldpage.php (.asp or .jsp) to "http://www.newdomain.com/newpage.html" and retain your search engine ranking and back links.
Use the code below to redirect traffic to your pages using a 301Redirect.
NOTE: Replace "oldpagename" with the name of your old Web page (the page you want to redirect traffic away from) and replace "newpage.html" with the name of the new Web page to which you want to redirect traffic.
PHP Code - save this as oldpagename.php
<?php
header("HTTP/1.1 301 Moved Permanently");
header("Location: http://www.newdomain.com/newpage.html" );
exit();
?>
ASP Code - save this as oldpagename.asp
<%
Response.Status = "301 Moved Permanently"
Response.AddHeader "Location", "http://www.newdomain.com/newpage.html"
Response.End
%>
JSP Code - save this as oldpagename.jsp
<%
response.setContentType("text/html");
response.setDateHeader("Expires", 0);
response.setHeader("Location", "http://www.newdomain.com/newpage.html");
response.setStatus(301);
%> |
|
| Back to top |
|
|
|
|
|
|
|
|
|
|
|
ADVERTISEMENT
|
|
|