+ Reply to Thread
Results 1 to 4 of 4

Thread: Lazy coding

  1. #1
    Join Date
    Jun 2004
    Location
    Columbus, OH
    Posts
    13

    Default Lazy coding

    Over the years I've become somewhat lazy and some of my sites, including my KeysToTheHouse.com site I'll create a page called main.php which is a template for the entire site and pass in the interior page on the url. It allows me to give my site a facelift in a very short timeframe. I just change the main.php and alter my stylesheet and new facelift is done. However, I'm assuming this is a bad thing from search engines. Here's a sample url:

    http://www.keystothehouse.us/propert...imonials.phtml

    If this is killing me on the search engines, let me know and I'll do it the right way. The other bad thing I'm doing is because of this approach, occasionally a page will have 2 title and meta tag groups. I'm here to learn, so bash away.

  2. #2
    Join Date
    Apr 2004
    Location
    Poconos, PA
    Posts
    410

    Default

    There you go with all that technical stuff
    Here's one way you can go...simply create the site using a css style sheet and build the individual pages one at a time by creating a few different layouts for templates and start replacing them from the front door inwards so you can do it over time and not have to worry about leaving it the way it is until a major overhaul is completed. Start with your most important content pages and use a robot.txt file to keep the spiders away from the rest of the affected infected site. As you add a page, simply modify the robots.txt file and feed it to the serps. Most importantly, start building backlinks with relevent sites right away so by the time you get a couple hundred pages done you'll have some of that behind you.

    Don't worry db...you'll be done in no time You never sleep anyway

  3. #3
    Join Date
    Jun 2004
    Location
    Columbus, OH
    Posts
    13

    Default

    I'm learning a bunch here. So tell me, what is a robots.txt file. Is it pages that are included or pages that are excluded?

  4. #4
    Join Date
    Apr 2004
    Location
    Poconos, PA
    Posts
    410

    Default

    Here you go db,


    To exclude all robots from parts of your site create a plain text file in notepad and upload to your root directory

    User-agent: *
    Disallow: /db's infected page/
    Disallow: /db's pages-with50-metatags/
    Disallow: /db's-images/


    The asterisk (*) or wildcard in the User-agent field is a special value meaning "any Robot" and therefore is the only one needed until you fully understand how to set up different User-agents.

    If you want to Disallow: a particular file within the directory, your Disallow: line might look like this one:

    User-agent: *
    Disallow: /private/db's-top-secret-stuff.htm

+ Reply to Thread

Similar Threads

  1. Need Wolfnet IDX coding - paid project
    By SEOwhiz in forum MLS listings and IDX Solutions
    Replies: 6
    Last Post: 10-06-2007, 09:37 AM
  2. IDX coding - paid project
    By SEOwhiz in forum Coding
    Replies: 0
    Last Post: 10-03-2007, 08:53 PM
  3. Coding for my map search?
    By doogers in forum Coding
    Replies: 4
    Last Post: 08-09-2007, 05:26 AM
  4. Google Album Coding
    By Memphis in forum Coding
    Replies: 2
    Last Post: 03-03-2007, 08:51 AM

Posting Permissions

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