Using directory plugin as a subsite

Hello all, I did some searching in topics already but thought I would post a fresh one as well.

In short, I have a wordpress install at http://www.speakingagent.com . This has worked well for me for a few years.

I would like to add a directory to the site, which was the main driver for me to become a premium subscriber here....

What is the best way to do so?

I have activated WPMU... and have the directory site listed here: http://www.speakingagent.com/directory however I am unable to login to the site, and the theme is not showing.

I should also mention that I activated WPMU as a subdomain, and used these instructions to map it to a sub-directory
http://welcome.totheinter.net/2009/05/06/changing-wordpress-mu-from-subdomains-to-subdirectories/

really looking forward to getting the directory plugin activated and working. If not through WPMU then perhaps I should simply install another wordpress install in a separate sub-domain and activate directory there? would that work?

Thank you!

  • Mason
    • DEV MAN’s Sidekick

    Hiya,

    I think something is up with your .htaccess rules. The sub-site is trying to find your wp-plugins, wp-admin, and wp-includes folders at http://speakingagent.com/directory/
    so like this:
    http://speakingagent.com/directory/wp-content/
    Which is incorrect.

    I'm thinking it has something to do with the extra rewrite rule in the article you link to.

    Can you post your .htaccess rules as well as the network components of your wp-config file (please don't post the db info for your own site's security).

    We'll take a look, but modifying WordPress in this way is never recommended exactly because of the trouble your facing now.

  • zews
    • New Recruit

    Hi there. I think this topic covers my doubt as well... so I'll add my enquire here.

    I recently purchased the directory plugin. But seems like I can't get it to work with my current theme, instead I have the option to activate it like a new theme, wich makes the whole website look really weird and is not what I intend.

    I want to have the site as is and then, manage the directory within the new theme. Also when with the current theme if I go to http://www.domain.com/directory I don't see anything.

    Any ideas? Does this work as a plugin instead of as a theme? Any hint would be really, really appreciated.

    Best regards.

  • szawp
    • WPMU DEV Initiate

    @masonjames - thank you for your input... you're right, I probably shouldn't mess with the restructuring as suggested on the former link.

    I have switched back to subdomains, and the theme is called just fine.

    Second question for you though:

    I wanted to create a post type called "speaker_listing"...
    I deleted "directory_listing" and created a post type "speaker_listing"...
    Unfortunately, the "speaker_listing" does not show on the homepage when I a post of it's type (I also assigned a taxonomy to the post type, and a category within that taxonomy, i created a new post of post type "speaker_listing" and assigned it the category and taxonomy, and still nothing)

    I tried deactivating the plugin, removing, and reinstalling the plugin in hopes that the directory_listing type would reappear so I could start fresh - it did not.

    Any thoughts?

    Thank you!

  • Mason
    • DEV MAN’s Sidekick

    Hiya szawp,

    Glad you got it sorted. The info you link there will be helpful to @zews as well :slight_smile:

    @zews, the directory plugin uses custom post types. The included theme pulls those post types and displays them for you. However, it's totally not required. You'll simply need to create some page templates based on your current theme.

    This would be done very similarly to the way you would with our CustomPress plugin, so it may be worth taking a look at those installation instructions:
    https://premium.wpmudev.org/project/custompress/installation/

    And there are plenty of tutorials to help walk you through the process. Basically you copy one of your themes template pages, rename it and add the custom post type information and you're finished.
    http://www.wpbeginner.com/wp-tutorials/how-to-create-a-custom-post-types-archive-page-in-wordpress/

    Hope this helps. Feel free to open a new thread if you want to go this in more specific detail.

    Thanks!

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.