PC Review


Reply
Thread Tools Rate Thread

301 redirects with Frontpage and Apache Server

 
 
=?Utf-8?B?U3RldmVucw==?=
Guest
Posts: n/a
 
      6th Apr 2005
Hi,

My website is hosted on a Apache server with Frontpage extensions. I had
recently added 2 additional poining domains to my website. I would like to
redirect my main domain name to one of the pointing domain name.

Example

My main domain name : www.abcd.com
My 1st pointing domain: www.xyz.com
My second pointing domain: www.1234.com

Now I want www.abcd.com and www.xyz.com to be redirected to www.1234.com

I've also read that Frontpage uses its own .htaccess file, so how can I
safely use the 301 redirect with out loosing anything.

Thanks,

Stevens.
 
Reply With Quote
 
 
 
 
Jens Peter Karlsen[FP MVP]
Guest
Posts: n/a
 
      6th Apr 2005
Talk with your host about setting this up.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.

> -----Original Message-----
> From: Stevens [private.php?do=newpm&u=]
> Posted At: 6. april 2005 20:25
> Posted To: microsoft.public.frontpage.client
> Conversation: 301 redirects with Frontpage and Apache Server
> Subject: 301 redirects with Frontpage and Apache Server
>
>
> Hi,
>
> My website is hosted on a Apache server with Frontpage
> extensions. I had recently added 2 additional poining domains
> to my website. I would like to redirect my main domain name
> to one of the pointing domain name.
>
> Example
>
> My main domain name : www.abcd.com
> My 1st pointing domain: www.xyz.com
> My second pointing domain: www.1234.com
>
> Now I want www.abcd.com and www.xyz.com to be redirected to
> www.1234.com
>
> I've also read that Frontpage uses its own .htaccess file, so
> how can I safely use the 301 redirect with out loosing anything.
>
> Thanks,
>
> Stevens.
>


 
Reply With Quote
 
David Baxter
Guest
Posts: n/a
 
      7th Apr 2005
It can be done but not in FrontPage itself. FP will not even allow you
to see the .htaccess file.

What you need to do is go to the site with a standalone FTP program
setup in options to show hidden files. Then find the .htaccess file in
your root directory and copy it back to your hard drive. Then make a
copy of this original file somewhere just in case.

Using the version on your hard drive, open the file in Notepad or some
other text editor. ADD the lines to the bottom of the original .htaccess
file. Save it (depending on your text editor you may have to call it
temp.htaccess or .htaccess.txt or something -- if so just change the
name after it's saved or upload it and rename it from the FTP program
later), making sure you save it in ASCII format.

Upload it to the server and make sure it works.


"Stevens" <(E-Mail Removed)> wrote in message
newsFFB7AC7-6AC2-4349-8461-(E-Mail Removed)...
> Hi,
>
> My website is hosted on a Apache server with Frontpage extensions. I

had
> recently added 2 additional poining domains to my website. I would

like to
> redirect my main domain name to one of the pointing domain name.
>
> Example
>
> My main domain name : www.abcd.com
> My 1st pointing domain: www.xyz.com
> My second pointing domain: www.1234.com
>
> Now I want www.abcd.com and www.xyz.com to be redirected to

www.1234.com
>
> I've also read that Frontpage uses its own .htaccess file, so how can

I
> safely use the 301 redirect with out loosing anything.
>
> Thanks,
>
> Stevens.



 
Reply With Quote
 
=?Utf-8?B?U3RldmVucw==?=
Guest
Posts: n/a
 
      7th Apr 2005
Hi David

Thanks for your suggestions. Can you please also let me know the script that
I need to put in the .htaccess file in order to redirect.

www.abcd.com
www.xyz.com

should redirect to

www.1234.com

Thanks.
 
Reply With Quote
 
Stefan B Rusynko
Guest
Posts: n/a
 
      7th Apr 2005
See http://www.internet-search-engines-f...redirect.shtml

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
_____________________________________________


"Stevens" <(E-Mail Removed)> wrote in message news:AF85E80B-72AB-4949-A4BF-(E-Mail Removed)...
| Hi David
|
| Thanks for your suggestions. Can you please also let me know the script that
| I need to put in the .htaccess file in order to redirect.
|
| www.abcd.com
| www.xyz.com
|
| should redirect to
|
| www.1234.com
|
| Thanks.


 
Reply With Quote
 
David Baxter
Guest
Posts: n/a
 
      7th Apr 2005
At www.abcd.com, add this line:

Redirect 301 / http://www.1234.com/

Then at www.xyz.com, add the same line:

Redirect 301 / http://www.1234.com/

This assumes that you have www.abcd.com and www.xyz.com currently
hosted. If not, you need what is called domain forwarding with the
domain registrar (e.g., GoDaddy.com offers this service), so that anyone
who types in www.abcd.com or www.xyz.com gets automatically forwarded to
www.1234,com


Incidentally, here are a couple of online generators for .htaccess
files:

http://www.bitesizeinc.net/demo.htaccesser.html

http://www.southeasttelephone.com/to...htaccessor.php



"Stevens" <(E-Mail Removed)> wrote in message
news:AF85E80B-72AB-4949-A4BF-(E-Mail Removed)...
> Hi David
>
> Thanks for your suggestions. Can you please also let me know the

script that
> I need to put in the .htaccess file in order to redirect.
>
> www.abcd.com
> www.xyz.com
>
> should redirect to
>
> www.1234.com
>
> Thanks.



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Frontpage to Apache on a Unix Server a Microsoft Frontpage 4 20th Aug 2007 01:52 AM
.htaccess conflicts on FrontPage Server Ext on Apache web server =?Utf-8?B?U3RlZmFu?= Microsoft Frontpage 1 26th Apr 2005 11:26 PM
301 Redirects with Frontpage & IIS Server 5 =?Utf-8?B?U3R1ZHkgQWJyb2FkIEd1cnU=?= Microsoft Frontpage 4 2nd Mar 2005 11:55 PM
FrontPage extensions on an Apache server Wayne Moses Microsoft Frontpage 25 15th Mar 2004 04:29 AM
FrontPage form do not work with GeoTrust SSL on Apache server? John Jason Hajicek Microsoft Frontpage 2 20th Dec 2003 11:38 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:37 PM.