INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Multi-Site - won't work unless in root for domain mapping

Multi-Site - won't work unless in root for domain mapping

Multi-Site - won't work unless in root for domain mapping

(OP)
Why won't this POS wordpress / domain mapping work unless wordpress is installed in the root directory?

In the real world I can create as many sub folders as I want off the main website or any other sub folder. I create an A DNS record for my new domain name pointing to the web server and then I bind the sub folder in IIS to service that domain to the particular website's folder - simple.

How do you do this with wordpress without installing a new version of wordpress in every sub folder for each domain?

I've hunted the web for hours and am going round in circles with threads claiming it isn't possible due to the way virtual hosts work, no it isn't! I just described above a nested sub folder structure servicing mutiple domains via virtual host headers, which I current;ly use and have done for several years, so why is wordpress and the domain mapping plugin claiming different!

This blows and as you can probably tell , I'm getting very frustrated trying to do basic stuff with wordpress!

Your help really is appreciated.

1DMF.

"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."

"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"

Free Dance Music Downloads

RE: Multi-Site - won't work unless in root for domain mapping

there are issues with the way that htaccess works, traversing sub-directories. so you should not have a site within a site, so to speak.
wp makes heavy use of htaccess to make permalinks look nice. don't care about pretty links? then you should be ok.
however in any event i don't think it is a great idea to create sites within sites. and if you can live with this exception then using native multi-site wordpress should be ok for you. http://codex.wordpress.org/Create_A_Network#Step_2...

if this is not what you want and you in fact want to use the same installation (set of files) for to run multiple wordpress domains that are each single site, then this is also easily achieved by some funky stuff with the wordpress config. You have to sacrifice some permalinks but here is a solution: http://rathercurious.net/archives/64 (written by me 4 years ago now).

this is useful for maintenance. but you could achieve the same end by using symbolic links too, I suspect.

or have i misunderstood?

RE: Multi-Site - won't work unless in root for domain mapping

(OP)

Quote:

or have i misunderstood?
well sort of yes.

This can't have anything to do with .htaccess, as I mentionend

Quote:

and then I bind the sub folder in IIS to service that domain
This is IIS7, there is no .htaccess file.

It's OK though, I sorted it all out in the end. I had to bite the bullet, un-install and re-install everything , mySQL DB, remove WordPress completely and start right from the beggining.

Then re-installed WordPress ensuring the master install was in the root of the test domain I'm using. Then went through the MU (Network Muti-Site) installation set up. Then installed the MU Domain Mapping plugin and it seems to be running as I wanted.

Well I've worked out how to run multiple sites, all with their own unique domain name, which hopefully will be powered by the master templates we make available for choice to our members.

The thing that was confusing me originally is in the WP GUI, it shows the network site with a 'path' this I assumed I could simply bind in IIS to the required domain, only in reality the path doesn't exist on the web server so there is no 'path' to point IIS to!

I'm finding WP is littered and built on confusion, miss information, incorrect terminology etc.. etc.. I have to assume the developers are totaly high on hard core drugs and don't know what day of the week it is half the time.

Paths are paths but not in WP, they call pages, post when they mean pages, they have pages which they call static , yet they are dynamic, your home page doesn't exist if you don't want the posts on it and you have to create it so you can have a normal home page, the list of oddities, miss-use of terminology and just crazyness goes on and on with WP.

I'm wondering if our latest project of running an entire network of POS websites for our members is a good idea!

Maybe Drupal would be a better choice? but the MD just sent me and the graphic designer on a 2day WordPress course in Brighton, so I guess, telling him we want to use something else and get training for that wouldn't go down very well!

We looked at Joomla, but that was totally confusing and we couldn't understand the admin GUI, where as WP at least made a little sense and the training course has helped considerably.

Now we just need to pick some templates we are going to customise (child templating), so we can then offer our members a choice of templates and set up their new POS / corporate website.

The old system uses an out of date and tired looking template I built and designed with a CMS system / configurator tool I wrote from scratch, the point of using a CMS system was to enable better, more up-to-date looking templates and make it easy to manage content via a ready made CMS / templating system, without the need for us to build it all again in-house, the idea was to not re-invent the wheel a second time round! I sure hope choosing WordPress wasn't a mistake!

I'm already finding it frustrating that simple things like writing your title tag content or meta description can't be done without first installing an SEO plug-in, infact on the 2 day course it came clear that WP requires a shed load of crap and plugins before it becomes of much use as a real POS / corporate website CMS system, rather than a crappy blogging tool.

But as I already mentioned, I think it was built by spaced out junkies, but at least it is free!

Though we will probably purchase a framework licence for multi-site purposes from someone like WooThemes, as their aditional framework/theme options are meant to enhance WP considerably.

Do you have any thoughts / experience with any frameworks such as WooThemes?

Cheers,
1DMF.


"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."

"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"

Free Dance Music Downloads

RE: Multi-Site - won't work unless in root for domain mapping

sorry - I see that you are using IIS. I know nothing whatsoever about that so probably cannot help.

Quote:


I'm finding WP is littered and built on confusion, miss information, incorrect terminology etc.. etc.. I have to assume the developers are totaly high on hard core drugs and don't know what day of the week it is half the time.

i'm sorry you find that. Wordpress is hampered by its past and its success. It has to be backwards compatible because the user install base is so huge across multiple hardware and os and server layers. If it did not maintain backwards compatibility plugins would break badly and the world would complain. This introduces unfortunately heavyweight code and significantly increases the documentation requirements.

having said that, the wordpress documentation is excellent. a class above any other opensource documentation that I have used.

the core-team sometimes disagree on approach but are very open about things. they are good coders, getting better at rigorous approach to coding and communicative. I am not in the core-team but sometimes contribute to discussions via lists. Feel free to join the discussions via the wordpress IRC channels and mailing lists.

Quote:


Paths are paths but not in WP, they call pages, post when they mean pages, they have pages which they call static , yet they are dynamic, your home page doesn't exist if you don't want the posts on it and you have to create it so you can have a normal home page, the list of oddities, miss-use of terminology and just crazyness goes on and on with WP.

you need to distinguish perhaps between the API documentation and the user documentation. at a user level a page is a page in that it represents a single piece of content outside of the traditional blog order. it does not exist as a file in a directory (which would be stupid for a blog). At an API level the core-team have quite rightly stored page content along with all other content and simply provided a piece of meta-data that tells the engine when content is a post/page or some other canonical item. that's good design and good for coders.

pages are not dynamic in that they are not part of a blog roll. however a page in word press is displayed by a php template and that template can have any of the normal php stuff in it. so you can break/extend the wordpress paradigm as much as you like. Whether you should I leave up to you, but most people regard this as a feature.

Quote:


Maybe Drupal would be a better choice? but the MD just sent me and the graphic designer on a 2day WordPress course in Brighton, so I guess, telling him we want to use something else and get training for that wouldn't go down very well!
possibly. they all do much the same with different approaches. wordpress is primarily a blog engine but I use it almost exclusively as a content management tool. I have some wp installations that have no user-facing WP UI at all; but still uses the underlying framework for managing and accessing content and users.

two days to learn wordpress and then manage a wide implementation is pushing it. Before I felt comfortable developing for others in wordpress I took the code apart completely and set myself the task of building an abstraction layer for the database to enable the use of any other engine in place of mysql. that forced me to grok the whole thing much better. I would be wary about assuming sufficient competence to bullet proof any CMS engine after only two days of exposure.

Quote:


I'm already finding it frustrating that simple things like writing your title tag content or meta description can't be done without first installing an SEO plug-in, infact on the 2 day course it came clear that WP requires a shed load of crap and plugins before it becomes of much use as a real POS / corporate website CMS system, rather than a crappy blogging tool.

I am not sure that I agree, but I don't know your requirements. Some plugins are useful to be sure. but take a look at their code - there's not much to many of them. not much that you could not implement without third party help.

Quote:


Do you have any thoughts / experience with any frameworks such as WooThemes?

i don't like using code that i have not written myself or thoroughly understood the workings of. it presents too much of a security risk. I think i played with wooforms (wufoo) a couple of years ago and thought them rather poor.

RE: Multi-Site - won't work unless in root for domain mapping

(OP)
You speak many words of wisdom and I appreciate the concise reply.

Yes, I'm green around the gills, but that's the way our company runs, I have always worked by the seat of my pants on a shoe string budget, and always delivered, so they have come to expect it!

I was lucky the marketing manager / graphic designer convinced the MD we needed some training at all, I don't normally get any!

Most of what I learn is from the nice bods here at TT and other techy forums, so again thank you.

The network sites won't have access to login so from a basic point of view, once the site and content is set up, it will be a static website with no user access, no posts / comments or anything else like that / perhaps some RSS widgets or similar industry news stuff but that's it. To much regulation around Financial Promotions Approval of website content to allow users / members or visitors to manage content or add comments or do anything themselves!

We have had to ban twitter / facebook etc, due to the regulatory issues that surround this type of media and the lack of ability to police it / approve it or even in the case of twitter have enough characters to include all the required regulatory disclaimers!

Quote:

abstraction layer for the database to enable the use of any other engine in place of mysql
So why isn't this available as a core feature of the generic installation, having to run a separate mySQL installation when we have an MS SQL box available is annoying! Not to mention then having to install phpMyAdmin, when IMO the MS SQL GUI is far superior and nicer to work with!

Quote:

I am not sure that I agree, but I don't know your requirements.
well on the course we were shown you cannot make nice title tag content without an SEO plugin, WP has some stupid permalink options and auto title rubbish that isn't SEO / SE friendly and only an SEO plugin gave access to these html tags.

Was the course wrong? Or are you saying I should alter the template and write my own PHP to handle this? I don't do PHP , though obviously I will be getting my hands dirty sorting out the child templates for the main themes we will be using, like getting rid of posts/comments/ and any mention whatsoever on any page about them, it's so frustrating you cannot easily get rid of all signs of the ability to leave comments or show 'latest posts/comments' blah blah, aghh go away already!

(perhaps you could help when you see my posts in the PHP forum, which no doubt I will soon be frequenting) hairpull3

I appreciate your 'cargo cult' attitude towards code, but isn't that the point of using a CMS / templating system, using code you didn't write and don't have to look at or understand?

Is WordPress not secure enough to be using for website purposes, I was told by the course trainer that as long as I use only plug-ins from WordPress.org, they should not have malicious code or backdoors or other such security risks, was this bad advice?

Regards,
1DMF

"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."

"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"

Free Dance Music Downloads

RE: Multi-Site - won't work unless in root for domain mapping

wordpress is secure at the moment, I believe. code is published in beta and RC versions in advance and there is a huge community of functional and security testers. that's not to say holes are not found from time to time - a good reason to stay up to date with your installs. typically it is plugins that create the holes. so use as few plugins as possible and triple check the code before deployment.

Quote:


Or are you saying I should alter the template and write my own PHP to handle this

yes. that's what i'm saying. a change to a template is much more resource efficient than inserting hooks via a plugin.

there are a bunch of us that help out in the php forum. happy to help whenever you post.

RE: Multi-Site - won't work unless in root for domain mapping

(OP)
Cool thanks JP, nice to know there will be help at hand, which I have no doubt I will need.

I guess I'm a little wary of thinking I can just dive straight in and edit PHP, I'm a perl head / VB , don't really do PHP , so thought it simpler and best to use a few plugins and limit the editing of the templates to as little as possible, especially as I have no idea how the PHP templating works in WordPress.


Plus the management want it done in a way that I'm not the only one who can managed the site or understand how it works, hence sending the marketing manager on the the course with me! They want it all done through a GUI others can use and also leave my time free to work on other coding projects.

I'll be sure to ask some questions once we have chosen a template and plugins and see where we go from there.

Regards,

1DMF

"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."

"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"

Free Dance Music Downloads

RE: Multi-Site - won't work unless in root for domain mapping

I can tell you that I am not a coder at all, but a hack, I am very good with HTML/CSS but that's not coding to me and I create all my sties in WP using custom themes etc.

The only problem I have ever had with WP is user error.

Darryn Cooke
www.darryncooke.com | Marketing and Creative Services

RE: Multi-Site - won't work unless in root for domain mapping

wish there were a 'like' button Darryn!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close