HighDots Forums  

how do they do it?

Search Engine Optimization Discussion about SEO/Search Engine Optimization (alt.internet.search-engines)


Discuss how do they do it? in the Search Engine Optimization forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Danny
 
Posts: n/a

Default how do they do it? - 05-10-2004 , 01:19 PM






I am tyring to find the site, but I am seeing more and more web sites with
the really long html names and also nicely broken down by category that sits
on a related directory and/or subdomain on the server.

so like:
a white kenmore gasrange would be:
forthekitchen.someappliancestore.com/kenmore/gasranges/white/4564-kenmore-be
st-white-fridge.asp

and the model number and title combined into one page name.
are these page names generated before hand? wow!!

How is this done?

THanks in andvance





Reply With Quote
  #2  
Old   
PeterMcC
 
Posts: n/a

Default Re: how do they do it? - 05-10-2004 , 02:18 PM






Danny wrote in
<xQOnc.11516$CC4.5586730 (AT) news4 (DOT) srv.hcvlny.cv.net>

Quote:
I am tyring to find the site, but I am seeing more and more web sites
with the really long html names and also nicely broken down by
category that sits on a related directory and/or subdomain on the
server.

so like:
a white kenmore gasrange would be:

forthekitchen.someappliancestore.com/kenmore/gasranges/white/4564-kenmore-be
st-white-fridge.asp

and the model number and title combined into one page name.
are these page names generated before hand? wow!!

How is this done?

The pages are generated on the fly - "asp" indicates an Active Server Page -
the example you've quoted is probably drawn from a database of products.

--
PeterMcC
If you feel that any of the above is incorrect,
inappropriate or offensive in any way,
please ignore it and accept my apologies.



Reply With Quote
  #3  
Old   
Danny
 
Posts: n/a

Default Re: how do they do it? - 05-10-2004 , 02:34 PM




"PeterMcC" <peter (AT) mccourt (DOT) org.uk> wrote

Quote:
Danny wrote in
xQOnc.11516$CC4.5586730 (AT) news4 (DOT) srv.hcvlny.cv.net

I am tyring to find the site, but I am seeing more and more web sites
with the really long html names and also nicely broken down by
category that sits on a related directory and/or subdomain on the
server.

so like:
a white kenmore gasrange would be:


forthekitchen.someappliancestore.com/kenmore/gasranges/white/4564-kenmore-be
st-white-fridge.asp

and the model number and title combined into one page name.
are these page names generated before hand? wow!!

How is this done?


The pages are generated on the fly - "asp" indicates an Active Server
Page -
the example you've quoted is probably drawn from a database of products.

--
PeterMcC
If you feel that any of the above is incorrect,
inappropriate or offensive in any way,
please ignore it and accept my apologies.


but are the pages and also subdirectories generated on the fly or prepared
before hand by the shopping cart software or html publishing software.
The links seem to already exist for all the products.




Reply With Quote
  #4  
Old   
John Bokma
 
Posts: n/a

Default Re: how do they do it? - 05-10-2004 , 02:56 PM



Danny wrote:

Quote:
I am tyring to find the site, but I am seeing more and more web sites with
the really long html names and also nicely broken down by category that sits
on a related directory and/or subdomain on the server.

so like:
a white kenmore gasrange would be:
forthekitchen.someappliancestore.com/kenmore/gasranges/white/4564-kenmore-be
st-white-fridge.asp

and the model number and title combined into one page name.
are these page names generated before hand? wow!!

How is this done?
There are various ways to do that. I use often mod_rewrite in
combination with a program that extracts the content from a database.
That way you can even get rid of the extension (asp in this case) or
change it to html :-D.

John

--
SEO Company Services and Search Engine Optimization
http://searchengineoptimizationcompanyservices.com/


Reply With Quote
  #5  
Old   
John Bokma
 
Posts: n/a

Default Re: how do they do it? - 05-10-2004 , 03:20 PM



Danny wrote:

Quote:
but are the pages and also subdirectories generated on the fly or
prepared
before hand by the shopping cart software or html publishing software.
The links seem to already exist for all the products.

With mod_rewrite you can use (a part of) the URL as a parameter to a
script. The script can use the parameter to look something up in a
database, and return the resulting page.

If you call your scipt for example shop, and there is no need to have it
inside the cgi-bin, you can make URLs of the form:

/shop/computers/athlon/2ghz/256MB/cheap

and use PATH_INFO to get the stuff to the right of shop.

This info can be used to query a database.

In case you need help, see sig.

John

--
SEO Company Services and Search Engine Optimization
http://searchengineoptimizationcompanyservices.com/


Reply With Quote
  #6  
Old   
Danny
 
Posts: n/a

Default Re: how do they do it? - 05-10-2004 , 03:29 PM




"John Bokma" <postmaster (AT) castleamber (DOT) com> wrote

Quote:
Danny wrote:

I am tyring to find the site, but I am seeing more and more web sites
with
the really long html names and also nicely broken down by category that
sits
on a related directory and/or subdomain on the server.

so like:
a white kenmore gasrange would be:

forthekitchen.someappliancestore.com/kenmore/gasranges/white/4564-kenmore-be
st-white-fridge.asp

and the model number and title combined into one page name.
are these page names generated before hand? wow!!

How is this done?

There are various ways to do that. I use often mod_rewrite in
combination with a program that extracts the content from a database.
That way you can even get rid of the extension (asp in this case) or
change it to html :-D.

John

--
SEO Company Services and Search Engine Optimization
http://searchengineoptimizationcompanyservices.com/
Thank you
But is the mod_rewrite a way to just make the url look different by
redirecting or does it actually rewrite the pages so the search engines will
find them when browsing your site.
you can actually rewrite something like the above to an .html or .asp page?
like www.hellothere.com/test.cgi?hello=3434&there=222
can be -> www.hellothere.com/test/hello/there.asp? or am I way off.


Thanks




Reply With Quote
  #7  
Old   
John Bokma
 
Posts: n/a

Default Re: how do they do it? - 05-10-2004 , 03:40 PM



Danny wrote:

[]

Quote:
But is the mod_rewrite a way to just make the url look different by
redirecting or does it actually rewrite the pages so the search
engines will
find them when browsing your site.
you can actually rewrite something like the above to an .html or .asp
page?
like www.hellothere.com/test.cgi?hello=3434&there=222
can be -> www.hellothere.com/test/hello/there.asp? or am I way off.

You can rewrite www.hellothere.com/test/hello/there.asp to
www.hellothere.com/test.cgi?hello&there, or even without mod_rewrite you
can do www.hellothere.com/test/hello/there.asp if you can have CGI in
arbitrary dirs. The script test gets /hello/there.asp in PATH_INFO.

The translation of hello to hello=3434 and there to there=222 can be
done using a database with look up tables. Those can be generated
automatically.

John

--
SEO Company Services and Search Engine Optimization
http://searchengineoptimizationcompanyservices.com/


Reply With Quote
  #8  
Old   
dk_sz
 
Posts: n/a

Default Re: how do they do it? - 05-10-2004 , 05:49 PM



Quote:
But is the mod_rewrite a way to just make the url look different by
As a small example, this page:
http://www.micro-sys.dk/home/our-links.php
is the same backend page as
http://www.micro-sys.dk/home/our-links/za/
which actually corresponds into this
http://www.micro-sys.dk/home/our-links.php?sort=za

Here's the rewriterule (.htaccess):
RewriteRule ^home/our-links/([_1-9a-zA-Z\s-]*)(/?)
/home/our-links.php?sort=$1


--
best regards
Thomas Schulz




Reply With Quote
Reply




Thread Tools
Display Modes

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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.