Archive for the ‘Search Engine Optimization’ Category
301 Redirects
Written by chaoticclown on July 30, 2008 – 8:28 pm -Here are some 301 Redirects
Redirect NON-WWW Domain to WWW Domain (.htaccess)
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^domain.com [nc]
rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc]
Redirect Old Domain to New Domain (.htaccess)
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.newdomain.com/$1 [R=301,L]
PHP Redirect
<?
Header( “HTTP/1.1 301 Moved Permanently” );
Header( “Location: http://www.new-url.com” );
?>
JSP (Java) Redirect
<%
response.setStatus(301);
response.setHeader( “Location”, “http://www.new-url.com/” );
response.setHeader( “Connection”, “close” );
%>
HTML Redirect
<meta HTTP-EQUIV=”REFRESH” content=”x; url=http://www.yourdomain.com/index.html”>
NOTE: content=”x (x can be changed from 0-x numbers depending on how many seconds will it take before redirecting to another page.)
ColdFusion Redirect
<.cfheader statuscode=”301″ statustext=”Moved permanently”>
<.cfheader name=”Location” value=”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>
ASP Redirect
<%@ Language=VBScript %>
<%
Response.Status=”301 Moved Permanently”
Response.AddHeader “Location”,”http://www.new-url.com/”
%>
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
Tags: .htaccess Redirect, 301 Redirects, ASP Redirect, ASP.net Redirect, CGI PERL Redirect, ColdFusion Redirect, HTML Redirect, JSP (Java) Redirect, PHP Redirect, Ruby on Rails Redirect
Posted in Search Engine Optimization | No Comments »
Google On Page SEO Tips & Strategies
Written by chaoticclown on June 26, 2008 – 12:48 am -Here is a video I’ve found on YouTube about On Page Search Engine Optimization, It can be useful for SEO’s who are just starting on their adventures on the so called SEO. It explains the basics on On Page SEO where you will learn about how to make your site rank better than other websites on your niche. Enjoy
Tags: On Page, On Page SEO, Search Engine Optimization, SEO
Posted in Search Engine Optimization | No Comments »

Hello! Almer here, I'm an aspiring writer. This blog will serve as an online diary for my daily experiences in my life. And also teach you on how to