Page 2 of 2 First 12
  • Jump to page:
    #16
  1. No Profile Picture
    Contributing User
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Jun 2007
    Posts
    32
    Rep Power
    12
    One last thing... So, right now, when i click on the omitted results I see all the article pages with the same title and description, when I get crawled again hopefully this will all change because everything has been updated. When that happens, and google sees that all articles are different, I wont be considered duplicate content will it?

    I just want to make sure I am on the right track to building a content rich site. I have much more content to launch but I want to do it right. Next step is incoming links... All in all, do you think Im headed in the right direction?
  2. #17
  3. The BIG Lion of SEO
    SEO Chat Adventurer (500 - 999 posts)

    Join Date
    Jan 2004
    Location
    Gangsters Paradise, South Africa
    Posts
    672
    Rep Power
    17
    Creknow, if your ISP have issues doing the redirect in IIS for you, maybe this code will assist you.

    301 Redirect using ASP
    <%@ Language=VBScript %>
    <%
    Response.Status="301 Moved Permanently" Response.AddHeader "Location", " http://www.new-url.com"
    >


    301Redirect using asp.net

    <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>

    Also read http://www.webconfs.com/how-to-redirect-a-webpage.php

    To add a 301 redirect for a non www page

    <%
    dim hostname
    dim pathinfo
    dim bRedirect
    dim MainDomain
    hostname = request.servervariables("HTTP_HOST")
    pathinfo = request.servervariables("PATH_INFO")
    MainDomain = "www.example.com"
    MainDomain = "www.example.com"
    if pathinfo <> "" then
    if instr(lcase(pathinfo),"default.asp") > 0 or instr(lcase(pathinfo),"index.asp") > 0 or instr(lcase(pathinfo),"index.aspx") > 0 then
    MainDomain = MainDomain &"/" & mid(pathinfo,2,instrrev(pathinfo,"/")-1)
    else
    MainDomain = MainDomain & pathinfo
    end if
    else
    MainDomain = MainDomain & "/"
    end if
    if left(hostname,instr(hostname,".")) <> "www." then
    bRedirect = true
    end if
    if instr(lcase(hostname),"default.asp") > 0 then
    bRedirect = true
    else
    end if
    if bRedirect then
    response.status = "301 Moved Permanently"
    response.addheader "Location", "http://" & MainDomain
    response.end
    end if
    %>

    Comments on this post

    • googler agrees : I like it. REAL answers
    Last edited by Chatmaster; Jun 25th, 2007 at 02:52 PM. Reason: Add refference
Page 2 of 2 First 12
  • Jump to page:

IMN logo majestic logo threadwatch logo seochat tools logo