473,516 Members | 2,910 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.html, 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.html, and coming up with a dead
link. Is there any way to keep the specialties.html 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 1522
Steven O. wrote:
I've realized that one of the pages, which is labelled Specialties,
and is named specialties.html, should really be called Services, and
the file should be services.html.

Is there any way to keep the specialties.html 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.html, should really be called Services, and
the file should be services.html.

Is there any way to keep the specialties.html 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.html, should really be called Services, and
the file should be services.html.

Is there any way to keep the specialties.html 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.html, should really be called Services, and
the file should be services.html.

Is there any way to keep the specialties.html 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
2313
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...
0
2122
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...
1
1849
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
2454
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? ...
4
1483
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...
4
2174
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...
1
1441
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 =...
41
3184
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...
4
2792
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
1398
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...
0
7182
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7581
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...
0
7548
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...
0
5714
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...
1
5110
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...
0
4773
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...
0
3267
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...
0
1624
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
1
825
muto222
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.