![]() | | ||||||||
| | #1 |
| Active Warrior Join Date: Jan 2007 Location: , , .
Posts: 93
Thanks: 0
Thanked 1 Time in 1 Post
|
Hi, There comes a time when something so elementary hits me... and I forgot how to do it. How do you make for an extension of a domain, for example... www.blahblah.com/extension redirect to..... www.somethingelse.com Help, its kinda easy I believe... but I forgot how to do it! Thanks! |
| | |
| | #2 |
| I Need A Vacation! War Room Member Join Date: Apr 2006 Location: Michigan, USA.
Posts: 571
Thanks: 4
Thanked 2 Times in 2 Posts
|
Put something like this in the pages meta tag. <META http-equiv="refresh" content="5;URL=http://www.yourredirectlink.com"> Change the content="5; part if you want to delay longer or take it out if you do not want a delay. If you are simply going to be redirecting via a sub directory simply make an index.html file with that in the meta tags. |
| | |
| | |
| | #3 |
| Active Warrior Join Date: Oct 2008
Posts: 38
Thanks: 0
Thanked 1 Time in 1 Post
|
Google is not keen on those META re-directs. Better to use a permanent redirect command in your .htaccess file.
|
| | |
| | |
| | #4 |
| Active Warrior Join Date: Jan 2007 Location: , , .
Posts: 93
Thanks: 0
Thanked 1 Time in 1 Post
|
Hi francophile, How is that done? Would appreciate it if you can guide me thru. Thanks! |
| | |
| | #5 |
| Active Warrior Join Date: Oct 2008
Posts: 38
Thanks: 0
Thanked 1 Time in 1 Post
| |
| | |
| | |
| | #6 |
| HyperActive Warrior War Room Member Join Date: Jul 2006 Location: NC
Posts: 107
Thanks: 5
Thanked 3 Times in 3 Posts
|
<?php header( 'Location: http://www.your-location-here' ) ; ?> save that as index.php in the 'extension' directory. |
| | |
| | |
| | #7 |
| Carol War Room Member Join Date: Aug 2008 Location: UK
Posts: 2,735
Blog Entries: 13 Thanks: 341
Thanked 736 Times in 516 Posts
|
If you use cpanel you can do that under subdomains
|
| Offliners - Client Guide to Editing a Wordpress Site Atahualpa Theme Tutorial. Available to promote via Clickbank Beginners Guide to SEO - Good, solid, grounding in SEO techniques | |
| | |
| | #8 |
| Yours Truly War Room Member Join Date: Oct 2008
Posts: 123
Thanks: 6
Thanked 3 Times in 3 Posts
|
Thanks Francophile for the .htaccess thing. I never knew it could be done through it.
|
| | |
![]() |
|
| Tags |
| ashamed, redirect |
| Thread Tools | |
| |
![]() |