Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

The Google Forum


You are currently viewing our The Google Forum as a guest. Please register to participate.
Login



Reply
Pulling my hair out over redirect 301s and httaccess files please help
Old 07-19-2005, 07:32 PM Pulling my hair out over redirect 301s and httaccess files please help
Novice Talker

Posts: 5
Trades: 0
have registered a new domain and I would like to have Google completely ignore my old address while indexing the new address.
The new site content has been moved to a subdirectory of the root and my new domain pointde to this via my host.

Is there some code I can add to redirect users to the new site and to ensure Google completely ignores my old Index Page?

I currently have a Meta redirect instead of the .htaccess.

Cheers
AS

Last edited by Andrew_Sam; 07-31-2005 at 04:48 PM..
Andrew_Sam is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-21-2005, 06:08 PM
Novice Talker

Posts: 5
Trades: 0
Taps Microphone to check it's working??
Andrew_Sam is offline
Reply With Quote
View Public Profile
 
Old 07-23-2005, 06:12 PM
Novice Talker

Posts: 5
Trades: 0
Checks Deodorant??
Am I posting this to the wrong sub-Forum?
Can nobody help or atleast refer me to somewhere that can please?
Andrew_Sam is offline
Reply With Quote
View Public Profile
 
Old 07-23-2005, 08:07 PM
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,378
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
try the HR Technology and Coding forum if Ron Carnell and/or Randy can't figure it out, label it impossible and use a meta refresh
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 07-24-2005, 04:55 AM
Bompa's Avatar
Extreme Talker

Posts: 225
Location: The Philippine Islands
Trades: 0
Do you have this squared away yet?

If not, please try again, but without the slash preceeding index.htm

redirect 301 index.htm http://www.internettreehouse.co.uk/index.htm

(all on one line)

Bompa
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

Last edited by Bompa; 07-24-2005 at 05:12 AM..
Bompa is offline
Reply With Quote
View Public Profile Visit Bompa's homepage!
 
Old 07-25-2005, 06:57 PM
Novice Talker

Posts: 5
Trades: 0
Thanks for the replies so far folks.

If I'm posting this to the wrong sib-forum is it possible for one of the Mods. to move the thread please?

Bompa
No luck - just a blank page (the blank index) with no error message or anything and definitely no redirect. In fact when I delete the Index completely I just see a list of directories which again suggests the httaccess is not working.
I've since restored the previous Meta Redirect.

As I understand it normally a 301 redirect would redirect to a different server. In this case the redirect is on the old domain which is that of hosting company Force9. It redirects to the new domain which is a different directory on the same server. I imagine this is quite rare for a 301 redirect.
Andrew_Sam is offline
Reply With Quote
View Public Profile
 
Old 07-25-2005, 07:38 PM
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,378
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Nope, redirects can be to anywhere. different hostname, different server, same hostname, different page even to the same page if you want to strip out tracking codes.

The problem is how you are redirecting. Your .htaccess will have to use the absolute URIs of each page you are redirecting simply because the redirect is from an alias to another alias (different hostname) that is sharing the same HD space. It would not be an issue if they were on virtual hosts using different HD space.

given my limited expertise on htaccess this may be way off but,

redirect 301 www.dannybaker.force9.co.uk/ http://www.internettreehouse.co.uk/

Should send all requests to internettreehouse. If the above doesn't work you will need to get into setting up a RedirectMatch to acheive this.

You will also have to add an exclusion for the /danny/ sub-folder to robots.txt
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 07-25-2005, 09:21 PM
Bompa's Avatar
Extreme Talker

Posts: 225
Location: The Philippine Islands
Trades: 0
I recently decided to move my home page to a sub directory,
here's my htaccess redirect:

Redirect 301 /index.html http://filipina-sweethearts.com/mail...des/index.html

One thing I want to mention is that my browser was caching my
old page and it was very confusing to test cuz it looked like the
redirect was not working.

I had to repeatedly go to another domain, like yahoo or google,
or whatever, then come back to my site in order to see the redirect working.

Bompa
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

Last edited by Bompa; 07-25-2005 at 09:24 PM..
Bompa is offline
Reply With Quote
View Public Profile Visit Bompa's homepage!
 
Old 07-31-2005, 04:51 PM
Novice Talker

Posts: 5
Trades: 0
All sorted now. - Fault lay with host and incorrect path to sub directory which contained site content.
An extra \ was to blame :-O
Thanks anyway folks.
Andrew_Sam is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Pulling my hair out over redirect 301s and httaccess files please help
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.43099 seconds with 12 queries