homepage Welcome to WebmasterWorld Guest from 54.211.73.232
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Google / Google SEO News and Discussion
Forum Library, Charter, Moderators: Robert Charlton & aakk9999 & brotherhood of lan & goodroi

Google SEO News and Discussion Forum

    
Need advice about folder/index.html linking
peego

10+ Year Member



 
Msg#: 4566422 posted 5:18 pm on Apr 19, 2013 (gmt 0)

Hi all,

I was reading backdraft7's thread about 950, and had me wondering if a few of my sites are in the same predicament as he was due to canonical issues? He had mentioned he saw improvements after removing index.html from the links.

Currently, my sites are basicaly all linked like so: (in main navigation links)

mysite.tld/folder1/index.html
mysite.tld/folder2/index.html

So my question is do I need to change all of my links to:

mysite.tld/folder1/
mysite.tld/folder2/

TIA!

 

netmeg

WebmasterWorld Senior Member netmeg us a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month



 
Msg#: 4566422 posted 5:57 pm on Apr 19, 2013 (gmt 0)

Personally, I would.

g1smd

WebmasterWorld Senior Member g1smd us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 4566422 posted 7:06 pm on Apr 19, 2013 (gmt 0)

You should link to the shorter URL and redirect requests for the longer URL to the shorter URL.

peego

10+ Year Member



 
Msg#: 4566422 posted 7:28 pm on Apr 19, 2013 (gmt 0)

ok I will change it to the shorter URL then.

I don't know much about writing htaccess code... can anyone direct me to where I can find out how to setup the code to redirect the longer URL to the shorter one?

So I would need to setup htaccess to redirect:

mysite.tld/folder2/index.html

to

mysite.tld/folder2/

netmeg

WebmasterWorld Senior Member netmeg us a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month



 
Msg#: 4566422 posted 8:09 pm on Apr 19, 2013 (gmt 0)

Hie thee to the Apache forum; they should fix you right up.

g1smd

WebmasterWorld Senior Member g1smd us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 4566422 posted 10:03 pm on Apr 19, 2013 (gmt 0)

The index redirect code has been posted in several threads this week, and every week since the dawn of the forum.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Google / Google SEO News and Discussion
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