Forums

[resolved] Multisite with subdirectory - Page not found issue (17 posts)

  1. borzack
    Member
    Posted 8 months ago #

    Recently bought a plugin that allow creations of Facebook fan pages with WordPress and allows multisite (for creations of clients fan pages)

    Network created. All are great. Main site works fine. But am having problem with other sites created. Page not found!

    Main site:
    Home - http://fb-fan-page.most-effective-solution.com/blog/wp4fb-iframe/home/ - works great
    Order - http://fb-fan-page.most-effective-solution.com/blog/wp4fb-iframe/order/ - works great

    Test site:
    Home - http://fb-fan-page.most-effective-solution.com/test-site/wp4fb-iframe/home/ - Page not found!
    Test Order - http://fb-fan-page.most-effective-solution.com/test-site/wp4fb-iframe/test-order/ - Page not found!

    Resave the permalinks - does nothing.

    .htaccess - does nothing.
    # BEGIN WordPress
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]
    # END WordPress

    httpd.conf - tested 3 settings - does nothing.

    Setting #1:
    <Directory "/home/borzack/public_html/fbfanpage">
    Options Indexes FollowSymLinks
    AllowOverride All
    </Directory>

    Setting #2:
    <Directory "/home/borzack/public_html/fbfanpage">
    AllowOverride FileInfo Options
    </Directory>

    Setting #2:
    <Directory "/home/borzack/public_html/fbfanpage">
    AllowOverride All
    </Directory>

    Please help me!

  2. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 8 months ago #

    So the problem is on your subfolder based subsites, you're getting page not found.

    Do you have another httpd.conf setting for fbfabpage as a subdomain?

  3. borzack
    Member
    Posted 8 months ago #

    Do you have another httpd.conf setting for fbfabpage as a subdomain?

    not sure I understand this...

  4. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 8 months ago #

    fbfabpage is a subdomain, right?

    How did you create it?

  5. borzack
    Member
    Posted 8 months ago #

  6. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 8 months ago #

    Home - http://fb-fan-page.most-effective-solution.com/

    <Directory "/home/borzack/public_html/fbfanpage">

    Why isn't it <Directory "/home/borzack/public_html/fb-fan-page"> ?

  7. borzack
    Member
    Posted 8 months ago #

    In cpanel, when creating a subdomain, we have the option to enter the document root, usually when we enter "fb-fan-page" as the subdomain, the default doc root will automatically set to "/public_html/fb-fan-page" but we can actually put anything we like, right? it will be the subfolder (base) in the public_html directory that will host wordpress files. In this case I use "/public_html/fbfanpage" instead of "/public_html/fb-fan-page" for the subfolder name.

  8. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 8 months ago #

    Just because you can change it doesn't mean you should ;) That SHOULD be okay, mind you. But good to know you knew what you were doing and did it intentionally!

    Do any of those other sites have MultiSite?

  9. borzack
    Member
    Posted 8 months ago #

    No, other sites are all singles.
    I wanted to do this one multisite because the plugin I bought, to create individual client's minisites.

  10. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 8 months ago #

    Well http://fb-fan-page.most-effective-solution.com/blog/2011/08/29/hello-world/ works, so the problem likely to be the plugin you're using and not MultiSite itself.

    Can you link to this plugin?

  11. borzack
    Member
    Posted 8 months ago #

    With the plugin, it cretaes a 'WP4FB Pages' menu at the Dashboard. We use this to add 'new pages' instead of the traditional 'Pages' menu.

    So... http://fb-fan-page.most-effective-solution.com/blog/2011/08/29/hello-world/ is totally not used

    instead, http://fb-fan-page.most-effective-solution.com/blog/wp4fb-iframe/home/ is the one that is useful

    here's a video of the Multisite function for the plugin http://vimeo.com/26748792

  12. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 8 months ago #

    This is a password protected video.

    So ... y'know, can you link to the PLUGIN page?

    There's a reason I asked for that ;)

  13. borzack
    Member
    Posted 8 months ago #

    wp4fb dot com

  14. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 8 months ago #

    Did you activate the plugin for each site?

    Have you resaved permalinks on the subsite?

  15. borzack
    Member
    Posted 8 months ago #

    O M G !!!
    That did it!
    I have to resaved permalinks on the subsites!!
    Thanks :)))

  16. rinsestudios
    Member
    Posted 2 months ago #

    I am having a similar issue with one of my new clients sites. However, I don't believe that they have any subsites. I have tried reserving the permalinks but the WP4FB pages still show Not Found.

    Any suggestions on how to correct this?

    Thanks

  17. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 2 months ago #

    rinsestudios - This ticket is marked resolved, so you should make a new one.

    Also if the client has no subsites, they're not using Multisite, and this should be posted in the How To and Troubleshooting section.

Reply

You must log in to post.

About this Topic