cancel
Showing results for 
Search instead for 
Did you mean: 

301 permanent redirect

ctn
Member

Can anyone advise whether you can set up a 301 permanent redirect on a domain name reigstered through btconnect.

 

i have searched the forums to no avail as all i can see is the URL or Frame redirection.  If anyone  does know how you can do this through your account option i would be extremley grateful.

 

Many thanks

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

pmillman
Power User

Your meta refresh would be located in the "Head" of your HTML code and should look like this:

 

<meta http-equiv="refresh" content="2;url=http://yourdomain.com">

 

This will redirect to the URL of your choice.

 

Peter

View solution in original post

13 REPLIES 13

Robbc4
Super User

It shouldn't be a problem (Not 100% though).

BT's server is apache and all you would need is .htaccess setup so that the redirect can work.
I will test this on my webspace and let you know my findings 🙂

ctn
Member
many thanks

Robbc4
Super User

Yeha this will work withouth a problem 🙂


Just make sure you have the .htaccess file located in the public folder 🙂

ab1
Member

Hi

I've been reading this thread because I'm trying to do the same, a redirect 301 from our BT website to our new website hosted by another provider.

The BT DNS team have helpfully advised me it is beyond their remit to do a redirect 301 - Great service!

I have already created a .htaccess file and placed it in our public folder on the BT server with the instruction I believe should work:

redirect 301 /ourBTdomain/ http..newwebsite-url

But this does not seem to have any effect.

I know the BT server is looking at the .htaccess file, because when I deliberately place wrong code in the file, when I attempt to access the website shows it shows a server error.

Any comments, suggestion or advice about what I am doing or not doing to make this work! Please let me know.

Thanks

ab1
Member

Hi,

I posted the last message when I was having difficulty sorting the redirect 301 code.

I have now found out how to do it, mainly through trial and error and some friendly suggestions.

Thanks to anyone who was thinking about replying to my post anyway.

Bye

 

amsgroup
Member

Hi.

 

I also want to set up a 301 re-direct and I also can't get the .htaccess file to work.

 

Could you post what it was you discovered that made it work?

 

Thanks.

pmillman
Power User

Hi,

When adding the redirect entry in your .htaccess file, please make sure it is exactly like the following, including the upper case letter:

 

Redirect 301 /index.html http://google.com/

 

I've tested this and it works like a charm.  Just replace "index.html" with your homepage name if it is different and replace "http://google.com" with the URL you want it forwarded to.

 

Peter

amsgroup
Member

Hi Peter

Thanks very much for such a quick reply!

I changed my .htaccess file as you suggested (I didn't have a capital 'R' in redirect), but it still doesn't work. I have tried various different combinations and this is the contents of my last attempt .htaccess file:

Redirect 301 / http://www.myurl.co.uk/index.htm

I have put this .htaccess file in the root folder, the 'public' folder and the other folders, but it has no effect.

I am trying to redirect from a BTconnect free website - does this make a difference?

Thanks again for your help.

Alex

dave
Guru

The free webspace does not support .htaccess files so this will never work. You would instead need to do this using an HTML meta refresh tag.