Professional Search Engine Marketing Service focus on search engine optimization and search engine advertising. Site optimization and search advertising. The most importent is identify relevant internet keywords and optimize you site this is called search engine optimizatoin. Aleksika Keywords and research area contains more than 400.000.000 keywords that people have typed in search engines. Aleksika search engine advertising keywords can be used to get more paid visits.     
Home Step 1
Keyword Research
Step 2
Site Optimization
Step 3
Web Promotion
  >>Log In    >>Sign Up    >>Help
Home / Definition / 301 redirect /

Marketing Tools

 Keyword Research

 Site Optimization

 Web Promotion

 Affiliate Program

Search Engine Marketing Definitions

301 redirect If you need your old web page to redirect to your new web page or you have to remove old content a 301 redirect is always recommended. Avoid using other redirects techniques because they are not search engine friendly! 

If you just change a file name or delete a page, you my lose search engine rankings that were associated with the old page. By using a 301 redirect, you tell search engines and humans where to find the new page. 


<h2 class="contenttitle">Web Page Redirects using 301 redirect</h2>

			Here are a couple of 301 web page redirect solutions:

			<br/><br/><br/>	
			
			<ol>
			
				<li>Windows Active Server Pages <br/><br/>
				
					<i>
						&lt;%@ Language=VBScript %&gt;<br/>
						&lt;%<br/>
						Response.Status="301 Moved Permanently" Response.AddHeader "Location", "www.newsite.com/index.html"<br/>
						&gt;<br/>
						<br/><br/>
					</i>
				</li>
				
				<li>Windows ASP .NET<br/><br/>
					<i>
						&lt;script runat="server"&gt;<br/>
						private void Page_Load(object sender, System.EventArgs e)<br/>
						{<br/>
						Response.Status = "301 Moved Permanently";<br/>
						Response.AddHeader("Location"," www.newsite.com/index.html");<br/>
						}<br/>
						&lt;/script&gt;
						</i>
						<br/><br/><br/>
				</li>

				<li>301 redirect via the IIS (Internet Information Server)<br/><br/>
					<ol>
						<li>Open domain.com site in Internet Services manager. </li>
						<li>Go to the properties of the domain.com site </li>
						<li>Go to the Home Directory tab:</li>
						<li>Change the option button "When connecting to this resource the content should come from" to "A redirection to a URL"</li>
						<li>Enter your full URL http://www.domain.com </li>
						<li>Check the checkbox that says "A permanent redirection for this resource" </li>
					</ol>
					<br/><br/><br/>
				</li>
				
				<li>301 redirect via Apache<br/><br/>
					A 301 redirect is implemented in the .htaccess file. Scroll down and create a new line that follows this example: <br/>
					<i>redirect 301 /old/old.htm http://www.domain.com/new.htm</i>
					<br/><br/><br/>
				</li>
					
				<li>301 redirect in PHP<br/><br/>
					<i>
					
						header("HTTP/1.1 301 Moved Permanently");<br/>
						header("Location: http://www.domain.com/new.htm");<br/>
						exit();
					</i>
				</li>

			</ol>

301 redirect

If you need your old web page to redirect to your new web page or you have to remove old content a 301 redirect is always recommended. Avoid using other redirects techniques because they are not search engine friendly! If you just change a file name or delete a page, you my lose search engine rankings that were associated with the old page. By using a 301 redirect, you tell search engines and humans where to find the new page.

Web Page Redirects using 301 redirect

Here are a couple of 301 web page redirect solutions:


  1. Windows Active Server Pages

    <%@ Language=VBScript %>
    <%
    Response.Status="301 Moved Permanently" Response.AddHeader "Location", "www.newsite.com/index.html"
    >


  2. Windows ASP .NET

    <script runat="server">
    private void Page_Load(object sender, System.EventArgs e)
    {
    Response.Status = "301 Moved Permanently";
    Response.AddHeader("Location"," www.newsite.com/index.html");
    }
    </script>



  3. 301 redirect via the IIS (Internet Information Server)

    1. Open domain.com site in Internet Services manager.
    2. Go to the properties of the domain.com site
    3. Go to the Home Directory tab:
    4. Change the option button "When connecting to this resource the content should come from" to "A redirection to a URL"
    5. Enter your full URL http://www.domain.com
    6. Check the checkbox that says "A permanent redirection for this resource"



  4. 301 redirect via Apache

    A 301 redirect is implemented in the .htaccess file. Scroll down and create a new line that follows this example:
    redirect 301 /old/old.htm http://www.domain.com/new.htm


  5. 301 redirect in PHP

    header("HTTP/1.1 301 Moved Permanently");
    header("Location: http://www.domain.com/new.htm");
    exit();


See also:
http://www.aleksika.com/site-optimization/web-page-redirect/






Contact Us Telephone: +45 8680 1800   |   Email:
© 2008 Søgemaskinemarkedsføring - Aleksika ApS