1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Change URL format of website with over 6000 pages indexed

Discussion in 'White Hat SEO' started by pokerjk, Dec 12, 2011.

  1. pokerjk

    pokerjk Senior Member

    Joined:
    Dec 26, 2010
    Messages:
    1,167
    Likes Received:
    384
    Occupation:
    Online Marketer
    Location:
    England
    I am working on a Magento website for a client and they have a bad URL format. They have www.domain.com/index.php/pagename.html for every page.

    I don't know to change it so the index.php is removed as the site already has over 6000 page indexed like this?
     
  2. subster

    subster Elite Member

    Joined:
    Apr 5, 2008
    Messages:
    1,864
    Likes Received:
    1,448
    Location:
    Krauthausen
    If pagename.html remains the same, you could handle this 301 redirections.
     
  3. davids355

    davids355 Jr. VIP Jr. VIP Premium Member

    Joined:
    Apr 25, 2011
    Messages:
    8,781
    Likes Received:
    6,320
    Home Page:
    Sorry for hijacking - would it make a noticeable difference to remove index.php? I have the same format on my site:)
     
  4. flx89

    flx89 Senior Member

    Joined:
    Apr 22, 2010
    Messages:
    1,158
    Likes Received:
    407
    Location:
    United States of Europe
    i don't think if just removing index.php would affect anything on google
     
  5. pokerjk

    pokerjk Senior Member

    Joined:
    Dec 26, 2010
    Messages:
    1,167
    Likes Received:
    384
    Occupation:
    Online Marketer
    Location:
    England
    Has magento a automated way of handling this. As 301 6000 URL's manually would take a month?

    You think Google will treat the page the same? Even though in the SERPs they are indexed with the index.php in them? My main worry is Google deranging the site due to crawl errors?
     
  6. davids355

    davids355 Jr. VIP Jr. VIP Premium Member

    Joined:
    Apr 25, 2011
    Messages:
    8,781
    Likes Received:
    6,320
    Home Page:
    No what I mean is, does it matter that the URL has index.php in it, I don't think you will get penalised for that!

    If you want to change, first see If magento allows you to change URL structure - if it doesn't you'll need to modify their code.

    Then, in htaccess just set up a regular expression that automatically redirects all pages with index.php to without - google will then pick this up.

    If you do/check the first bit, I will provide the regex for you.

    But as I said not sure you need to even be doing this.

    Opinions from anyone else?
     
  7. olimix

    olimix Regular Member

    Joined:
    Jul 21, 2010
    Messages:
    232
    Likes Received:
    71
    Location:
    11h11 brothers
    you need to update all url new in htaccess

    with old url > new url

    hope you will find a way to do it automaticaly with regex because the other solution is to write 6k line in the htaccess ^^

    i'm working on the same problem for a prestashop website a 2k indexed urls
     
  8. davids355

    davids355 Jr. VIP Jr. VIP Premium Member

    Joined:
    Apr 25, 2011
    Messages:
    8,781
    Likes Received:
    6,320
    Home Page:
    Pm me the old and new URL and il try and do the regex for you. If it's a uniform move of course..?
     
  9. davids355

    davids355 Jr. VIP Jr. VIP Premium Member

    Joined:
    Apr 25, 2011
    Messages:
    8,781
    Likes Received:
    6,320
    Home Page:
    There you go. There's no need to do this.

    Google have stated in the past that they don't put too much weight on URL format - even messy urls arnt penalised - I think its more for user benefit(shorter neater URL easier to type/read etc).
     
    • Thanks Thanks x 1
  10. sekartajimangantahu

    sekartajimangantahu Registered Member

    Joined:
    May 17, 2010
    Messages:
    53
    Likes Received:
    2
    try delete index.php
     
  11. pokerjk

    pokerjk Senior Member

    Joined:
    Dec 26, 2010
    Messages:
    1,167
    Likes Received:
    384
    Occupation:
    Online Marketer
    Location:
    England
    Thanks I will leave it :)
     
  12. jim39

    jim39 Jr. VIP Jr. VIP Premium Member

    Joined:
    Sep 10, 2007
    Messages:
    104
    Likes Received:
    126
    Location:
    Chicago
    leaving as-is is best

    that is a lot of crawl errors

    getting all those pages re indexed

    wasting all the link juice those pages have, would be a shame