Computing.Net > Forums > Web Development > Best way to redirect

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Best way to redirect

Reply to Message Icon

Name: Wheeler
Date: July 26, 2007 at 13:51:11 Pacific
OS: Windows XP Home vers: 200
CPU/Ram: 480MB RAM
Product: HP
Comment:

I am in the process of changing my website from a subdomain type of webhost to a new webhost with my newly registered domain name. I have had fairly good search engine rankings on the old. I want to do a redirect of my whole old domain that will hopefully maintain my indexing and rankings.

Considering this: meta http-equiv="refresh"... is highly frowned on by search engines and is commonly used by spammers. As such, THIS SHOULD BE AVOIDED.

My website is straight forward -- articles on metaphysics/philosophy -- no devious or deceptive elements or intentions in my redirect.

It looks like a .htaccess file is the best way of avoiding problems with the search engines. BUT I do not have that option with my old subdomain webhost service.

So my question is what is the best way to do this redirect without setting off any alarms with the robots? What is the best code that will tell the search engines that it is a permanent and legitimate change? Is some JavaScript better?

Thanks in advance for any suggestions.



Sponsored Link
Ads by Google

Response Number 1
Name: smbotans
Date: July 26, 2007 at 19:25:08 Pacific
Reply:

i believe that a 301 redirect is the way to go

do a search online for details on how to do this

cheers

serge

SEO Resource

FREE Keyword Report from Meta Keywords Advice


0

Response Number 2
Name: Wheeler
Date: July 27, 2007 at 12:34:49 Pacific
Reply:

Serge,

Well, that's the problem. I already did a fair amount of research on this. And that 301 redirect is to be placed into a .htaccess file. I cannot upload such a file to the server of my old site's servers -- These files just are not allowed by some webhosts.


0

Response Number 3
Name: smbotans
Date: July 27, 2007 at 19:34:14 Pacific
Reply:

umh ... just did some research using google and found this page

http://www.webconfs.com/how-to-redi...

you can use .htaccess but if it is not the only way ... you can add the PHP code mentioned to your INDEX.PHP file ... not sure how to deal with your other files

beyond that ... not sure what to suggest

serge

SEO Resource

FREE Keyword Report from Meta Keywords Advice


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: Best way to redirect

Best Way To Format A Resume www.computing.net/answers/webdevel/best-way-to-format-a-resume/3708.html

Bilingual Website- Best Way? www.computing.net/answers/webdevel/bilingual-website-best-way/3841.html

Is there a way to prevent opera www.computing.net/answers/webdevel/is-there-a-way-to-prevent-opera-/1321.html