HTML Coding
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   SEO Chat ForumsOtherHTML Coding

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread SEO Chat Forums Sponsor:
  #1  
Old May 1st, 2003, 09:46 AM
Prosperity4 Prosperity4 is offline
Junior Member
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 17 Prosperity4 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 m 48 sec
Reputation Power: 0
Database driven site - Is there any experts out there?

"Wanting to know the best way to optimise a page within a database driven site. For example, the product.asp would kick out an error if accessed directly from a Search Engine due to not having any values for the database to read. Any suggestions?"

Reply With Quote
  #2  
Old May 1st, 2003, 11:37 AM
mr_tim mr_tim is offline
Junior Member
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 8 mr_tim User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
you could check to see if the querystring contains an id (or whatever you pass) if the id is nothing ie. is product.asp, then display an index of all (or some with page through buttons) products. this then gives a page the spider can follow to get all of your listed products

you should take these measures for your users not just the search engines

Reply With Quote
  #3  
Old May 1st, 2003, 11:59 AM
rustybrick's Avatar
rustybrick rustybrick is offline
Contributing User
SEO Chat Frequenter (2500 - 2999 posts)
 
Join Date: Apr 2003
Location: New York, USA
Posts: 2,642 rustybrick User rank is Private First Class (20 - 50 Reputation Level)rustybrick User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 2 Days 17 h 40 m 42 sec
Reputation Power: 8
look at:

http://www.seochat.com/viewtopic.php?t=1026

Reply With Quote
  #4  
Old May 1st, 2003, 03:34 PM
lowell's Avatar
lowell lowell is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Location: Massachusetts
Posts: 52 lowell User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
The best way to achieve top search engine rankings with a database driven site is to build a script that spits your dynamic pages out as regular old HTML pages.

I've done this with several sites and its a great way to get a ton of pages indexed by google. One of my sites currently has over 1500 pages indexed!

Reply With Quote
  #5  
Old May 2nd, 2003, 04:06 AM
Prosperity4 Prosperity4 is offline
Junior Member
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 17 Prosperity4 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 m 48 sec
Reputation Power: 0
lowell,

how is this done, could you provide more of an insight that would be great

Reply With Quote
  #6  
Old May 2nd, 2003, 04:10 AM
why2kit's Avatar
why2kit why2kit is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Dec 2002
Posts: 77 why2kit User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
well I'm assumimg your product.asp is expecting to see a product id in an url field (e.g. product.asp?id=1234) and you then do a sql select on that. So just check for the existance of url.id before doing the sql lookup, if the url.id is not there of if the recordcount from the sql select is zero just do a redircet to another page

Reply With Quote
  #7  
Old May 2nd, 2003, 04:56 AM
Webby's Avatar
Webby Webby is offline
Moderator
SEO Chat Beginner (1000 - 1499 posts)
 
Join Date: Feb 2003
Location: Hannover, Germany
Posts: 1,384 Webby User rank is Lance Corporal (50 - 100 Reputation Level)Webby User rank is Lance Corporal (50 - 100 Reputation Level)Webby User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 21 h 45 m 41 sec
Reputation Power: 7
Send a message via ICQ to Webby
It can get pretty technical. There are mainly two ways to create SE friendly dynamic urls.

1. Apache Mod_rewrite function
2. PHP and .htaccess / path arguments

Point one requires some server side programming experience or try a search on Google for 'mod rewrite +search engine friendly' for help. It is pretty heavy stuff though (for me anyway )

Point two is essentially what I have done on my own German language phpbb forum but only works with php pages and is pretty complicated. I confess I couldn't have done it myself without help.

Maybe others here can expand because frankly I'm not really a big enough geek at server side stuff (yet) to give you the full low down. :-)
__________________
What is a website without traffic?
ABAKUS Internet Marketing

Reply With Quote
  #8  
Old May 2nd, 2003, 06:24 AM
LukasS's Avatar
LukasS LukasS is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: Poland
Posts: 108 LukasS User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 38 m 56 sec
Reputation Power: 6
If the user comes from SE without any values included you can set him default values in php it's written very easy:

if (!isset(id)) { do smth / id == seuser }
else { }

easy way, i dunno much about asp, but i wouldn't do dynamic pages in it, it generates very slowly and can stop googlebot from crawling allover your page. PHP is the best solution for this and when you're using MySQL or PostgreSQL with it you can do it very easily.
__________________
Viva la Google'ika! The Best dance comes with Google!

Reply With Quote
  #9  
Old May 2nd, 2003, 06:31 AM
Prosperity4 Prosperity4 is offline
Junior Member
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 17 Prosperity4 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 m 48 sec
Reputation Power: 0
A big thankyou for all your help and advice in this matter.
It's nice to have a forum like this that with people visiting here that provide good helpful advice.

Reply With Quote
  #10  
Old May 2nd, 2003, 07:16 AM
eurobabes eurobabes is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 86 eurobabes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
No problem

I have a database driven site. It is no problem, as long as there are links that the spider can get to. If some pages are only displayed as fx. part of a search result it is another story.
f.eks a link to www.mysite.dk/product.asp?id=23 is no problem

Reply With Quote
  #11  
Old May 2nd, 2003, 09:34 AM
lowell's Avatar
lowell lowell is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Location: Massachusetts
Posts: 52 lowell User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Quote:
Originally posted by "Prosperity4"

lowell,

how is this done, could you provide more of an insight that would be great


Well, Im not that familiar with ASP, but here is how you would do it (in pseudo code):

query the database to get the information about the product that you want to display on the page

then you would create a string which would hold all of the HTML for the web page.

Once you have built the string of HTML, you write that string to a file and just name it with a .html extension. Im sure ASP has some decent functions for writing files.

repeat for all of your products


If you do it this way, you will also need to come up with a linking structure, since all of your linking will be between HTML pages and not between ASP pages.

If you go to www.dancoindustries.com/shipping_supplies/ you can see how I have created my directory of products. All of the category/subcategory/product info is stored in a database and I just grab that data and use it to write out a bunch of HTML files.

What you end up with is a huge site of HTML pages -- something that search engines love!

Reply With Quote
  #12  
Old May 2nd, 2003, 09:39 AM
digdan digdan is offline
Junior Member
SEO Chat Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 5 digdan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I have developed an 'engine' that will automaticly meta tag, title, and give keyword prominence and density to what keywords I specify for each product/page. This seems to help quite a bit. I would store meta/title information in the database with your products. If each product has different meta/title/page information then the rest of your sites, its more likly to be recognized by google.

Reply With Quote
  #13  
Old May 2nd, 2003, 09:41 AM
lowell's Avatar
lowell lowell is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Location: Massachusetts
Posts: 52 lowell User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
google doesnt care a bit about meta tags.....the title tags are what google really likes. . .

Reply With Quote
  #14  
Old May 2nd, 2003, 09:53 AM
Sean Roche's Avatar
Sean Roche Sean Roche is offline
Live with Passion
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: Orlando, Florida
Posts: 124 Sean Roche User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Send a message via AIM to Sean Roche
Keep it simple, just create a SiteMap page that contains links to all your dynamic pages with all the variables included.

No need to acctually make .html pages for each link. Your site map does not even need to be an .html page. I use this technique on all my clients sites because they are all .asp and database driven. It works like a champ and all dynamic pages get indexed.

Example would be:

<link code>NewSearchForm.asp?City=Orlando&State=Florida&Country=USA&Source=test

Blah, Blah, Blah you get the picture. Now just create links to all your .asp pages and then submit your site map. You may also want to use the robots.txt file to instruct the bots to nopt index the page but follow all the links.

Good Luck
__________________
Sean Roche
sean@ventureactive.com
http://www.ventureactive.com

Reply With Quote
Reply

Viewing: SEO Chat ForumsOtherHTML Coding > Database driven site - Is there any experts out there?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support |