Results 1 to 7 of 7

Thread: What did I do wrong

  1. #1
    Pete
    Guest

    Default What did I do wrong

    Not sure what I have done or how I did it.

    Just created a sitemap with XML Sitemap Generator and noticed a majority of
    my pages were missing, went and tried some of the free sitemap generators on
    the web and same thing.

    Started playing and found if I do a sitemap on
    http://www.beachcomberpete.com/ I get about 700 pages

    Yet if I do a sitemap using
    http://beachcomberpete.com/ taking out the www I get my missing 360 pages


    Not sure how come all my pages are not started with www.

    But when I type for Instance www.beachcomberpete.com/europe in web browser I
    get my page but is not included in first site map
    But when I type http://beachcomberpete.com/europe I get same page yet it
    only shows up in second site map

    Any help will be appreciated
    Pete

    Maybe I need to go back and take web design 101 again.



  2. #2
    Twayne
    Guest

    Default Re: What did I do wrong

    In news:hkvg0e$c24$1@DailyPlanet.news.netobjects.com,
    Pete <phagemann@beachcomberpete.com> typed:
    > Not sure what I have done or how I did it.
    >
    > Just created a sitemap with XML Sitemap Generator and noticed a
    > majority of my pages were missing, went and tried some of the free
    > sitemap generators on the web and same thing.
    >
    > Started playing and found if I do a sitemap on
    > http://www.beachcomberpete.com/ I get about 700 pages
    >
    > Yet if I do a sitemap using
    > http://beachcomberpete.com/ taking out the www I get my missing 360
    > pages
    >
    > Not sure how come all my pages are not started with www.
    >
    > But when I type for Instance www.beachcomberpete.com/europe in web
    > browser I get my page but is not included in first site map
    > But when I type http://beachcomberpete.com/europe I get same page yet
    > it only shows up in second site map
    >
    > Any help will be appreciated
    > Pete
    >
    > Maybe I need to go back and take web design 101 again.


    For many web applications, regardless of what your ISP does, sitename and
    www.sitename are two different sites; they are not the same. If you go to
    Google Analytics it'll tell you how to set things up so one name crosses to
    the other and no matter which one gets used, apps will see them properly.
    Sorry, i can't recall the details and don't have things handy to look it
    up again.

    Twayne



    --
    --
    Life is the only real counselor; wisdom unfiltered
    through personal experience does not become a
    part of the moral tissue.


  3. #3
    Nancy O
    Guest

    Default Re: What did I do wrong

    Do a Google search for "301 permanent redirect"
    You need to send hits from www.domain.com to domain.com.


    --
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media Specialists
    www.alt-web.com/
    -------------------------------------------
    www.twitter.com/altweb/
    www.alt-web.blogspot.com/








  4. #4
    Pete
    Guest

    Default Re: What did I do wrong

    Looked at the 301 permanent redirect, I guess I would be doing a http 310
    redirect in php since all my pages are php
    That's a lot of pages to go and put this code into, 700 something with www
    and 300 something without.

    I guess my next question is How did this happen in the first place since all
    my web pages are coming out of Netobjects 11, did I click something that
    changed it from www. to no www.

    It would be easier for the future to no how to set up new pages to all come
    out with www.

    My next question I guess would be can I just submit 2 sitemaps to Google
    one for http http://www.beachcomberpete.com
    and another for http://beachcomberpete.com

    This seems like the easier way out, or will this hurt my search results for
    my website.

    Thanks Pete

    "Nancy O" <nancyoshea1@NOSPAMatt.net> wrote in message
    news:hkvp1o$gju$1@DailyPlanet.news.netobjects.com. ..
    > Do a Google search for "301 permanent redirect"
    > You need to send hits from www.domain.com to domain.com.
    >
    >
    > --
    > Nancy O.
    > Alt-Web Design & Publishing
    > Web | Graphics | Print | Media Specialists
    > www.alt-web.com/
    > -------------------------------------------
    > www.twitter.com/altweb/
    > www.alt-web.blogspot.com/
    >
    >
    >
    >
    >
    >
    >




  5. #5
    Twayne
    Guest

    Default Re: What did I do wrong

    In news:hkvp1o$gju$1@DailyPlanet.news.netobjects.com,
    Nancy O <nancyoshea1@NOSPAMatt.net> typed:
    > Do a Google search for "301 permanent redirect"
    > You need to send hits from www.domain.com to domain.com.


    THAT's what I was trying to remember; thanks!

    Twayne`


    --
    --
    Life is the only real counselor; wisdom unfiltered
    through personal experience does not become a
    part of the moral tissue.

  6. #6
    Twayne
    Guest

    Default Re: What did I do wrong

    In news:hl0ied$rvm$1@DailyPlanet.news.netobjects.com,
    Pete <phagemann@beachcomberpete.com> typed:
    > Looked at the 301 permanent redirect, I guess I would be doing a http
    > 310 redirect in php since all my pages are php
    > That's a lot of pages to go and put this code into, 700 something
    > with www and 300 something without.


    Perhaps you should re-read the Permanent Redirect definition. Wikipedia is a
    good place to start. It's all being done in the DNS lookups, not on a page
    by page basis where each page needs editing, or it increases latency if
    that's your worry. If someone enters a "www. ..." it simply redirects it to
    " ... ". I serously doubt you'd be able to physically see much as a result
    of doing so unless you have links into your own site that go out and have to
    do the DNS lookup again and come back in as though it were a new access.
    e.g. instead of just going to a bookmark, you instead use
    http://www.thesite.tld/page/nextpage#marker and so forth. If you're doing
    something like that you might notice some latency increases.

    >
    > I guess my next question is How did this happen in the first place
    > since all my web pages are coming out of Netobjects 11, did I click
    > something that changed it from www. to no www.


    Well, the NAME for your website came from a registrar or your ISP/Server
    Admin acting as registrar, right? All you're doing with NOF is using the
    same name for it. So you weren't assigned a "www." prefix, BUT notice that
    either one will work! And without doing a permanent redirect! Right? There
    ARE some sites where that won't work but it'd be very unusual for you to
    have access to such a server.
    For humans, whether they use the www or not, they're still going to get to
    your site. Where the problem comes in is when PROGRAMS access your site;
    that's why I sent you to Google Analytics. It explains it pretty well I
    think. So if you want to get the stats for your site, you'll have one set of
    stats for www.site.tld and another set of stats for site.tld. And they'll
    be different numbers.
    Even if you don't want stats from your site, eventually you're likely to,
    so now is the time to get things fixed up right - before you forget and
    later wonder why the numbers aren't jiving right.

    >
    > It would be easier for the future to no how to set up new pages to
    > all come out with www.


    That's something you'd have to work out with your server admin possibly; I"m
    not sure. You personally have no control over it. The DNS lookup is the same
    whether it's www or not, so either one gets to your site. It's the IP that
    matters technically, not the text name. BUT, some (many) programs work on
    the text name and thus see two addresses and scrape together two sets of
    data. Unless you do the redirect.
    I think Analytics explains it a lot better than I can<g>.

    >
    > My next question I guess would be can I just submit 2 sitemaps to
    > Google one for http http://www.beachcomberpete.com
    > and another for http://beachcomberpete.com


    Umm, I don't know what would happen, but ... I've never heard of anyone else
    doing that so there must be a reason. For one thing, Search Engines might
    balk at your doing two site submissions like that when they realize it.
    Different/similar names, both going to the same IP. Dunno; it's not in "best
    practices" at any rate that I've ever seen.
    Besides, then you'd have a screwed up picture if you ever want to look at
    unique visitors, bounces, things like that. I don't think the informaiton
    would be accurate. If all you're worried about is Search Engines, do nothing
    but what you've already done. With two entries, it's not a case of just
    adding the stats from one site to the other site and having a usable number.
    I'm wondering if you actually understand the reason for the redirect,
    whether it matters to you, and whether you care that it might matter to you
    down the road. Again, Analytics has some good info that way, along with
    looking up "premanent redirect" WITH the quotes.

    >
    > This seems like the easier way out, or will this hurt my search
    > results for my website.


    If I'm wrong I'm sure I'll be corrected, but ... don't submit two sites; you
    won't get what you expect of them. For a search engine all you need is the
    one, and one site map, etc..

    >
    > Thanks Pete
    >
    > "Nancy O" <nancyoshea1@NOSPAMatt.net> wrote in message
    > news:hkvp1o$gju$1@DailyPlanet.news.netobjects.com. ..
    >> Do a Google search for "301 permanent redirect"
    >> You need to send hits from www.domain.com to domain.com.
    >>
    >>
    >> --
    >> Nancy O.
    >> Alt-Web Design & Publishing
    >> Web | Graphics | Print | Media Specialists
    >> www.alt-web.com/
    >> -------------------------------------------
    >> www.twitter.com/altweb/
    >> www.alt-web.blogspot.com/




    --
    --
    Life is the only real counselor; wisdom unfiltered
    through personal experience does not become a
    part of the moral tissue.


  7. #7
    Colin
    Guest

    Default Re: What did I do wrong

    "Twayne" <nobody@spamcop.net> wrote in news:hl18tg$6ga$1@DailyPlanet.news.netobjects.com:

    > In news:hkvp1o$gju$1@DailyPlanet.news.netobjects.com,
    > Nancy O <nancyoshea1@NOSPAMatt.net> typed:
    >> Do a Google search for "301 permanent redirect"
    >> You need to send hits from www.domain.com to domain.com.

    >
    > THAT's what I was trying to remember; thanks!
    >
    > Twayne`
    >
    >


    The answer is simple:
    in the .htaccess file in the root of the site enter the following:

    Options +FollowSymlinks
    RewriteEngine on
    rewritecond %{http_host} ^yourSiteName.com [nc]
    rewriterule ^(.*)$ http://www.yourSiteName.com/$1 [r=301,nc]

    Where yourSiteName is obviously your site's name. This is assuming your host is Apache.


    --
    Read and be merry http://blog.rankarmor.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •