![]() | | ||||||||
| | #1 |
| BACKLINK MOGUL War Room Member Join Date: Jun 2008 Location: Warrior Forum
Posts: 757
Thanks: 37
Thanked 47 Times in 28 Posts
|
I posted this in another forum but got no response, and hence I'm re-posting it here. Please guys, this is urgent! I have a wordpress based website which is indexed in the search engine like: http://niche-blog.MainKeyword.com/Cat1/Page1.php I recently changed the subdomain to only "niche", so the above link would look like: http://niche.MainKeyword.com/Cat1/Page1.php Now since the site is indexed in search engines using the "niche-blog" version, is there any way to redirect all that traffic to the new version. That is: http://niche-blog.MainKeyword.com/Cat1/Page1.php should redirect to http://niche.MainKeyword.com/Cat1/Page1.php Thanks in advance Bhupinder |
| WSO: GET 25 .GOV BACKLINKS<<< NASA.GOV(PR9) +CANCER.GOV(PR9) +CT.GOV(PR8) +CA.GOV(PR8) WSO: Niche WordPress Blogs For Sale "WeightLoss Blog" ||| "Fitness Blog", WSO: ClickBank Review Sites "Weight Loss" ||| "Registry Software" | |
| | |
| | #2 | |
| Advanced Warrior War Room Member Join Date: Jul 2006 Location: USA
Posts: 1,753
Thanks: 107
Thanked 524 Times in 175 Posts
| Quote:
Redirect 301 http://niche-blog.MainKeyword.com/Cat1/Page1.php http://niche.MainKeyword.com/Cat1/Page1.php If you don't already have an .htaccess file, you'll need to create on and put it in your public_html folder. | |
| | ||
| | |
| | #3 | |
| BACKLINK MOGUL War Room Member Join Date: Jun 2008 Location: Warrior Forum
Posts: 757
Thanks: 37
Thanked 47 Times in 28 Posts
| Quote:
Now you need to tell me how to do this? I mean the code to be used in .htaccess? Also, I'm using Hostgator and from within the cpanel I set the redirect of "http://niche-blog.MainKeyword.com" to "http://niche.MainKeyword.com". However, this does not works since now whenever I click on "http://niche-blog.MainKeyword.com/Cat1/Page1.php" it simply takes me to "http://niche.MainKeyword.com" rather than taking me to "http://niche.MainKeyword.com/Cat1/Page1.php" Would appreciate the code and any other related inputs. Bhupinder | |
| WSO: GET 25 .GOV BACKLINKS<<< NASA.GOV(PR9) +CANCER.GOV(PR9) +CT.GOV(PR8) +CA.GOV(PR8) WSO: Niche WordPress Blogs For Sale "WeightLoss Blog" ||| "Fitness Blog", WSO: ClickBank Review Sites "Weight Loss" ||| "Registry Software" | ||
| | |
| | #4 |
| BACKLINK MOGUL War Room Member Join Date: Jun 2008 Location: Warrior Forum
Posts: 757
Thanks: 37
Thanked 47 Times in 28 Posts
|
On this site I have more than 200 pages, so does this mean I have to create the redirect for every single page. I'm pretty sure some standard code must exist as a shortcut. Bhupinder |
| WSO: GET 25 .GOV BACKLINKS<<< NASA.GOV(PR9) +CANCER.GOV(PR9) +CT.GOV(PR8) +CA.GOV(PR8) WSO: Niche WordPress Blogs For Sale "WeightLoss Blog" ||| "Fitness Blog", WSO: ClickBank Review Sites "Weight Loss" ||| "Registry Software" | |
| | |
| | #5 |
| HyperActive Warrior War Room Member Join Date: Dec 2010 Location: Poland, Kraków
Posts: 246
Thanks: 11
Thanked 19 Times in 12 Posts
|
if your hosting has cPanel you can do this here: ![]() and: ![]() if don't read this: .htaccess file tutorial and useful htaccess examples |
| | |
| | |
| | #6 |
| BACKLINK MOGUL War Room Member Join Date: Jun 2008 Location: Warrior Forum
Posts: 757
Thanks: 37
Thanked 47 Times in 28 Posts
|
Thanks for the screenshots but what you've suggested might not apply since "old domain" and "new domain" are the same only sub domains have changed. What I want is that http://niche-blog.Domain.com/Anypage.php (Currently indexed in Google) should redirect to http://niche.Domain.com/Anypage.php, only difference being in the "sub domain". Like I mentioned earlier, manually updating .htaccess 200 times would be too much of work. I'm pretty sure a shorter way of doing things does exists. Can anybody suggest a shorter way? Bhupinder |
| WSO: GET 25 .GOV BACKLINKS<<< NASA.GOV(PR9) +CANCER.GOV(PR9) +CT.GOV(PR8) +CA.GOV(PR8) WSO: Niche WordPress Blogs For Sale "WeightLoss Blog" ||| "Fitness Blog", WSO: ClickBank Review Sites "Weight Loss" ||| "Registry Software" | |
| | |
| | #7 |
| Advanced Warrior War Room Member Join Date: Oct 2010 Location: Toronto, Canada
Posts: 756
Thanks: 86
Thanked 178 Times in 102 Posts
| |
| | |
| | |
![]() |
|
| Tags |
| 301 redirect, engines, google indexing, indexed, pages, redirecting, search, urgent, url change |
| Thread Tools | |
| |
![]() |