473,385 Members | 1,429 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Use Error Page to Handle Website Content for SE?

Hello,
I'd like to discuss the concept of creating an error page which will
handle the website content display.
I need it for Search Engine Optimization.
The problem is that SE does not read pages with querystrings like:
website.com/mypage.asp?id=123.
Therefore, there is a solution to it to make a link look like
website.com/mypage/id/123 (which does not exist), and error page will
display the content of website.com/mypage.asp?id=123 page, if url is
website.com/mypage/id/123...
Do you think that is a good practice to implement? Can anyone show the
example? Should I use Msxml2.ServerXMLHTTP to pull another webpage
content?
Thanks to all.

Oct 16 '06 #1
5 1298
The problem is that SE does not read pages with querystrings like:
website.com/mypage.asp?id=123.
Therefore, there is a solution to it to make a link look like
website.com/mypage/id/123 (which does not exist), and error page will
display the content of website.com/mypage.asp?id=123 page, if url is
website.com/mypage/id/123...
This is exactly what happens at http://www.aspfaq.com/2248, for example.

404 page does a lookup of what this really should be, then redirects.

It's a bit of a performance hit, but only you can determine if it's worth
it.

A
Oct 16 '06 #2
404 page does a lookup of what this really should be, then redirects.
Redirects? Hm... I thought Msxml2.ServerXMLHTTP can be used to actually
display any page on the error page... With redirection, there is no
sense to use this concept I intend.

Oct 16 '06 #3
Google doesn't seem to have a problem with it.
Look at result #10:

http://www.google.com/search?hl=en&q...ored+procedure


<vu******@gmail.comwrote in message
news:11**********************@i42g2000cwa.googlegr oups.com...
>
>404 page does a lookup of what this really should be, then redirects.
Redirects? Hm... I thought Msxml2.ServerXMLHTTP can be used to actually
display any page on the error page... With redirection, there is no
sense to use this concept I intend.

Oct 16 '06 #4

Aaron Bertrand [SQL Server MVP] wrote:
Google doesn't seem to have a problem with it.
Look at result #10:

http://www.google.com/search?hl=en&q...ored+procedure
You seem to be right. However, there is ton of info about "Dynamic
Pages and Search Engines" which says that querystrings are no readable
by robots. Maybe Google changed their indexing system? Maybe other
robots do not read full URL. I cannot say for sure now.
Perhaps, somebody knows.....

Oct 16 '06 #5

<vu******@gmail.comwrote in message
news:11**********************@i42g2000cwa.googlegr oups.com...
>
404 page does a lookup of what this really should be, then redirects.
Redirects? Hm... I thought Msxml2.ServerXMLHTTP can be used to actually
display any page on the error page... With redirection, there is no
sense to use this concept I intend.
Here is another alternative using a custom 404 page.

Set response.status = "200 OK". Place values needed from the rest of the
URL into a session variable(s). Server execute of one of serveral other
pages that can use the session variables as input to generate dynamic
output. Clear the session variables after server execute returns.

Oct 17 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

37
by: asj | last post by:
awhile back, eBay decided to switch from a Microsoft/.NET/Windows architecture on the backend to a J2EE one, which might explain why their java backend will handle up to 1 BILLION page views a day!...
25
by: moondaddy | last post by:
I have an application where users need to upload images and in my web.config file I have a setting like this: <httpRuntime maxRequestLength="512" /> Which restricts image larger than 500k from...
16
by: | last post by:
Hi all, I have a website running on beta 2.0 on server 2003 web sp1 and I keep getting the following error:- Error In:...
18
by: J-T | last post by:
Hi All, There is a picture on the following URL which I want to have it in one of my asp.net pages .I mean I want to embed the content of this page in my own page and get its image.Is there a...
7
by: | last post by:
Hi all, I have a simple .aspx page running on net 2.0 that is trying to do a http post to a remote server. Here is the code Private Function ProcessRequests(ByVal strbody As String) As String...
0
by: tasmontique | last post by:
I hope someone can help me. I have an error that I can not seem to figure out. All I need is an unbound dropdownlist to navigate to urls withing the website. I have gotten as far as to populate field...
2
by: Comcast | last post by:
I am using a form that uses PHP to create an e-mail and send it off. When the script runs, I get an error page, although the e-mail is sent off. The error I am getting is: Warning:...
1
by: sean_walsh | last post by:
Hi From classic ASP, I had a custom error handling situation that was quite simple. Errors were all redirected to Error.asp. This page would check 2 settings, EmailErrorMessage and...
3
by: =?Utf-8?B?SGVyYg==?= | last post by:
I've developed an ASP.NET website that runs fine on my local WinXP IIS and on my server's IIS, both are IIS6.0 The site uses a master page that has the following declaration: <%@ Master...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.