301 redirect on a server without .htaccess or scripting??

  • petgraveyard
  • Novice
  • Novice
  • User avatar
  • Joined: Jul 07, 2005
  • Posts: 24
  • Loc: Philadelphia, Pennsylvania, United States
  • Status: Offline

Post March 16th, 2008, 1:13 pm

Hi!

I have a site on a server that I've had for many years. It has a subdomain tied to that server that I can't move or anything. I want to move the whole site to my own host with a new domain...but to do that properly, I need to do a 301 redirect.

How can I do a 301 redirect on the subdomain site? I cannot make or edit any .htaccess files. I also have no server-side scripting. The only scripting I have is Javascript, which won't work.

ANY help or explanations you can give me are very much appreciated!

Thanks in advance!
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post March 16th, 2008, 1:13 pm

  • Hob Bramble
  • Proficient
  • Proficient
  • User avatar
  • Joined: Jan 21, 2004
  • Posts: 351
  • Loc: Indiana, USA
  • Status: Offline

Post March 16th, 2008, 6:03 pm

Technically, you don't have JavaScript either - your visitors do. It's client-side, after all. But anyway...

Without server-side scripting or editing .htaccess, there really is no good way to create a redirect. You can do it using Javascript or HTML, but neither of these is the best method. If you have to, the HTTP method is:
Code: [ Select ]
<meta HTTP-EQUIV="REFRESH" content="0; url=http://yoursite.com/">

That will automatically redirect your visitors - if you want the page to wait a few seconds before automatically redirecting, simply change "content" from zero to the number of seconds you want it to wait.

HOWEVER: I believe that search engines generally don't like HTTP or JavaScript redirects, and such redirect methods can ruin your standing with them, so I wouldn't recommend using that. I would just make a simple page saying that your site had moved, and include a link to the new site.
-Patrick J. B. Simmons | @hobbramble
"If I could give you one piece of advice to remember for the rest of your life, it would be this: when Patrick tells you to do something, do the opposite." - Nolan Ladewski
  • petgraveyard
  • Novice
  • Novice
  • User avatar
  • Joined: Jul 07, 2005
  • Posts: 24
  • Loc: Philadelphia, Pennsylvania, United States
  • Status: Offline

Post March 17th, 2008, 2:14 pm

I heard Google was listening to Meta Refreshes now though?

Check this out: http://sebastians-pamphlets.com/google- ... -redirect/

You think that's legit or just nonsense?

EDIT:
Also, if I do a meta-refresh, you think I should do it for every page that I had or just the index?
  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Joined: Sep 22, 2003
  • Posts: 6134
  • Loc: Seattle, WA
  • Status: Offline

Post March 17th, 2008, 4:03 pm

Hob Bramble wrote:
I would just make a simple page saying that your site had moved, and include a link to the new site.

I'm inclined to agree with Hob here. Change your index to inform visitors that your site has moved, and provide a link to the new site. Include a meta tag that will redirect to the new site after, say, 10 seconds or so, so that visitors have enough time to read what's on the page.
The Beer Monocle. Classy.
  • petgraveyard
  • Novice
  • Novice
  • User avatar
  • Joined: Jul 07, 2005
  • Posts: 24
  • Loc: Philadelphia, Pennsylvania, United States
  • Status: Offline

Post March 18th, 2008, 10:44 pm

Thank you everybody for your help! I ended up just going with the consensus and putting up a "moved" page. We'll see how it goes!

Post Information

  • Total Posts in this topic: 5 posts
  • Users browsing this forum: No registered users and 63 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.