by sb4f
5 replies
  • SEO
  • |
Hi guys, on my wordpress site, I have used some categories that has added 2 homes to my site. I want to remove one of the homes but I will need to 301 redirect about 70 pages. Is there an easy way to do this other than physically copy all the pages, add a 301 to the old url? If I do this, would I still get the back links against the old pages? An example is below

current -

sportsbets4free.co.uk/mobile-betting-apps/windows-mobile-betting-apps/

what i want -

sportsbets4free.co.uk/mobile-betting-apps/windows-mobile-betting-apps/

e.g home-2/ taken out if that makes sense.
#301
  • Profile picture of the author Sillysoft
    Well you can do something like this:

    RewriteRule ^home-2/(.*)$ /$1 [R=301,L,NC]

    That will redirect all urls with home-2 to the url you want it to go to. I havent tested it.
    {{ DiscussionBoard.errors[7675377].message }}
  • Profile picture of the author sb4f
    Think i will just redirect the pages. Does anyone know if I have to keep the old pages (even in the trash?) for the 301 to take place still? Thanks
    {{ DiscussionBoard.errors[7675623].message }}
  • Sb4f

    Sillysoft has the right idea. That would redirect all pages in the home-2 directory to wherever you want users to go. You do not have to keep the old pages live.

    If you know of links that are out there with those old URL’s in them, to promote a good user experience you might want to consider redirecting like pages to like pages.

    This tutorial is helpful,

    Moving your site - Webmaster Tools Help

    Best,

    Shawn
    Signature
    Outsource to the experts...

    We customize your Blog, eBook, Press Release and Sale Copy content with your message.

    {{ DiscussionBoard.errors[7675800].message }}
  • Profile picture of the author sb4f
    Hi Shawn, thanks. I did try a test 301 on a page, added the redirect to a new page, then deleted the old page, then i got a 404 error?
    {{ DiscussionBoard.errors[7678215].message }}
    • Profile picture of the author sb4f
      After some tinkering, I do need to keep the old pages for the 301 to take place. The old pages will still show in a site map as well? Any help on this would be much appreciated.
      {{ DiscussionBoard.errors[7679658].message }}

Trending Topics