Announcement

Collapse
No announcement yet.

How to Handle Subdirectories?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to Handle Subdirectories?

    New issue came up today as we moved our site from MMUI to CSSUI. For the longest time we used a static "home page" in our root directory instead of the Miva SFNT page.

    Until now.

    But it seems that the htaccess line for DirectoryIndex mm5/merchant.mvc creates a conflict with certain portions of our website that reside in a subdirectory of our root.

    The main issue is our company blog that is typically found at /blog. But I think the htaccess line above is causing that to not be accessible.

    Anyway, are there any tips for how I should handle this? I would like to use the Miva SFNT page as our home, but I also need to get that blog accessible.

    Thanks,
    Mark

    #2
    Re: How to Handle Subdirectories?

    Try:

    DirectoryIndex index.php mm5/merchant.mvc

    It will look for index.php first, then use the store if not found. The blog directory will typically then also have a htaccess that rewrites all requests back to index.php if they aren't for a real file.
    David Hubbard
    CIO
    Miva
    [email protected]
    http://www.miva.com

    Comment


      #3
      Re: How to Handle Subdirectories?

      Wonderful! Worked like a charm.
      Thanks, David.

      I learn something new everyday!
      Last edited by Mark Stephens; 10-28-15, 04:33 PM.

      Comment

      Working...
      X