WordPress.org

Ready to get started?Download WordPress

Forums

WordPress MU Domain Mapping
Do I need to use the Domain Mapping plugin? (16 posts)

  1. sc456a
    Member
    Posted 3 years ago #

    Right now all of my content is available via http://www.domain.com/post-name/. I would also like to same content to be available via img.domain.com/post-name/. I have server a *.domain.com serveralias under VirtualHost in my Apache config and setup the DNS entry. I get the following error now: http://bit.ly/mORGOz

    I've run through the Creating a Network doc without issue: http://codex.wordpress.org/Create_A_Network

    Have I missed something, or do I need to install and configure the Domain Mapping plugin? Thanks!

  2. markb1439
    Member
    Posted 3 years ago #

    This plugin isn't meant for mapping subdomains of the same domain. It's meant for mapping an external domain to a blog on a WordPress multisite installation.

    If you care about search engine rankings, I wouldn't recommend having the same content available under two domain names. You run the risk of duplicate content penalties.

    Mark

  3. sc456a
    Member
    Posted 3 years ago #

    Ah, I see. Well all I really want to do is get my links of sites like reddit to read "img.domain.com" instead of just "domain.com" so people will know that they are going to see an image instead of an article. Any thoughts on how I can make that happen?

  4. You don't even need multisite for that. you just need to set up your own image hosting, like a local CDN.

  5. sc456a
    Member
    Posted 3 years ago #

    Andrea:
    Know of anything that works in WordPress?

  6. found this in the plugin repo:

    http://wordpress.org/extend/plugins/wp-imagehost/

  7. sc456a
    Member
    Posted 3 years ago #

    I looked into that plugin Andrea, but it only works for images - not the posts themselves. It basically redirects any image in the /wp-content/uploads folders to images.subdomain.com.

  8. markb1439
    Member
    Posted 3 years ago #

    Hmm, I'm not sure what you're trying to do then. In a typical post, what would be the content? Only an image?

  9. sc456a
    Member
    Posted 3 years ago #

    Well the post itself would be the content. See my OP.

  10. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 3 years ago #

    Well all I really want to do is get my links of sites like reddit to read "img.domain.com" instead of just "domain.com" so people will know that they are going to see an image instead of an article. Any thoughts on how I can make that happen?

    Then

    Well the post itself would be the content. See my OP.

    Which is it, images or posts? If it's images within posts then switch your install back to a single site and change your siteurl through the general settings.

  11. sc456a
    Member
    Posted 3 years ago #

    Posts.

  12. So basically you want the same post to show up on http://www.domain.com and also img.domain.com. Correct?

  13. sc456a
    Member
    Posted 3 years ago #

    That's right, Andrea!

  14. sc456a
    Member
    Posted 3 years ago #

    Any ideas, anyone? I can't understand why this has to be so difficult. My hosting company says it's a WordPress issue, as does everyone else I talk to. Surely there must be a way. I asked here but no one ever answered. That is sadly typical here in the WP forums:

    http://wordpress.org/support/topic/how-can-i-use-an-alias-with-wordpress?replies=2

  15. I can't understand why this has to be so difficult.

    Because the domain name is saved in the database.

    I have looked for you. Both in the plugin repo, and all over google. I have no answer because I haven't found anything that is current. While it probably is possible, it's been darn hard to find.

  16. Gwyneth Llewelyn
    Member
    Posted 3 years ago #

    I guess that a very stupid workaround would be to have two separate WP installs and let one be the "clone" of the other. There is supposed to be a free, automated plugin that does just that, but I couldn't google for it (I'm really silly, I should have made a bookmark of it...). I'm not talking about automated backup-and-restore systems, which work offline and have the problem that @Andrea_r mentions (the domain name is in the database and it requires manually to change everything), but there was a wonderful plugin that really did everything in real time. Gah, I'm really so frustrated for not being able to find it in Google :P

    A slightly-less-sophisticated method is just to use RSS to transfer information from one site to the other. FeedWordPress is an excellent syndication plugin, but you might not need all its functionality. The advantages of a RSS-based plugin is that you can configure to sync it as often as you like.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic