homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / WebmasterWorld / Webmaster General
Forum Library, Charter, Moderators: phranque

Webmaster General Forum

301 redirect nightmare
html only option, so must I live with 200 header?

5+ Year Member

Msg#: 11151 posted 6:28 pm on Mar 5, 2006 (gmt 0)

I need despartely to forward a site but do not have htaccess (and the site host can't provide it--I asked/demanded/cajoled/begged). I have also tried a php option, which does not work. So, it looks like I can only use html, which works (forwards the page) but returns a 200 header.

So, is there another option I am overlooking?

Or is there a way to get a 301 header returned using the html option?

Or do I have to live with my site where it is and just start over on a decent host?

Or am I overthinking this thing and the 200 really won't get me penalized for dup content as I suspect?



10+ Year Member

Msg#: 11151 posted 6:33 pm on Mar 5, 2006 (gmt 0)

In my opinion, maybe you should try different host.


5+ Year Member

Msg#: 11151 posted 7:22 pm on Mar 5, 2006 (gmt 0)

I am trying so hard to figure this out because the site is maximally optimised, with lots of quality incoming links. It is nearly 5 years old and worked really fine until 12/01, when it slipped in the search results. I think the problem is that it looks like a subdomain (it isn't, but it was originally a free site, which I thought would be no big deal while setting it up--alas, that fact seems to have come back to bite me), and I think some other site that also looks like it is a sub of the same outfit has been doing blackhat things that got us all punished. So, I am trying to salvage years of hard work here. So, no other options?


5+ Year Member

Msg#: 11151 posted 3:50 pm on Mar 6, 2006 (gmt 0)

You could use javascript, and put a noscript-link in there for search engines to follow, but I'm not sure you would be happy with this either.
If you have PHP, maybe you're doing something wrong? The redirect must come before any other characters have been sent to the browser (it's a header, and therefore must come before the content). Try this at the very top of your page :

<? header("Location: [etc");?>...]

Also remember to give the file a .php extension.


5+ Year Member

Msg#: 11151 posted 4:31 pm on Mar 6, 2006 (gmt 0)

I know it's not helpful but I'd have to agree with Vishal... not offering htaccess is rediculous .. dump them .. and find someone else who offers a proper service..


5+ Year Member

Msg#: 11151 posted 4:48 pm on Mar 6, 2006 (gmt 0)

I think he is changing to a different host, but wants his previous, free host to redirect to his new host.
I may be wrong though.


WebmasterWorld Senior Member 5+ Year Member

Msg#: 11151 posted 9:48 pm on Mar 6, 2006 (gmt 0)

move to a new hoster, it's just a new IP address, the domain name doesn't change. Full .htaccess support is on my list of must haves for any hosting company. Ask specifically if mod_rewrite is fully enabled before you sign up for the account. Or better, ask what is disabled, good hosters run almost everything you'll need in any practical setting, bad hosters cut off stuff that makes it too hard to run 4000 sites on a single server.

Global Options:
 top home search open messages active posts  

Home / Forums Index / WebmasterWorld / Webmaster General
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved