Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

redirect website


  • Please log in to reply
19 replies to this topic

#1 Jen42

Jen42

  • Members
  • 316 posts
  • OFFLINE
  •  
  • Gender:Female
  • Location:Australia
  • Local time:04:15 PM

Posted 09 February 2010 - 05:11 PM

I had a freewebs site, but I've now moved it all over to a Weebly site. I've heard of 301 redirects, but is it possible to do this on Freewebs? Is there another way?

thanks for any help

BC AdBot (Login to Remove)

 


#2 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:12:15 AM

Posted 09 February 2010 - 05:27 PM

Did you own your domain name on freewebs? I am assuming that you used one of their domains, something like 'mydomain.freewebs.com?'

#3 Jen42

Jen42
  • Topic Starter

  • Members
  • 316 posts
  • OFFLINE
  •  
  • Gender:Female
  • Location:Australia
  • Local time:04:15 PM

Posted 09 February 2010 - 05:37 PM

That's right I used their domain, I didn't buy one.

#4 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:12:15 AM

Posted 09 February 2010 - 05:58 PM

I'm sorry, but you can't forward it. They own the domain, so if someone else wants whatever sub-domain you were using on freewebs, it will point to their website. You should purchase your own domain that you can take with you; Weebly will help you configure the domain. For example, you could by the domain jen42.info from Godaddy for less than a dollar, or you can buy a .net address for around $7 per year. That way whenever you change hosts, you keep the domain with you, and there is no inconvenience to people looking for your web pages.

#5 Jen42

Jen42
  • Topic Starter

  • Members
  • 316 posts
  • OFFLINE
  •  
  • Gender:Female
  • Location:Australia
  • Local time:04:15 PM

Posted 09 February 2010 - 06:04 PM

But I've still got it. I've just left a link saying to go to the new site. So If I still have it, is Google not going to be happy with me? How does it work with google?

thanks again

#6 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:12:15 AM

Posted 09 February 2010 - 06:22 PM

Oh, you still have a page placeholder? Put this snippet of javascript in your HTML:
<head>
<script type="text/javascript">
<!--
function foreward(){
	window.location = "http://<your new address>";
}
//-->
</script>
<head>

<body onLoad="setTimeout('foreward()', 5000)">

What this does is forwards to the url you provide after 5 seconds (5000 ms). Or it should. I just wrote this off the top of my head. Anyway, the code enclosed by the <script> tags goes between the head tags in your html. The other part of the code is inserted in the body tag of your html.

I have a feeling once they ralize that you are no longer actively using the domain, they will shut it down though.

#7 Jen42

Jen42
  • Topic Starter

  • Members
  • 316 posts
  • OFFLINE
  •  
  • Gender:Female
  • Location:Australia
  • Local time:04:15 PM

Posted 09 February 2010 - 06:52 PM

It worked! Thank you so much. Is that a redirect 301, or something else? Just curious.

By the time they realise I'm not using it anymore Google would hopefully have caught up, and my customers will have changed their bookmarks.

thanks again, you're so clever

#8 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:12:15 AM

Posted 09 February 2010 - 06:56 PM

Nope. It is just simple javascript. 301 redirects are done at the server level, and not something you would have access to.

Well, I made one person happy. My day is complete. :thumbsup:

#9 Andrew

Andrew

    Bleepin' Night Watchman


  • Moderator
  • 8,260 posts
  • OFFLINE
  •  
  • Gender:Not Telling
  • Location:Right behind you
  • Local time:11:15 PM

Posted 09 February 2010 - 06:58 PM

That's not a 301 redirect. Such redirection capabilities are rarely offered by free web hosts.

You might be able to simulate a 301 redirect if your host allows you to use PHP.

To try it, change the place holder page's extension to .php (for example myplaceholder.html becomes myplaceholder.php) and add this to the very top:

<?php
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: http://www.new-url.com" );
exit();
?>

Where http://www.new-url.com is the new address.

Edited by Amazing Andrew, 09 February 2010 - 07:04 PM.


#10 Jen42

Jen42
  • Topic Starter

  • Members
  • 316 posts
  • OFFLINE
  •  
  • Gender:Female
  • Location:Australia
  • Local time:04:15 PM

Posted 09 February 2010 - 07:20 PM

How would I change it to php?

thanks

#11 Andrew

Andrew

    Bleepin' Night Watchman


  • Moderator
  • 8,260 posts
  • OFFLINE
  •  
  • Gender:Not Telling
  • Location:Right behind you
  • Local time:11:15 PM

Posted 09 February 2010 - 07:22 PM

If your host allows PHP, you would just change the file extension to PHP and add the code I gave you to the very top of the page.

#12 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:12:15 AM

Posted 09 February 2010 - 07:24 PM

In which case you wouldn't use the code that I gave you.

EDIT: Freewebs does not support php.

#13 Andrew

Andrew

    Bleepin' Night Watchman


  • Moderator
  • 8,260 posts
  • OFFLINE
  •  
  • Gender:Not Telling
  • Location:Right behind you
  • Local time:11:15 PM

Posted 09 February 2010 - 07:35 PM

Hrmmm... I set up a test account with freewebs, and it doesn't look like there's any way to do what I suggested. Sorry.

#14 Jen42

Jen42
  • Topic Starter

  • Members
  • 316 posts
  • OFFLINE
  •  
  • Gender:Female
  • Location:Australia
  • Local time:04:15 PM

Posted 09 February 2010 - 07:44 PM

Oh, OK. thankyou both very very much for your help. This one should do.

How does Google respond to this? Will it notice it? Will I lose ranking?

thanks

#15 Andrew

Andrew

    Bleepin' Night Watchman


  • Moderator
  • 8,260 posts
  • OFFLINE
  •  
  • Gender:Not Telling
  • Location:Right behind you
  • Local time:11:15 PM

Posted 09 February 2010 - 07:50 PM

The received knowledge is that Google doesn't like it. I don't know precisely what that means, but everyone always says that non-301 redirects make Google unhappy.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users