Redirect Help please...specific page redirects

by 10 replies
12
Hi,

I am currently working on a new site.... "localseoireland.ie" and I want to redirect all traffic (and link juice) from the old site "localonlinemarketingsolutions.com". I'm able to do a complete site redirect using the .htaccess file but I need to do specific redirects for some of the inner pages that I have built backlinks to.

Both sites are wordpress, the url structure and content is completely different.

Can anyone help...I'm showing my ignorance here but I've wasted too much time on this already and I just have to bite the bullet and ask for help.

Cheers
#programming #.htaccess #301 #page #pleasespecific #redirect #redirects
  • You can use the redirect command for this.

    Here is the syntax which you can try putting in .htaccess file. You must use the full URL:
    Code:
    redirect oldURL newURL
    • [1] reply
    • If you want to preserve link juice, make sure you use a 301 redirect...

      Code:
      redirect 301 oldURL newURL
      • [ 2 ] Thanks
      • [1] reply
  • i can't believe I've been banging my head off a wall all morning and it's that simple. always guilty of over-thinking things when there's no need!

    thanks mate much appreciated.
  • Just wanted to share this simple tip (of course everyone knows this) so that next time you do not waste that much time

    When in trouble, Google is our friend! A simple search like this is enough:
    Code:
    .htaccess redirect url
    
    or
    
    redirect urls using .htaccess
    • [1] reply
    • yeah nice one mate never thought of that...............:rolleyes:
  • here is code for .htaccess:

  • ok so i've finally had a bit of progress with this bloody redirect malarkey.... i've been able to redirect some specific inner pages on my old site but the redirect for the main home page is still not working. here's the code from my .htaccess file....


    redirect 301 /services/search-engine-optimisation SEO Ireland « Local SEO Ireland
    redirect 301 /services/local-search-marketing-2 Google Places « Local SEO Ireland
    redirect 301 /services/website Website Design « Local SEO Ireland
    redirect 301 /blog/what-is-seo-in-plain-english Local SEO Ireland
    redirect 301 /blog/what-is-seo-in-plain-english Local SEO Ireland

    All the redirects are working apart from the highlighted one. can someone please tell me what i'm doing wrong. i know its probably something really stupid but any help is much appreciated.

    cheers.
  • ok so i've finally had a bit of progress with this bloody redirect malarkey.... i've been able to redirect some specific inner pages on my old site but the redirect for the main home page is still not working. here's the code from my .htaccess file....


    redirect 301 /services/search-engine-optimisation http://www .localseoireland.ie/services/seo-ireland
    redirect 301 /services/local-search-marketing-2 http://www .localseoireland.ie/services/google-places
    redirect 301 /services/website http://www .localseoireland.ie/services/web-design-donegal
    redirect 301 /blog/what-is-seo-in-plain-english http://www .localseoireland.ie/
    redirect 301 /blog/what-is-seo-in-plain-english http://www .localseoireland.ie/

    All the redirects are working apart from the highlighted one. can someone please tell me what i'm doing wrong. i know its probably something really stupid but any help is much appreciated.

    cheers.

Next Topics on Trending Feed

  • 12

    Hi, I am currently working on a new site.... "localseoireland.ie" and I want to redirect all traffic (and link juice) from the old site "localonlinemarketingsolutions.com". I'm able to do a complete site redirect using the .htaccess file but I need to do specific redirects for some of the inner pages that I have built backlinks to.