Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google      Sign In   
  • Create Account

Subscribe to HRA Now!

 



Are you a Google Analytics enthusiast?

Share and download Custom Google Analytics Reports, dashboards and advanced segments--for FREE! 

 



 

 www.CustomReportSharing.com 

From the folks who brought you High Rankings!



Photo
- - - - -

Should A 301 Be Path Specific Or Is Folder/ Ok?


  • Please log in to reply
6 replies to this topic

#1 lister

lister

    HR 5

  • Active Members
  • PipPipPipPipPip
  • 416 posts

Posted 27 April 2012 - 03:03 PM

What I mean is -

Are both of these going to point to the same page and get indexed as the same page?

Redirect 301 /oldpage.html   http://www.mysite.com/folder/index.html 
Redirect 301 /oldpage.html   http://www.mysite.com/folder/

I.e. I am 301-ing the index page in /folder/

THANKS

Edited by Jill, 27 April 2012 - 05:58 PM.
added code tags


#2 Jill

Jill

    Recovering SEO

  • Admin
  • 32,987 posts

Posted 27 April 2012 - 05:59 PM

They may be pointing to the same page, but they are obviously pointing to two different URLs. Choose one or the other.

#3 chrishirst

chrishirst

    A not so moderate moderator.

  • Moderator
  • 7,038 posts
  • Location:Blackpool UK

Posted 28 April 2012 - 04:21 AM

I.e. I am 301-ing the index page in /folder/

All you will do there cause a "redirect loop" because the "index page" IS
what is served out for a request to a URI ending in '/'

#4 lister

lister

    HR 5

  • Active Members
  • PipPipPipPipPip
  • 416 posts

Posted 28 April 2012 - 03:42 PM

OK - but just to be 100% - are you sure that this will create a re-direct loop?

( I am placing the below index.html into "new folder" )

redirect 301 /old-folder/index.html http://www.my-site.com/new-folder/

The reason I prefer NOT to give the full path is because I prefer to have my urls just show the folder - to create this http://my-site/new-folder/ rather than this: http://my-site/new-folder/page.html (i.e. I prefer NOT to show the page.html)

thanks

#5 lister

lister

    HR 5

  • Active Members
  • PipPipPipPipPip
  • 416 posts

Posted 28 April 2012 - 03:47 PM

What I mean is - do search engines treat the index file in a folder as a file that can be indexed?

So - http://my-site.com/folder/ is the same as http://my-site.com/folder/index.html ?

What if you have internal linking that links to both the folder level AND the index.html - would that be considered as being two seperate files?

I guess consistency is vital right?

Edited by lister, 28 April 2012 - 03:48 PM.


#6 Jill

Jill

    Recovering SEO

  • Admin
  • 32,987 posts

Posted 29 April 2012 - 09:30 AM

What if you have internal linking that links to both the folder level AND the index.html - would that be considered as being two seperate files?


Yes. Don't do that.

#7 chrishirst

chrishirst

    A not so moderate moderator.

  • Moderator
  • 7,038 posts
  • Location:Blackpool UK

Posted 29 April 2012 - 10:18 AM

What I mean is - do search engines treat the index file in a folder as a file that can be indexed?

User agents have no idea what your "index" page is actually named, they just request a URI and the server sends a stream of data as a response

What if you have internal linking that links to both the folder level AND the index.html - would that be considered as being two seperate files?


The only thing to understand is that search engines index URLs, and if two or more URLs return the same document it IS a duplicate.


OK - but just to be 100% - are you sure that this will create a re-direct loop?

( I am placing the below index.html into "new folder" )

redirect 301 /old-folder/index.html http://www.my-site.com/new-folder/

That won't cause a loop, redirecting /folder/index_page_name.ext to /folder/ will.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

SPAM FREE FORUM!
 
If you are just registering to spam,
don't bother. You will be wasting your
time as your spam will never see the
light of day!