473,675 Members | 3,211 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Redirecting a Web page

I've spent the past month or so building my small business web site
(www.OpComm.com, in case anyone would care to take a look and provide
some comments).

I've realized that one of the pages, which is labelled Specialties,
and is named specialties.htm l, should really be called Services, and
the file should be services.html.

But, I've already let various search engines know about my page, and
they may have spidered it. So, I'm concerned about people clicking on
a link for OpComm.com/specialties.htm l, and coming up with a dead
link. Is there any way to keep the specialties.htm l page out there,
but put some html on is so that as soon as people reach it, they are
redirected to services.html?

Thanks in advance for all replies.

Steve O.

Steven AATT Domain DDOOTT com
To send an e-mail, substitute @ for AATT, a . for DDOOTT, and OpComm for Domain

Standard Antiflame Disclaimer: Please don't flame me. I may actually *be* an idiot, but even idiots have feelings.
Jul 20 '05 #1
4 1525
Steven O. wrote:
I've realized that one of the pages, which is labelled Specialties,
and is named specialties.htm l, should really be called Services, and
the file should be services.html.

Is there any way to keep the specialties.htm l page out there,
but put some html on is so that as soon as people reach it, they are
redirected to services.html?


This isn't a job for HTML, it is a job for HTTP, specificalled a Moved
response with a Location header.

http://www.w3.org/Protocols/rfc2616/...html#sec10.3.2
http://www.w3.org/Protocols/rfc2616/....html#sec14.30

How you implement this depends on your webserver environment. Check the
manual for your webserver, or put a CGI (or other server side programming
component) that issues the header in place of the old page .
--
David Dorward <http://blog.dorward.me .uk/> <http://dorward.me.uk/>
Jul 20 '05 #2
Steven O. wrote:
I've realized that one of the pages, which is labelled Specialties,
and is named specialties.htm l, should really be called Services, and
the file should be services.html.

Is there any way to keep the specialties.htm l page out there,
but put some html on is so that as soon as people reach it, they are
redirected to services.html?


This isn't a job for HTML, it is a job for HTTP, specificalled a Moved
response with a Location header.

http://www.w3.org/Protocols/rfc2616/...html#sec10.3.2
http://www.w3.org/Protocols/rfc2616/....html#sec14.30

How you implement this depends on your webserver environment. Check the
manual for your webserver, or put a CGI (or other server side programming
component) that issues the header in place of the old page .
--
David Dorward <http://blog.dorward.me .uk/> <http://dorward.me.uk/>
Jul 20 '05 #3
Steven O. wrote:
I've realized that one of the pages, which is labelled Specialties,
and is named specialties.htm l, should really be called Services, and
the file should be services.html.

Is there any way to keep the specialties.htm l page out there,
but put some html on is so that as soon as people reach it, they are
redirected to services.html?


This isn't a job for HTML, it is a job for HTTP, specifically a Moved
response with a Location header.

http://www.w3.org/Protocols/rfc2616/...html#sec10.3.2
http://www.w3.org/Protocols/rfc2616/....html#sec14.30

How you implement this depends on your webserver environment. Check the
manual for your webserver, or put a CGI (or other server side programming
component) that issues the header in place of the old page .
--
David Dorward <http://blog.dorward.me .uk/> <http://dorward.me.uk/>
Jul 20 '05 #4
Steven O. wrote:
I've realized that one of the pages, which is labelled Specialties,
and is named specialties.htm l, should really be called Services, and
the file should be services.html.

Is there any way to keep the specialties.htm l page out there,
but put some html on is so that as soon as people reach it, they are
redirected to services.html?


This isn't a job for HTML, it is a job for HTTP, specifically a Moved
response with a Location header.

http://www.w3.org/Protocols/rfc2616/...html#sec10.3.2
http://www.w3.org/Protocols/rfc2616/....html#sec14.30

How you implement this depends on your webserver environment. Check the
manual for your webserver, or put a CGI (or other server side programming
component) that issues the header in place of the old page .
--
David Dorward <http://blog.dorward.me .uk/> <http://dorward.me.uk/>
Jul 20 '05 #5

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

Similar topics

3
2325
by: lozd | last post by:
Would appreciate any solutions people could offer for this. Basically I wan't to use a frameset with an aspx page as the contents rather than a htm page and I'd like to be able to redirect the main page from the code behind the contents page. I want to do this to allow the use of asp "linkbuttons" instead of hyperlinks so I can do a little processing before redirecting. The main reason for this to prevent hyperlinks of pages that have...
0
2133
by: Sune Hansen | last post by:
Hi guys, I really hope someone can help me with my problem. Here is the scenario: I have a development environment on my locale machine. Once in a while when everything has been tested I publish it to the live server. This has been working well for some time. Now, all of a sudden, when I publish my site it no longer works on the live server. It seemes as if it keeps redirecting to the same page over and over
1
1853
by: Bilbo | last post by:
Hello, How do I programatically redirect a page in "another frame" using C# in ASP.NET? Server.Transfer redirects the current page...not a different frame. Thanks.
3
2460
by: tony | last post by:
I've been searching through the threads to find a solution for 401.3 error triggered by windows authentication not being able to redirect to a custom error page to no avail. It seems that ASP.NET does not redirect 401 errors yet changing the Custom Errors redirect in IIS does not help either. Has anyone found a solution to this problem? Seems like it should be a commonly encountered problem. Any help will be greatly appreciated.
4
1488
by: Greg Smalter | last post by:
Redirecting from page to page within a web project is pretty easy. However, all Redirect methods take strings as arguments, as if you mistype the string, you don't find out until run time that you are redirecting to somewhere that doesn't exist. Worse, if you do type it correctly, but then later the page name changes or the page moves, you still won't find out until run time. I have a framework that solves this problem and guarantees,...
4
2180
by: deepukutty | last post by:
HI all, I am using IE(Internet Explorer) as my default browser for asp.net application development. Today i faced a strange problem. When ever an exception occured in the page ....application is not redirecting to the default error page which will normally come. instead page is redirecting to "http://help.internet-optimizer.com/?js=1&e=ERR500&u=http%3A//localhost/buzz/WebForm1.aspx&cls=wsi25&rid=c01"
1
1454
by: sreekeerthi | last post by:
hi friends...this is keerthi...i am doing a project where i want to redirect my page when ever the back button is clicked...for this i am using window.onbeforeunload method..and for page redirection i am using window.location and my code is as follows <html> <head> <script type="text/javascript"> var confirm = true; window.onbeforeunload = unload; function unload() { if(confirm)
41
3219
by: amygdala | last post by:
Hello all, I have posted a similar question in comp.lang.php in the past, but haven't had any response to it then. I kinda swept the problem under the rug since then. But I would really like to resolve this issue once and for all now. The problem might be PHP related but since I only develop applications using PHP, I'm not a hundred percent sure. Therefor I've taken the liberty to crosspost to comp.lang.php and alt.www.webmaster. I...
4
2798
by: damiensawyer | last post by:
Hi, I'm trying to do something in global.asax that I would have thought to be quite simple. Basically, any request at all should get sent to another page. I actually got the code below from a book. For some reason, it's not working. Can someone please tell me what I'm doing wrong? Thanks in advance,
3
1404
pradeepjain
by: pradeepjain | last post by:
hii guys, i am redirecting my website to an error page when it cannot connect to mysql database .because of this the url of the page gets changed to error page url .so the user will try to refresh the page but he still will be in the error page..I need to redirect such that when an error occurs the url must not change but the redirecting must happen .so that when a user refreshes the page when an error occurs .he will be able...
0
8966
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8863
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8717
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7499
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6275
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5754
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4259
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4464
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2864
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 we have to send another system

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.