Printer Friendly Version Print this thread
Email this thread to a friend eMail this thread to a friend
Related Forum Posts
  1. Question about Googlebot in Google Webmaster tools (In: Google)
  2. Sorry for Being the SEO noob. Question Outsourcin (In: Professionals Corner)
  3. 301 redirect for basic hml pages (In: General Search Engine Optimization)
  4. is a 301 redirect essential? (In: General Search Engine Optimization)
Featured Web Site Template

Hundreds More at Free Site Templates.com!

Web Site Partners
Sponsored Links
Jet City Software
 
Whos Here ?
There are 0 guests and 1 members in the forums right now.
Reflects user activity within the last 5 minutes
Member Message

hlt1
Joined: Jan 09, 2008
# Posts: 6

View the profile for hlt1 Send hlt1 a private message

Posted: 01/19/2008 03:16 pm
Edit Message Delete Message Reply to this message

As we all know you can have a path:

http://www.domain.com/subdirectory/

And you can have the path:

http://www.domain.com/subdirectory/index.htm

Google usually links to the one without the filename.
Sometimes it links to the one with the filename.

Does this mean a properly created 301 redirect would NEED to have both covered?

For example:

Redirect 301 /subdirectory/ http://www.domain.com/newsub/
Redirect 301 /subdirectory/index.htm http://www.domain.com/newsub/index.php



Quadrille
Joined: Nov 15, 2000
# Posts: 1064

View the profile for Quadrille Send Quadrille a private message

Posted: 01/19/2008 03:27 pm
Edit Message Delete Message Reply to this message

It's better to use domain.com/ in all internal links (use find and replace), because most EXTERNAL links will - and that's why Google indexes it. In fact never use 'index' in links at all, unless you have to!

The last thing you want is both - that means two urls sharing the ranking - you want ONE with 100%!

Plus, of course always use www.domain.com and not domain.com (or vice versa) or you'll also damage your listings. Use a 301 for that.



hlt1
Joined: Jan 09, 2008
# Posts: 6

View the profile for hlt1 Send hlt1 a private message

Posted: 01/19/2008 09:24 pm
Edit Message Delete Message Reply to this message

Im sorry, did you even address my question???

Im asking about what to do after the fact. Google currently has both in its index.

It does not however do what you say it does. Rank the same page twice. It seems to strip the index.htm out even if its there. I guess this means i dont need the index.htm in the 301 file.

[ Message was edited by: hlt1 01/19/2008 10:23 pm ]





Quadrille
Joined: Nov 15, 2000
# Posts: 1064

View the profile for Quadrille Send Quadrille a private message

Posted: 01/20/2008 01:54 am
Edit Message Delete Message Reply to this message

Sorry, this was what I was addressing:
"Does this mean a properly created 301 redirect would NEED to have both covered?"

That looked like a question. I regret I don't understand your supplementary response, so I cannot help you.



g1smd
Staff
Joined: Jul 28, 2002
# Posts: 10261

View the profile for g1smd Send g1smd a private message

Posted: 01/20/2008 10:01 am
Edit Message Delete Message Reply to this message

You should not have both "/" and "index.html" and "index.php" open to indexing. That is Duplicate Content. You should redirect "index.htm" to "/" and redirect "index.php" to "/" too. Those redirects fix an error you may have otherwise previously made by leaving both open to indexing.

However, your redirect example is wrong in several ways.

If you are redirecting "index.html" to "/", then you would never need to redirect "index.htm" to "index.php".

All of them should be redirected to "/", and NOT in a chain.

I also would not use "Redirect 301 ..." which is in the Mod_Alias functions, but instead would use a RewriteRule which is a part of the Mod_Rewrite functions. This has an effect on the order that your directives are processed.


You are not permitted to post messages in this forum or topic, because of one or more of the following reasons:
  1. You have not yet logged in, or registered properly as a member
  2. You are a member, but no longer have posting rights.
  3. This is a private forum, for which you do not have permissions.

If you are a recent member, it's possible that you simply have not yet confirmed your account. Please check your email for a message entitled 'JimWorld Forums: Confirm Your Account' and follow the instructions contained within.

If you cannot find this message, click here to Re-Send it.

If you are still experiencing problem, please read the Login Assistance Article for some advice on what may be causing your login not to work properly.

Switch to Advanced Editor and ... Create a New Topic or Reply to this Thread

New posts Forum is locked
© 1995  ·  iWeb, Inc  ·  DBA JimWorld Productions