473,473 Members | 2,169 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

best practice permanent redirect

Greetings one and all

I've just taken over a site and I'm changing the files from .htm to .asp.

What's considered the best practice method of indicating the source of the
new document?

Cheers
--
William Tasso - http://WilliamTasso.com
Jul 19 '05 #1
3 1907
not sure I follow...
You mean in case of a bookmark or something?
You could try a custom 404 page and redirect all .htm to .asp

--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
...Offering free scripts & code snippits for everyone...
---------------------------------------------------------
"William Tasso" <ng*@tbdata.com> wrote in message
news:#s*************@TK2MSFTNGP09.phx.gbl...
Greetings one and all

I've just taken over a site and I'm changing the files from .htm to .asp.

What's considered the best practice method of indicating the source of the
new document?

Cheers
--
William Tasso - http://WilliamTasso.com

Jul 19 '05 #2
i don;t follow either

"William Tasso" <ng*@tbdata.com> wrote in message
news:%2***************@TK2MSFTNGP09.phx.gbl...
Greetings one and all

I've just taken over a site and I'm changing the files from .htm to .asp.

What's considered the best practice method of indicating the source of the
new document?

Cheers
--
William Tasso - http://WilliamTasso.com

Jul 19 '05 #3
Curt_C [MVP] wrote:
"William Tasso" <ng*@tbdata.com> wrote in message
news:#s*************@TK2MSFTNGP09.phx.gbl...

What's considered the best practice method of indicating the source
of the new document?
not sure I follow...
You mean in case of a bookmark or something?


yep bookmarks, links from other sites[1] and, of course, google.
You could try a custom 404 page and redirect all .htm to .asp


that's good, saves having the old resources littering the site. not sure I
can send a permanent redirect header with this method though.

[1] I know we can contact the webmasters (and we will) and ask them to
change the links but some of them are government sites and changes have to
go through commitee and take an age ;o)
--
William Tasso - http://WilliamTasso.com
Jul 19 '05 #4

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

Similar topics

136
by: Matt Kruse | last post by:
http://www.JavascriptToolbox.com/bestpractices/ I started writing this up as a guide for some people who were looking for general tips on how to do things the 'right way' with Javascript. Their...
1
by: Andy Fish | last post by:
Hi, I am about to commence the design of what will turn out to be a fairly large asp.net web app, and I am looking for any good advice and resources (books, web pages) concerning how best to...
5
by: Amelyan | last post by:
I am struggling here trying to determine what is a good programming practice as far as referencing your URLs. When you use Response.Redirect, do you use 1) Hard-coded string --...
17
by: | last post by:
I have an app that retrieves data from an Access database. At the moment I have the SQL string as a Const in my app. I understand this is not best practice. I don't want the user to have access to...
10
by: Ren | last post by:
Hi All, I'm still rather new at vb.net and would like to know the proper way to access private varibables in a class. Do I access the variable directly or do I use the public property? ...
13
by: G | last post by:
Hello, Looking for opinions on a fairly simple task, new to ASP.net (C#) and want to make sure I do this as efficiently as possible. I have a web based form, and I need to run some SQL before...
3
by: Dunc | last post by:
I have a website where I wish to display a custom 404 error page when applicable. I also want to ensure that when a search engine hits a page that no longer exists, it gets a StatusCode of 404 so...
5
by: =?Utf-8?B?QmlsbHk=?= | last post by:
asp.net 2.0 vs2005 What is best practice for exception handling on a website in vs2005? I was going to catch errors in application on_error event, log them to the event log, then send users to...
1
by: =?Utf-8?B?bWFya203NQ==?= | last post by:
I have a simple page i'm trying to do dynmaically.. i have a page called submitcomments.aspx with the .cs codebehind.. before i created everything in design view.. now i've ripped that out and...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.