HighDots Forums  

Dynamic or Static Pages in ASP

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


Discuss Dynamic or Static Pages in ASP in the Search Engine Optimization forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
roscoe
 
Posts: n/a

Default Re: Dynamic or Static Pages in ASP - 09-21-2006 , 04:36 AM






You can use a custom 404 page.

Lets say the you send a visitor to http://your_url/xyz

<%
str_query = Request.ServerVariables("QUERY_STRING")
str_search_string = replace(str_query,"404;" & your_url & ":80/","")
folder_array = split(str_search_string,"/")
no_arrays = ubound(folder_array)
%>

Then folder_array(0) = "xyz"

You send a visitor to http://your_url/xyz/abc

Then folder_array(0) = "xyz"
Then folder_array(1) = "abc"

Obviously you have to put some checking in place that makes sure the
folders are correct, otherwise send a 404 header, so if all the folders
have a similar format, say id_###### and the result doesn't contain
"id_" you return a 404 error

Reply With Quote
  #12  
Old   
Windsun
 
Posts: n/a

Default Re: Dynamic or Static Pages in ASP - 09-21-2006 , 04:41 PM






I just love this group.

Endless such comments, but never mentions a solution.


-------------------------------------------------------------------------
"Borek" <m.borkowski (AT) delete (DOT) chembuddy.these.com.parts> wrote

On Wed, 20 Sep 2006 22:43:59 +0200, z <news01.web (AT) mailnull (DOT) com> wrote:

Only if you have no clue how to code it properly. (repeated several times)




Reply With Quote
  #13  
Old   
vunet.us@gmail.com
 
Posts: n/a

Default Re: Dynamic or Static Pages in ASP - 09-21-2006 , 04:56 PM



Thank you for ASP page.
One question arises though.
If crawlers go to one url such as website.com/page/xyz and then they
are redirected by ASP to website.com/page.asp?id=xyz, would those
crawlers realize there is something fishy?.. and not index the page?


Reply With Quote
  #14  
Old   
roscoe
 
Posts: n/a

Default Re: Dynamic or Static Pages in ASP - 09-22-2006 , 02:52 AM



They are not redirected, the url website.com/page/xyz doesn't change,
instead the custom written 404 page creates a page depeneding on the
variables in the url path, e.g. "xyz" just as the the "page.asp?id=xyz"
would do with the variable "id"

vunet.us (AT) gmail (DOT) com wrote:
Quote:
Thank you for ASP page.
One question arises though.
If crawlers go to one url such as website.com/page/xyz and then they
are redirected by ASP to website.com/page.asp?id=xyz, would those
crawlers realize there is something fishy?.. and not index the page?


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.