Submit Your Article Forum Rules

Page 1 of 5 123 ... LastLast
Results 1 to 10 of 42

Thread: PHP vs ASP vs HTML

  1. #1

    PHP vs ASP vs HTML

    We are creating a new website with plenty of data. The thing is that the data will be extracted from database for this site. Now the problem is - If we will go with html version, the site will be OK for SEs, but then it will request manual updates of new data. If we will go with php or asp, then it can be constantly linked with original database which will send new data automatically on the site.

    Now, as I have seen while searching on google, it will show .asp pages, but has a problem with .php pages? Im assuming that .asp is better solution? Will it be the best to go with hmtl version, or asp? The pages have to be optimised for few keywords per page, is this possible in asp, and how do SEs crawl asp or php sites?

  2. #2
    Senior Member
    Join Date
    May 2004
    Posts
    546
    Any type of page is ok, as long as:

    1. You refrain from using sessions;
    2. You stick to short page variable (i.e .php?blah=blah);

    Or if your server allows it, use the "mod_rewrite" technique....

  3. #3
    Senior Member
    Join Date
    Mar 2004
    Posts
    203
    Quote Originally Posted by pedstersplanet
    Any type of page is ok, as long as:

    1. You refrain from using sessions;
    2. You stick to short page variable (i.e .php?blah=blah);

    Or if your server allows it, use the "mod_rewrite" technique....
    Yep.

    ASP and PHP are fine. I have #1 positions in Google for sites using both of those extensions. The PHP one is a database driven site with simple page variables after the '?'.

  4. #4
    Senior Member
    Join Date
    May 2004
    Posts
    546

    Re: PHP vs ASP vs HTML

    Quote Originally Posted by daemon61
    The pages have to be optimised for few keywords per page, is this possible in asp, and how do SEs crawl asp or php sites?
    I forgot to say...... SEs see these pages as html, they dont see any (php/asp) coding, just like the browsers do.
    So just optimise them just like you do html pages.

    HTH

  5. #5
    Senior Member
    Join Date
    Jun 2004
    Posts
    136

    Re: PHP vs ASP vs HTML

    Quote Originally Posted by daemon61
    We are creating a new website with plenty of data. The thing is that the data will be extracted from database for this site. Now the problem is - If we will go with html version, the site will be OK for SEs, but then it will request manual updates of new data. If we will go with php or asp, then it can be constantly linked with original database which will send new data automatically on the site.

    Now, as I have seen while searching on google, it will show .asp pages, but has a problem with .php pages? Im assuming that .asp is better solution? Will it be the best to go with hmtl version, or asp? The pages have to be optimised for few keywords per page, is this possible in asp, and how do SEs crawl asp or php sites?
    We use .asp, .php, .cf and so on... they all work the same. Stick to the advices given so far in the thread, they are all good. Avoid querystrings as possible - or definitely make use of mod-rewrite.

  6. #6
    Senior Member
    Join Date
    Apr 2004
    Posts
    257
    If you saw PHP pages that didn't rank as well as ASP pages, that could be that the ASP pages have been "marketed" or have links back to them, or just plain optimized better.

    I thought perhaps they didn't like the ".php" ending, but I know now I was wrong. I simply never marketed my php pages whereas I did submit the static versions of the same pages to SEs. So, my PR ended up better for the static (.html) versions.

  7. #7
    Senior Member
    Join Date
    May 2004
    Posts
    243
    I was going to say the same thing.
    One tip though.

    As far as it is possible ... put as many of the php or asp pages in the sitemap with the variables

    ex.
    pagename.asp?id=1
    pagename.asp?id=2
    pagename.asp?id=3
    etc...

    Keith
    Free Custom Website Design
    www.corporateface.com
    Custom Website Design
    No Templates

  8. #8
    Junior Member
    Join Date
    Feb 2004
    Posts
    12

    PHP vs. ASP vs. HTML

    Are you considering ASP or ASP.NET ?

  9. #9
    PHP will work on IIS and Apache so you wont have hosting issues later on. Just my 2 cents and I have change. Oh and Winblows sucks..... but thats a different debate.
    Just some cool free software everybody should have:
    http://www.soloenterprises.org/free/free-software.php
    And some shameless Orange County Computer Service promotion

  10. #10
    You should stick with PHP as it is not platform dependent. That way in the future if you decide to switch to a *nix based platform you do not have to rewrite your code.

    One thing you should definitely do from the beginning is use rewrite rules to make your website SE friendly. If you decide to go IIS then you can use:

    http://www.isapirewrite.com/

    If you are going to use apache, then you can use the built in rewrite rules.

    These rules will allow you to make something like:

    http://www.blah.com/index.php?n=1&to...lah=thisislong

    to www.blah.com/1/2121/1/thisislong

    Due to this site I was able to finally figure out the missing piece as to how this was done, which is the rewrite rules. Doing this in the very beginning of your site creation process will save you some huge headaches later on down the road.

    You can see an example of how I used rewrite rules here:

    Search Engines & the world see this:
    http://www.bleepingcomputer.com/forums/topict3616.html

    but it is actually rewritten to:

    http://www.bleepingcomputer.com/foru...showtopic=3616

    This may not seem like a big difference, but dynamic urls can get very very very long.

Page 1 of 5 123 ... LastLast

Similar Threads

  1. HTML Validator is a Mozilla extension that adds HTML validat
    By dougadam in forum Graphics & Design Discussion Forum
    Replies: 3
    Last Post: 02-10-2007, 07:45 PM
  2. URL Rewrite? ID=1.html or .html?ID=1 will it matter?
    By TransferTown in forum Google Discussion Forum
    Replies: 3
    Last Post: 12-29-2006, 04:17 PM
  3. Pre-populating an HTML Form with Data from Another HTML Form
    By ambassador in forum Web Programming Discussion Forum
    Replies: 3
    Last Post: 06-19-2005, 09:12 PM
  4. Fake HTML vs. Static HTML - Do search engines know?
    By strum4life in forum Search Engine Optimization Forum
    Replies: 5
    Last Post: 02-27-2005, 06:18 AM
  5. http://www.gochipmunk.com/html/home.html
    By madisonPete in forum Submit Your Site For Review
    Replies: 2
    Last Post: 08-16-2004, 08:09 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
  •