navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

redirect

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> General Web Development >> redirect
Page: [1]
 
d a v e

 

Posts: 4071
Joined: 7/24/2002
From: England (but live in Finland now)
Status: offline

 
redirect - 4/7/2008 6:45:46   
i was searching on here and googling for an accessible and easy way of redirecting one site to another without being penalised by google and hopefully just in html or then if something else with some simple instructions / url of a good resource to do it.

_____________________________

David Prescott
Gekko web design
Donkey

 

Posts: 3866
Joined: 11/13/2001
From: Blackfield United Kingdom
Status: offline

 
RE: redirect - 4/7/2008 10:34:52   
If the domain you are redirecting away from is on a linux server you can use .htaccess

Just create a plain text file in notepad and add the following all on one line:

Redirect permanent /index.html  http://www.newdomain.com/index.html


Substituting the correct addresses of course.

Then save the file as .htaccess and FTP it using ASCII not binary to the root folder of the domain you wish to redirect from.

That will divert the index page to the new index page, but you can add as many lines as you like if you want to divert individual pages.

Note that the first path that you are directing away from is always relative to the root folder, the one that you are directing to is always absolute.

As this is a permanent redirect you won't get penalised for using it.



_____________________________

:)

I have a higher and grander standard of principle than George Washington. He could not lie; I can, but I won't.
Samuel Clemens

(in reply to d a v e)
treetopsranch

 

Posts: 1005
From: Cottage Grove, OR, USA
Status: offline

 
RE: redirect - 4/7/2008 11:25:03   
Can I use that on a FP web that is using extensions?

_____________________________

Don from TreeTops Ranch, Oregon

"I've got a taste for quality and luxury"


(in reply to Donkey)
Tailslide

 

Posts: 6003
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: redirect - 4/7/2008 11:36:48   

quote:

ORIGINAL: treetopsranch

Can I use that on a FP web that is using extensions?


Doing anything to the .htaccess file will corrupt your extensions far as I know.

_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to treetopsranch)
coreybryant

 

Posts: 2422
Joined: 3/17/2002
From: Castle Rock CO USA
Status: offline

 
RE: redirect - 4/7/2008 12:12:34   
Is the page already an ASP / .NET / PHP page? If so, you can user some code to state it is a 301 redirect

_____________________________

Corey R. Bryant
Merchant Accounts | Toll Free Numbers | My Blog | Expression Web Blog

(in reply to Tailslide)
treetopsranch

 

Posts: 1005
From: Cottage Grove, OR, USA
Status: offline

 
RE: redirect - 4/7/2008 13:15:40   
Corey, I have been able to make some changes to an .htaccess file on a web that had FP extensions. But, you must really be careful to not change the order of the FP stuff located there.

_____________________________

Don from TreeTops Ranch, Oregon

"I've got a taste for quality and luxury"


(in reply to coreybryant)
d a v e

 

Posts: 4071
Joined: 7/24/2002
From: England (but live in Finland now)
Status: offline

 
RE: redirect - 4/7/2008 15:08:47   
i guess it's a windows server but i'm not sure.

i tried several times in various but i can't get the thing to work! :(

i also found this page after posting here
http://www.stevenhargrove.com/redirect-web-pages/

one strange thing is that my index page seems to have to be .htm (not html)

if anyone wants to have a go i can pm the ftp details?!

_____________________________

David Prescott
Gekko web design

(in reply to treetopsranch)
coreybryant

 

Posts: 2422
Joined: 3/17/2002
From: Castle Rock CO USA
Status: offline

 
RE: redirect - 4/7/2008 15:19:14   
No, sorry I was not suggesting to use htaccess. I was just wondering if the pages were ASP, .NET, or PHP.

I know there is server side code that can be put into a page to respond with a 301. ASP Tips - 301 Moved Permanently - Redirecting URLs with ASP shows an example with ASP, but it seems that might not help since the page(s) need to be htm

_____________________________

Corey R. Bryant
Merchant Accounts | Toll Free Numbers | My Blog | Expression Web Blog

(in reply to d a v e)
d a v e

 

Posts: 4071
Joined: 7/24/2002
From: England (but live in Finland now)
Status: offline

 
RE: redirect - 4/7/2008 15:21:16   
no, they're not ASP, .NET, or PHP. ;)

_____________________________

David Prescott
Gekko web design

(in reply to coreybryant)
Page:   [1]

All Forums >> Web Development >> General Web Development >> redirect
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts