There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
access audio avg avg 8 bios blue screen boot browser bsod computer cpu crash css dell desktop driver drivers dvd email error excel explorer firefox firefox 3 freeze gimp graphics hard drive hardware hijackthis hjt install internet internet explorer itunes keyboard laptop macro malware missing monitor network networking outlook outlook 2003 outlook 2007 outlook express password popups problem problems router seo server slow sound sp3 spyware trojan usb video virtumonde virus vista vundo windows windows vista windows xp winxp wireless
Web Design & Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
help: some one help me for redirect link, please


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

 
Thread Tools
newbiecom's Avatar
Junior Member with 22 posts.
 
Join Date: Oct 2007
Experience: Intermediate
28-Oct-2007, 08:22 AM #1
Exclamation help: some one help me for redirect link, please
redirect 301 /www/index.html http://www.way-o-breath.com/index.html

this is a code I just set inside the file of .htaccess , but the redirect site is not work. do you have any idea, please help me. Thank you very much.

Phil
spacer's Avatar
Computer Specs
Member with 30 posts.
 
Join Date: Sep 2007
Location: CA Desert
Experience: Begintermediate
28-Oct-2007, 02:56 PM #2
You can redirect by inserting this <meta> tag between the <head> tags in the page you're redirecting from:
<head>
<META HTTP-EQUIV="Refresh" content="10; URL=http://www.xxxxxxxxx.com/xxx.htm">
</head>
Enter the correct site and page information in the url for the page you're redirecting to.
The value of 10 is the number of seconds until the redirect, in case you are displaying a message on the page.
You can change this value to what you require.
newbiecom's Avatar
Junior Member with 22 posts.
 
Join Date: Oct 2007
Experience: Intermediate
28-Oct-2007, 09:50 PM #3
hi spacer

I try the way you tell me, but it is still not working (<HEAD><META HTTP-EQUIV="Refresh" content="10; URL=http://www.way-o-breath.com/index.html"></HEAD>) . Any sugestion, please help me. Thank you very much.
KimbH's Avatar
Member with 32 posts.
 
Join Date: Oct 2007
29-Oct-2007, 05:31 AM #4
Quote:
Originally Posted by spacer
You can redirect by inserting this <meta> tag between the <head> tags in the page you're redirecting from:
<head>
<META HTTP-EQUIV="Refresh" content="10; URL=http://www.xxxxxxxxx.com/xxx.htm">
</head>
Enter the correct site and page information in the url for the page you're redirecting to.
The value of 10 is the number of seconds until the redirect, in case you are displaying a message on the page.
You can change this value to what you require.
Research redirect web page online today, I read search engine redirect by meta tag is considered as spamming by how the search engine reads the page. Just something to think about.
haswalt's Avatar
Computer Specs
Senior Member with 398 posts.
 
Join Date: Nov 2004
Location: South Coast, UK
Experience: Advanced
29-Oct-2007, 08:24 AM #5
in your htaccess try this:

Redirect 301 /index.html http://www.way-o-breath.com/index.html

Think that should. if not try swapping /index.html with this:

^index\.htm(.+)$

This wil match any index.htm/.html file and redirect to the new domain.

Alternativley use rewriting:

RewriteEngine On
RewriteRule ^index\.htm(.*)$ http://www.way-o-breath.com/index.html [R=301,L]

don't trust me 100% on this as they are not tested. But may be right. Also be very careful when testing this as it can mess your links up if you set a 301 as the browser will cahce this. To avoid painful headaches with things not working once you make a mistake, remember to keep clearing the browser cache and try testing without the 301 redirect.
__________________
LQD Internet Limited
We've just got better! With the launch of our new site we have SLASHED our prices and upped the offering. Check it out!

10% Discount for ALL Tech Support Guy Members
Simply use the promo code of "T3CHGUY" when ordering to recieve your 10% discount on all shared and reseller hosting packages.
KimbH's Avatar
Member with 32 posts.
 
Join Date: Oct 2007
29-Oct-2007, 09:23 AM #6
Problem is I was trying to move a sub-domain page and figure out I must but the Redirect 301 codes in the sub-domain htaccess.

Thanks
newbiecom's Avatar
Junior Member with 22 posts.
 
Join Date: Oct 2007
Experience: Intermediate
29-Oct-2007, 09:04 PM #7
thank you so much your help. I will try to see how it is.
thanks.
tomdkat's Avatar
Computer Specs
Distinguished Member with 3,418 posts.
 
Join Date: May 2006
Location: S.F. Bay Area, CA
Experience: Intermediate
30-Oct-2007, 04:28 PM #8
Quote:
Originally Posted by newbiecom
hi spacer

I try the way you tell me, but it is still not working (<HEAD><META HTTP-EQUIV="Refresh" content="10; URL=http://www.way-o-breath.com/index.html"></HEAD>) . Any sugestion, please help me. Thank you very much.
Can you post a link to the page with this HTTP-EQUIV code in it? I use this method as well and it works fine.

EDIT: Here is sample HTML code which illustrates a working page redirect using the HTTP-EQUIV method described above:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>

  <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">

  <meta http-equiv="refresh" content="10;http://www.techguy.org/">
  <title>Redirect me</title>


</head>
<body>

This page will redirect in 10 seconds.<br>

</body>
</html>
Peace...
newbiecom's Avatar
Junior Member with 22 posts.
 
Join Date: Oct 2007
Experience: Intermediate
30-Oct-2007, 05:23 PM #9
thank you for your help spacer, your swapping is working, and also this work now:
"redirect 301 index.html http://www.way-o-breath.com/index.html". But one more thing it is take a bit longer (20 seconds) to redirect. Any way to redirect faster? if yes, please help me? thank you very much
newbiecom's Avatar
Junior Member with 22 posts.
 
Join Date: Oct 2007
Experience: Intermediate
30-Oct-2007, 05:25 PM #10
hi tomdkat
thank you for your help too. I will try your way coding you show me. Thank you very much.

Phil
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are Off
Refbacks are Off

You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 01:15 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.