+ Reply to Thread
Results 1 to 9 of 9

Thread: wordpress and add-on domain

  1. #1
    slight is offline x10Hosting Member slight is an unknown quantity at this point
    Join Date
    Feb 2009
    Location
    Canada
    Posts
    38

    wordpress and add-on domain

    I created a new wordpress site on an add on domain. Something like george.x10hosting.com/wordpress
    Then I registered a new domain, like www.ilovecake.com (not the real site).
    When users go to www.ilovecake.com they get my wordpress home page as expected. Yay.
    However, as they navigate around the site the URL reverts to george.x10hosting.com/wordpress

    How can/should this be fixed?

    Thanks for your help.

  2. #2
    lemon-tree's Avatar
    lemon-tree is offline x10 Minion lemon-tree has a spectacular aura about
    Join Date
    Nov 2007
    Posts
    1,420

    Re: wordpress and add-on domain

    Have you set the domain in the Wordpress settings. It is possible that Wordpress still thinks you are on the old domain and is creating links for the old domain.

  3. #3
    slight is offline x10Hosting Member slight is an unknown quantity at this point
    Join Date
    Feb 2009
    Location
    Canada
    Posts
    38

    Re: wordpress and add-on domain

    I tried that, and all hell broke loose. First, I got locked out of my wordpress admin panel. Second, while the home page continued to load fine, the links to all the child pages broke. Sigh. I had to go back to the MySQL database a manually revert the URLs. That put me back where I was.

    How is this supposed to be done? Surely having a wordpress page on an add-on domain must be a pretty common thing. Any and all help much appreciated!

  4. #4
    lemon-tree's Avatar
    lemon-tree is offline x10 Minion lemon-tree has a spectacular aura about
    Join Date
    Nov 2007
    Posts
    1,420

    Re: wordpress and add-on domain

    Have you tried all this?

  5. #5
    essellar's Avatar
    essellar is offline Community Advocate essellar has a spectacular aura about
    Join Date
    Feb 2010
    Location
    Toronto, Ontario, CA
    Posts
    1,153

    Re: wordpress and add-on domain

    "It's not a bug, it's a feature." No, it's a bug, even if it's designed in. Consider, if you will, the case of a Wordpress install on a machine that is accessible via both internal (network-specific) and world-facing (internet) URLs. Most orgs with anything like a security bent deliberately prohibit internal access via the external address. There are companies, as well, who have several brands under an umbrella. WP should not be coercing domain changes in the browser under any circumstances -- failing to make URLs relative to the active user access path is just plain poor programming.
    “Beware of bugs in the above code; I have only proved it correct, not tried it.” --Donald Knuth
    "It was as if its architects were given a perfectly good hammer and gleefully replied, 'neat! With this hammer, we can build a tool that can pound in nails.'" -- Alex Papadimoulis (on TheDailyWTF.com)

  6. #6
    slight is offline x10Hosting Member slight is an unknown quantity at this point
    Join Date
    Feb 2009
    Location
    Canada
    Posts
    38

    Re: wordpress and add-on domain

    Almost there... but not quite.

    I tried leaving the site URL as it was, and updating the Blog URL to the new domain path.
    That worked EXCEPT for two problems:

    1. Now I have persistent messages from Wordpress on my settings panel as follows:
    Warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/:/tmp) in /home/slight/public_html/wordpress/wp-admin/options-permalink.php on line 113

    Warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/:/tmp) in /home/slight/public_html/wordpress/wp-admin/includes/misc.php on line 130


    2. I am only able to to use the default permalink format. If I attempt to switch to any of the other formats the pages stop loading. Various ramblings on the internet led me to expect this would be resolved by carefully backing up my .htaccess file, but I found the before and after versions of that file to be identical.

    Those are the only issues I have noticed, but perhaps there are more lurking.

    I would like to get rid of the warning and be able to use a non-default format for permalinks.

    Any ideas? Thanks for your help.

  7. #7
    Zubair's Avatar
    Zubair is offline x10 Super Spammer Zubair has a reputation beyond reputeZubair has a reputation beyond reputeZubair has a reputation beyond repute
    Join Date
    Jul 2009
    Location
    Pakistan
    Posts
    8,747

    Re: wordpress and add-on domain

    ***Moved to Scripts & 3rd party apps***
    Zubair Barkat | Level 2 Tech
    █ 888-X10-9668 - zubair[@]x10hosting.com
    x10Hosting - Giving Away Hosting Since 2004

  8. #8
    imoded is offline x10Hosting Member imoded is an unknown quantity at this point
    Join Date
    Mar 2010
    Posts
    7

    Re: wordpress and add-on domain

    i think, your last option is to install wordpress in your new domain www.ilovecake.com.
    then you could post all your blogs from the other domain or just copy certain table from the database of your old wordpress to new installed one.

  9. #9
    slight is offline x10Hosting Member slight is an unknown quantity at this point
    Join Date
    Feb 2009
    Location
    Canada
    Posts
    38

    Re: wordpress and add-on domain

    Hi Imoded, Perhaps i wasn;t clear. But the aren;t two server... just one server. The files aren't moving anywhere! I simply want to map a domain name to an existing online path.

    The name server does the mapping as usual. So that part works. There no need for files to move to another server.
    What's getting messed up are the permalinks and the is_writable() failures above. I have no idea why or what to do about it.

+ Reply to Thread

Similar Threads

  1. Replies: 11
    Last Post: 04-22-2010, 07:46 AM
  2. Replies: 1
    Last Post: 10-06-2009, 01:51 PM
  3. Replies: 2
    Last Post: 09-29-2008, 04:32 PM
  4. New domain, now I need help to fix Wordpress!
    By kcchan in forum Free Hosting
    Replies: 4
    Last Post: 05-27-2008, 11:32 PM
  5. WordPress problem (Blank Page) + can't add domain
    By Reykel in forum Free Hosting
    Replies: 4
    Last Post: 09-19-2007, 08:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers