Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » Running WordPress » Web Hosting for WordPress »

[SOLVED] WP in an "add-on" domain


  #1  
Old Apr 12, 2011, 06:21 PM
firstgentrekkie
 
5 posts · Mar 2011
New England
I think "add-on domain" is the right terminology, but if not, please correct me.

My customer has a standard Dreamweaver/Contribute website that I built for them a few years ago:

http://citycenterdanbury.com/

(They've been updating it themselves, so no comments, please! ;-) Recently they decided to upgrade their hosting plan so that they can host additional websites from subfolders. I moved a website that was hosted elsewhere to the folder firstnight, thusly:

http://www.citycenterdanbury.com/firstnight

Works, BUT. Of course I want the firstnight website to reveal only its own domain. And

http://www.firstnightdanbury.org

does that (except for the background image, which doesn't pop until you go to another page), so I know the nameservers have been set correctly. But as soon as you go to any other page, the citycenterdanbury URL is revealed, because all the internal links are still pointing to the firstnight folder. I would prefer to see http://www.firstnightdanbury.org/about-us, for example, not http://www.citycenterdanbury.com/firstnight/about-us.

I read the WP Codex article about installing WP in a subdirectory but having it act as if it's in the root directory (http://codex.wordpress.org/Giving_Wo..._Own_Directory), but that doesn't seem to be exactly my situation. Also, I can't really copy index.php from the firstnight directory to the root directory, because that will clobber the homepage for citycenterdanbury.

Is there a solution, or did I take a wrong turn at the very beginning? Was my client misinformed about what her deluxe hosting account really got her? Will I have to buy firstnightdanbury.org its own hosting account? The hosting company is GoDaddy, if that makes any difference.

Thanks so much for reading this far!
  #2  
Old Apr 13, 2011, 12:03 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Also what do you have in the URL fields in the WP General Settings?
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Apr 13, 2011, 06:33 AM
firstgentrekkie
 
5 posts · Mar 2011
New England
Larry, that was exactly the answer! I mapped the secondary domain before I did the WP install, but the nameservers hadn't been changed yet, so it was really just a placeholder. I built the website in the subfolder, and then updated the nameservers, which is the point I was at last night. The advice I got from GoDaddy was to change both the URLs in the General Settings screen--the Wordpress address *and* the site address--to the name of the addon domain. It took a while (overnight or less), during which the site was unavailable or really messed up, but it appears to me that Wordpress (v3.1.1) updated everything correctly all by itself. It's a small site, so YMMV, but I'm happy.

By the way, the GoDaddy one-click WP install does not work in a subfolder. I finally realized, after several tries, that I had to set it up manually. No big deal, but it would have been nice to know that and not to have wasted the time.

http://www.firstnightdanbury.org is a little slow right now, but that could be Comcast, and not the redirection.

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Alt Text For "Comment" "Tag" and "Category" gifs jasebishop Atahualpa 3 Wordpress theme 0 Nov 13, 2010 12:09 AM
how can I make a "test.domain.com"? moveright New Versions, & Updating 6 Mar 15, 2010 02:11 PM
How to display "Recent Posts" from 'Blog / wordpress' domain on home different domain Geoff Plugins & Atahualpa 1 Aug 27, 2009 09:07 PM


All times are GMT -6. The time now is 12:50 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.