Eric Mann
Forum Replies Created
-
Forum: Networking WordPress
In reply to: WP upgrade 3.0.5 -> 3.1.1 broke siteWhere to map subdomain.hostname.usc.edu to subdomain.usc.edu – in WP/domain mapping plugin?
There’s a step-by-step tutorial that should help here: http://ottopress.com/2010/wordpress-3-0-multisite-domain-mapping-tutorial/ A few of the options have changed in 3.1, but it’s mostly the same.
Forum: Networking WordPress
In reply to: WP upgrade 3.0.5 -> 3.1.1 broke siteAnother live example:
All of these sites are part of the same multisite installation that lives at http://ghmedicalhome.org, but they’re installed as sub-directories because of the way the server is set up. For example, http://drnohle.org was originally installed and configured as http://ghmedicalhome.org/drnohle-org/ until it was ready to launch. Then the correct domain was mapped to the site so the public only ever sees http://drnohle.org.
Forum: Networking WordPress
In reply to: WP upgrade 3.0.5 -> 3.1.1 broke siteUnfortunately this is not possible. We need to use hostnames – hence sub-domains. Some of these are large sites. Can you imagine USC’s public web server url to be http://wordpress.usc.edu/www ? I cannot. Similar situation, some of our blog sites which we are hosting on another blog system are public and large volume. We do intend to also use sub-directories but for a separate project.
Obviously WP was not designed to be used as we currently have setup. Now we have to seriously re-consider our use of WP =(
You can still use hostnames for the public URL. I don’t think you’re understanding my repeated suggestion to use domain mapping. If you install a site to
http://hostname.usc.edu/subdomainand then maphttp://subdomain.usc.eduto that site, the public will only ever seehttp://subdomain.usc.edu. All pages, posts, images, etc will use that as the domain.Or you can set up 4-level subdomains (
http://subdomain.hostname.usc.edu) and map them to the appropriate real, public domain (http://subdomain.usc.edu). It’s up to you.Forum: Networking WordPress
In reply to: WP upgrade 3.0.5 -> 3.1.1 broke siteYou can install a subdomain install in a subdomain just fine as long as wildcard subdomains are enabled on the DNS and web server.
Since the site’s on a university server, I jumped to the assumption that wildcard sub-domains were out of the question. I doubted the USC would want anyone to be able to create any sub-domain of usc.edu and was trying to recommend a safer course of action.
Forum: Networking WordPress
In reply to: WP upgrade 3.0.5 -> 3.1.1 broke siteI can assure you the sponsors of our blogs and the public do not like 4 level hostnames. Our team builds a large number of sites (over 100). We are hoping that WP would fit our needs. We are trying to transition away from MT. Also looking at Expression Engine. So far though our team likes WP.
This is one of the reasons WordPress allows you to use sub-directories for multisite rather than sub-domains. The only major consequence of using sub-directories instead is that your site slugs need to be unique (so they don’t conflict with page slugs on the main site). This can be solved by calling them “site-whatever” and “site-anothersite” because you likely won’t have pages with those slugs. Then use a domain mapping plugin to route traffic …
A live example …
http://thepeoplebuilders.com is the main site of a multisite installation. The blog (http://thepeoplebuildersblog.com) is mapped to a sub-directory of the main site because the host doesn’t allow subdomains.Forum: Networking WordPress
In reply to: WP upgrade 3.0.5 -> 3.1.1 broke site@jkhongusc: First let me clarify a couple of things for how multisite is “supposed” to work (as in, working any other way is likely the cause of a bug or a server configuration error).
With Sub-domains
- Your main site is
site.url. This is also the entry in the wp-config.php file for theDOMAIN_CURRENT_SITEconstant. - All other sites are
domain1.site.urlanddomain2.site.urland so on. - Your network admin is at
site.url/wp-admin/network/
With Sub-directories
- Your main site is at
site.url. This is also the entry in the wp-config file for theDOMAIN_CURRENT_SITEconstant. - All other sites are
site.url/sub-site1andsite.url/sub-site2and so on. - Your network admin is at
site.url/wp-admin/network/
Normally, you shouldn’t be using a subdomain as your root WordPress installation for a multisite setup if you’re going to try to use subdomains … this would lead to strange behavior requiring new sites to be
domain1.subdomain.site.urland probably won’t work with your DNS setup unless you’re doing it all on your own and have things set up already.For a new installation on a
.edusite with a sudomain, I would have actually recommended you use subfolders instead. Then your sites would have beenhttp://hostname.usc.edu/site1and so on. Now that your sites are set up, though, you can’t go back to that … well, you can, it’s just tricky.Once you have your sites living in virtual subfolders, you would use a domain mapping plugin to map your virtual hosts to the right place. So in Apache you’d keep the virtual host setup you have, but you’d install something like MU Domain Mapping in WordPress and tell WordPress which domain belongs to which site. It will handle the rest for you.
As it stands, your installation is very seriously damaged. The network dashboard URL is taken directly from the
DOMAIN_CURRENT_SITEconstant in wp-config.php … so even if you try to manually navigate tohttp://hostname.usc.edu/wp-admin/network, WordPress will always try to redirect you back tohttp://usc.edu/wp-admin/network.Your safest bet here would be to back everything up, create a new multisite installation using sub-directories and re-import your content. Then set up domain mapping to point your separate domains at the new sites.
Forum: Themes and Templates
In reply to: What's best practice: CPT or child pagesFor that specific use, I’d recommend using pages with custom templates. That way you can add custom meta (photo) and still produce it on the page.
Forum: Plugins
In reply to: [JS Banner Rotate] [Plugin: JS Banner Rotate] Problem displaying imagesYou might have two calls to the
wp_headaction hook, because a lot of the extra information in the<body>elements is auto-generated by WordPress and tied to that particular action hook.I’ll see if I can work that in to version 2.0.
Forum: Plugins
In reply to: [JS Banner Rotate] [Plugin: JS Banner Rotate] Problem displaying images@darkmatter661 You’ve got a couple of issues here. First of all, a lot of the content that should be in your
<head>element is in the<body>element instead.Second, you can only use one instance of JSBRotate on a page … you seem to have two.
Third, some of your images are transparent. The plugin works by placing the first image in the rotation on the screen and then fading the others on top of it. The first image will always be on the page! Using transparent PNGs won’t work here.
Fourth, IE doesn’t like transparent PNGs to begin with, and fading them in and out on the screen makes matters even worse. This isn’t a plugin issue, but an IE issue. Once again I recommend using something other than PNGs.
@alex.galpin You can’t have two image rotators on the same page. This is a problem with the JavaScript referencing element IDs on the page. If you want rotating images in the sidebar as well as the header, you’ll need to use another system.
@paulohfox, @joshrizzo The flash to the first image is a known issue that I’m working on. It’s a consequence of trying to degrade gracefully for non-JS users.
Basically, the system places the first image on the screen, then fades all the others on top of it using JavaScript. If JS is turned off, you still see the first image. Unfortunately, the fade with some images is revealing the base image. This will be fixed in version 2.0.
tankanh: This is most likely a false-positive reported by your system. I’ve downloaded the same Zip file and run it through several virus scanners … nothing can find any kind of embedded virus or malware.
Have you tried uploading to a different server? Or perhaps using the built-in installer rather than trying to upload the Zip?
Forum: Networking WordPress
In reply to: Domain Mapping on a VPS… and I just figured it out.
Both
prose.eamann.comandprosepainting.comwere pointing to the right server, buteamann.com(the root domain) was still pointing elsewhere. When the server tried to check things out and log me in to the network site (eamann.com/network) it was talking to the wrong server.Changing my Windows hosts file to point
eamann.comto the right IP (since I haven’t migrated the site yet) solved the issue immediately.Forum: Networking WordPress
In reply to: Domain Mapping on a VPSAlso, in the domain mapping plugin I have my server IP address entered and the following checkboxes checked:
- Remote Login
- Permanent redirect (better for your blogger’s pagerank)
- User domain mapping page
- Redirect administration pages to site’s original domain (remote login disabled if this redirect is disabled)
- Your main site is