NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Web Design Discussion
Reload this Page WP issue - 2 blogs on 1 site

Web Design Discussion Discussion of web design techniques, advice, browser issues, software, design firms.

Advanced Search
11 members in live chat ~  
NamePros Design Contests NamePros Design Contests
Forum Sponsorship
Join in on the FUN! You can start an affordable design contest and pick from entries talented members submit or you can enter a design contest for a chance to win CASH PRIZES! What are you waiting for? Get started in the fun TODAY! - Banners, Logos, Mascots, and MORE! (Please READ the design Contest section rules Prior to starting or entering a contest)



Reply
 
LinkBack Thread Tools
Old 02-03-2012, 05:41 AM THREAD STARTER               #1 (permalink)
NamePros Member
Join Date: Dec 2004
Posts: 126
Dario D. is an unknown quantity at this point
 



WP issue - 2 blogs on 1 site


Hi, all.

I moved one of my Wordpress blogs onto my main site, so, now there are 2 blogs there, side by side.

Trouble is, when I click on an article in Blog A, it suddenly switches to the theme of Blog B, and says "page not found".

See: http://www.alphaila.com/blog/

Any ideas?
To do the move, aside from moving the blog files themselves, I updated the following mySQL settings:
wp_options >> siteurl (I put the new URL here)
wp_options >> home (same)
__________________
My site: Alphaila.com
Dario D. is offline   Reply With Quote
Old 02-04-2012, 09:39 AM THREAD STARTER               #2 (permalink)
NamePros Member
Join Date: Dec 2004
Posts: 126
Dario D. is an unknown quantity at this point
 



Fixed.
__________________
My site: Alphaila.com
Last edited by Dario D.; 02-04-2012 at 10:11 AM.
Dario D. is offline   Reply With Quote
Old 02-20-2012, 10:36 AM   #3 (permalink)
New Member
Join Date: Feb 2012
Posts: 6
rammurti is an unknown quantity at this point
 



can you please tell me how you fixed this problem?I am thinking to do the same thing.
rammurti is offline   Reply With Quote
Old 02-20-2012, 07:18 PM THREAD STARTER               #4 (permalink)
NamePros Member
Join Date: Dec 2004
Posts: 126
Dario D. is an unknown quantity at this point
 



In phpMyAdmin, I had to bring up the blog's database, then go to the Search tab, and manually run through and replace all references to the old domain. In this case, any instances of both "deefrag.com/articles" and just "deefrag.com" had to be changed to "alphaila.com/blog" and "alphaila.com".
(On the Search page, in the "Inside Tables" box, make sure you highlight everything before you do the search. I'm sure most people don't realize that.)

If your blog is huge, or you're a coder, this page mentions a command you can do, in the SQL tab, but I don't know how to use it. Wait, I just found a someone's sample line, and it seems simple enough:
Quote:
UPDATE wp_posts SET post_content = replace(post_content,"coolstuff.com","lancelhoff.c om")
Bear in mind that "wp_posts" isn't the only table you need to update. According to the Search, looks like I had to update "wp_posts", "wp_users", "wp_options", and "wp_commentmeta". In that sample line above, there's also "post_content", but I don't know what else to put there.
????: NamePros.com http://www.namepros.com/web-design-discussion/745499-wp-issue-2-blogs-1-site.html

Always backup your database before messing with stuff.
__________________
My site: Alphaila.com
Last edited by Dario D.; 02-20-2012 at 07:31 PM.
Dario D. is offline   Reply With Quote
Post Thanks / Like
Likes Janine liked this post
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Complete Full SEO Packages For Amazing Results John Baron Advertising & SEO Services 42 09-05-2011 03:43 AM

 
All times are GMT -7. The time now is 08:27 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger