Welcome to WebmasterWorld Guest from 54.227.126.69

Forum Moderators: phranque

Message Too Old, No Replies

Options for 301 redirects

without htaccess or PHP

     
8:05 pm on Oct 15, 2008 (gmt 0)

Junior Member

5+ Year Member

joined:Jan 30, 2008
posts:104
votes: 0


I'm part of a university team, and I have been given webmaster responsibilities. We're transitioning from a school-hosted site to a standard hosted site with all the gadgets.

The problem is that I want to redirect the old site to the new one, but the school hosting space does not support PHP (phpinfo() returns the source code) or htaccess (I tried a 301 redirect and nothing happened). What other options do I have? Is there a way to test for htaccess other than what I did? I can do Javscript, but I've heard that's not recommended for healthy SEO.

11:24 pm on Oct 15, 2008 (gmt 0)

Administrator

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Aug 10, 2004
posts:11115
votes: 110


when you say "nothing happened" are you saying you got no response whatsoever?
what did you try in your .htaccess file?
did you check the server logs for clues?
12:11 am on Oct 16, 2008 (gmt 0)

Junior Member

5+ Year Member

joined:Jan 30, 2008
posts:104
votes: 0


the address is example.com/~user/ so I put

Redirect 301 /index.htm http://www.example.com/

where example.com is my new address. I also tried a few more combinations with and without the leading slash, and neither worked. But since I used files that didn't exist, i'm going to try using a file that exists first.

UPDATE: I just tried with a file that exists and it still didn't work.

12:29 am on Oct 16, 2008 (gmt 0)

Administrator

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Aug 10, 2004
posts:11115
votes: 110


maybe you don't have mod_alias installed.
you should still be able to find some clues in the log files.
or try using apache mod_rewrite directives instead.
12:34 am on Oct 16, 2008 (gmt 0)

Senior Member from MY 

WebmasterWorld Senior Member vincevincevince is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Apr 1, 2003
posts:4847
votes: 0


Perhaps the site is on a Windows server? Check server headers. If so, you can use IIS directives or ASP code for your header redirects.
12:50 am on Oct 16, 2008 (gmt 0)

Senior Member from CA 

WebmasterWorld Senior Member encyclo is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 31, 2003
posts:9074
votes: 6


Maybe with an index.asis [webmasterworld.com]? (That will redirect the home page only).

Otherwise, can you simply switch the DNS and point the old domain name or subdomain to a server with scripting or rewrite capabilities, or are you talking about a subdirectory within a university site?

2:04 am on Oct 16, 2008 (gmt 0)

Junior Member

5+ Year Member

joined:Jan 30, 2008
posts:104
votes: 0


It's a subdomain within a university site, which is why we're moving to a regular host. They didn't offer much customization, as you can tell. I'm going to see what else I can find out from the admins.
5:00 am on Oct 16, 2008 (gmt 0)

Administrator

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Aug 10, 2004
posts:11115
votes: 110


as vincevincevince suggested you should first check your HTTP Response headers to see what the Server: header contains.
9:20 pm on Oct 16, 2008 (gmt 0)

Junior Member

5+ Year Member

joined:Jan 30, 2008
posts:104
votes: 0


Well, I resorted to Javascript because the admins for the site doesn't seem to be able to add htaccess or PHP support due to security. I think I can rebuild the SEO by updating the current links to the site, though. Thanks for everyone's help!
7:05 pm on Oct 17, 2008 (gmt 0)

Junior Member

10+ Year Member

joined:July 2, 2007
posts:189
votes: 0


wesg, I faced the same problem a year ago on my university site. I wanted to take a portion of it and place it on its own domain. My university uses some ancient server technology that doesn't support much of anything. I had to use the JavaScript redirects and it worked just fine. The new domain was getting traffic immediately, and the PR transferred in a couple of months.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members