Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 17th Feb 2012, 05:47 AM   #1
Active Warrior
War Room Member
 
Join Date: 2011
Location: Donegal, Ireland
Posts: 82
Thanks: 19
Thanked 8 Times in 8 Posts
Default
Redirect Help please...specific page redirects
Share on: 
fb share twitter share gplus share more share

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

What the world needs is more geniuses with humility, there are so few of us left!

Local SEO Ireland
seanpearse is offline  
Unread 17th Feb 2012, 08:38 AM   #2
Warrior Member
 
ImAdmirer's Avatar
 
Join Date: 2012
Location: Crypto World
Posts: 28
Thanks: 2
Thanked 2 Times in 2 Posts
Default
Re: Redirect Help please...specific page redirects
Share on: 
fb share twitter share gplus share more share

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
ImAdmirer is offline  
Unread 17th Feb 2012, 09:01 AM   #3
Advanced Warrior
War Room Member
 
Brandon Tanner's Avatar
 
Join Date: 2006
Location: USA
Posts: 1,907
Thanks: 236
Thanked 1,377 Times in 676 Posts
Default
Re: Redirect Help please...specific page redirects
Share on: 
fb share twitter share gplus share more share

If you want to preserve link juice, make sure you use a 301 redirect...

Code:
redirect 301 oldURL newURL


Brandon Tanner is offline  
The Following 2 Users Say Thank You to Brandon Tanner For This Useful Post:
Unread 17th Feb 2012, 09:40 AM   #4
Active Warrior
War Room Member
 
Join Date: 2011
Location: Donegal, Ireland
Posts: 82
Thanks: 19
Thanked 8 Times in 8 Posts
Default
Re: Redirect Help please...specific page redirects
Share on: 
fb share twitter share gplus share more share

it's that simple? so I just repeat that code for each url i want to redirect all in the main .htaccess file?

What the world needs is more geniuses with humility, there are so few of us left!

Local SEO Ireland
seanpearse is offline  
Unread 17th Feb 2012, 09:51 AM   #5
Advanced Warrior
War Room Member
 
Brandon Tanner's Avatar
 
Join Date: 2006
Location: USA
Posts: 1,907
Thanks: 236
Thanked 1,377 Times in 676 Posts
Default
Re: Redirect Help please...specific page redirects
Share on: 
fb share twitter share gplus share more share

Originally Posted by seanpearse View Post

it's that simple? so I just repeat that code for each url i want to redirect all in the main .htaccess file?
Yep!

For example...

Code:
redirect 301 http://www.oldsite.com/pageA.html http://www.newsite.com/pageA.html
redirect 301 http://www.oldsite.com/pageB.html http://www.newsite.com/pageB.html
etc etc.


Brandon Tanner is offline  
The Following User Says Thank You to Brandon Tanner For This Useful Post:
Unread 17th Feb 2012, 09:53 AM   #6
Active Warrior
War Room Member
 
Join Date: 2011
Location: Donegal, Ireland
Posts: 82
Thanks: 19
Thanked 8 Times in 8 Posts
Default
Re: Redirect Help please...specific page redirects
Share on: 
fb share twitter share gplus share more share

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.

What the world needs is more geniuses with humility, there are so few of us left!

Local SEO Ireland
seanpearse is offline  
Unread 17th Feb 2012, 10:23 AM   #7
Warrior Member
 
ImAdmirer's Avatar
 
Join Date: 2012
Location: Crypto World
Posts: 28
Thanks: 2
Thanked 2 Times in 2 Posts
Default
Re: Redirect Help please...specific page redirects
Share on: 
fb share twitter share gplus share more share

i can't believe I've been banging my head off a wall all morning and it's that simple.
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
ImAdmirer is offline  
Unread 18th Feb 2012, 11:41 AM   #8
Active Warrior
War Room Member
 
Join Date: 2011
Location: Donegal, Ireland
Posts: 82
Thanks: 19
Thanked 8 Times in 8 Posts
Default
Re: Redirect Help please...specific page redirects
Share on: 
fb share twitter share gplus share more share

Originally Posted by ImAdmirer View Post

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
yeah nice one mate never thought of that...............:rolleyes:

What the world needs is more geniuses with humility, there are so few of us left!

Local SEO Ireland
seanpearse is offline  
Unread 20th Feb 2012, 08:02 AM   #9
Boost your Site in Days
 
bbleo's Avatar
 
Join Date: 2010
Location: www.BestLinkWheel.com
Posts: 18
Thanks: 0
Thanked 1 Time in 1 Post
Default
Re: Redirect Help please...specific page redirects
Share on: 
fb share twitter share gplus share more share

here is code for .htaccess:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^example.com
RewriteRule (.*) exampleredirect.com/$1 [R=301,L]

bbleo is offline  
Unread 21st Feb 2012, 04:19 PM   #10
Active Warrior
War Room Member
 
Join Date: 2011
Location: Donegal, Ireland
Posts: 82
Thanks: 19
Thanked 8 Times in 8 Posts
Default
Re: Redirect Help please...specific page redirects
Share on: 
fb share twitter share gplus share more share

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 LOCAL ONLINE MARKETING - for Small to Medium Business Owners Local SEO Ireland
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.

What the world needs is more geniuses with humility, there are so few of us left!

Local SEO Ireland
seanpearse is offline  
Unread 21st Feb 2012, 04:25 PM   #11
Active Warrior
War Room Member
 
Join Date: 2011
Location: Donegal, Ireland
Posts: 82
Thanks: 19
Thanked 8 Times in 8 Posts
Default
Re: Redirect Help please...specific page redirects
Share on: 
fb share twitter share gplus share more share

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 http://www .localonlinemarketingsolutions.com/ http://www .localseoireland.ie
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.

What the world needs is more geniuses with humility, there are so few of us left!

Local SEO Ireland

Last edited on 21st Feb 2012 at 04:27 PM. Reason: typo errors
seanpearse is offline  
Closed Thread


Bookmarks

Tags
.htaccess, 301, page, pleasespecific, redirect, redirects


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 09:31 AM.