Miva Merchant and WordPress .htaccess conflict

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lesliekirk
    Super Moderator











    • Aug 2008
    • 9289

    #1

    Miva Merchant and WordPress .htaccess conflict

    I'm having a devil of time trying to figure out why there is a conflict with the .htaccess file that generated by the admin SEO Settings and a WordPress blog located in it's own directory /blog


    Code:
    ### Begin - Inserted by Miva Merchant
    
    DirectoryIndex /Merchant2/merchant.mvc?Screen=SFNT
    
    RewriteEngine On
    
    RewriteRule ^Merchant2/admin.mvc? - [L]
    
    RewriteCond %{REQUEST_FILENAME} !-s
    RewriteRule ^([^/]+)/p/([^/.]+).html$ /Merchant2/merchant.mvc?Store_code=$1&Screen=PROD&Product_code=$2 [L]
    
    RewriteCond %{REQUEST_FILENAME} !-s
    RewriteRule ^([^/]+)/c/([^/.]+).html$ /Merchant2/merchant.mvc?Store_code=$1&Screen=CTGY&Category_code=$2 [L]
    
    RewriteCond %{REQUEST_FILENAME} !-s
    RewriteRule ^([^/]+)/p/([^/]+)/([^/.]+).html$ /Merchant2/merchant.mvc?Store_code=$1&Screen=PROD&Category_code=$2&Product_code=$3 [L]
    
    RewriteCond %{REQUEST_FILENAME} !-s
    RewriteRule ^([^/]+)/([^/.]+).html$ /Merchant2/merchant.mvc?Store_code=$1&Screen=$2 [L]
    
    ### End - Inserted by Miva Merchant
    I can access the blog admin blog/wp-admin/ and have played around with the Permalink Settings but that doesn't seem to help any.

    When I try to view the "Hello World" post at /blog/?p=1 I get the following message:

    We're sorry but it appears that the "SFNT?p=1" page is not available at this time.
    Thoughts?

    Many thanks!
    Leslie
    Leslie Kirk
    Miva Certified Developer
    Miva Merchant Specialist since 1997
    Previously of Webs Your Way
    (aka Leslie Nord leslienord)

    Email me: [email protected]
    www.lesliekirk.com

    Follow me: X | Facebook | Pinterest
  • ILoveHostasaurus
    Mega Mivite










    • Mar 2006
    • 4998

    #2
    Re: Miva Merchant and WordPress .htaccess conflict

    Change this:

    DirectoryIndex /Merchant2/merchant.mvc?Screen=SFNT

    to

    DirectoryIndex index.php /Merchant2/merchant.mvc


    And if you want to use permalinks, put this in a new .htaccess file in the blog directory:

    Code:
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /blog/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /blog/index.php [L]
    </IfModule>
    
    # END WordPress
    David Hubbard
    CIO
    Miva
    [email protected]
    http://www.miva.com

    Comment

    • lesliekirk
      Super Moderator











      • Aug 2008
      • 9289

      #3
      Re: Miva Merchant and WordPress .htaccess conflict

      Thanks David, I'll give that a whirl. I usually let WordPress create/write it's own .htaccess file, that way it winds up where it should be - unless I have WordPress in the root, then I've got to be a bit more hands-on.
      Leslie Kirk
      Miva Certified Developer
      Miva Merchant Specialist since 1997
      Previously of Webs Your Way
      (aka Leslie Nord leslienord)

      Email me: [email protected]
      www.lesliekirk.com

      Follow me: X | Facebook | Pinterest

      Comment

      • wcw
        Developer Partner

        • Mar 2006
        • 11329

        #4
        Re: Miva Merchant and WordPress .htaccess conflict

        Was there an earthquake in Calif this morning? Why is David up answering questions on the forum at 5:48AM (Calif time)?
        Bill Weiland - Emporium Plus http://www.emporiumplus.com/store.mvc
        Online Documentation http://www.emporiumplus.com/tk3/v3/doc.htm
        Question http://www.emporiumplus.com/mivamodu...vc?Screen=SPTS
        Facebook http://www.facebook.com/EmporiumPlus
        Twitter http://twitter.com/emporiumplus

        Comment

        • Rick Wilson
          Uber Mivite











          • Aug 2007
          • 10119

          #5
          Re: Miva Merchant and WordPress .htaccess conflict

          David's back in FL, so the earth opened up and swallowed him and he woke up in Tampa (or he took a plane, I'm not sure which).
          Thanks,

          Rick Wilson
          CEO
          Miva, Inc.
          [email protected]
          https://www.miva.com

          Comment

          • wcw
            Developer Partner

            • Mar 2006
            • 11329

            #6
            Re: Miva Merchant and WordPress .htaccess conflict

            Why don't all you folks move to Florida? Lower taxes (no state income tax), less traffic, lower cost of living, pretty good weather (except for an occasional hurricane), no earthquakes, Disney World (4 parks instead of 2), really nice reef diving, cooler cars, and the list goes on. :-)
            Bill Weiland - Emporium Plus http://www.emporiumplus.com/store.mvc
            Online Documentation http://www.emporiumplus.com/tk3/v3/doc.htm
            Question http://www.emporiumplus.com/mivamodu...vc?Screen=SPTS
            Facebook http://www.facebook.com/EmporiumPlus
            Twitter http://twitter.com/emporiumplus

            Comment

            • Bruce - PhosphorMedia
              Developer Partner











              • Mar 2006
              • 11256

              #7
              Re: Miva Merchant and WordPress .htaccess conflict

              Rick would have to buy everyone a gun<g>.
              Bruce Golub
              Phosphor Media - "Your Success is our Business"

              Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
              phosphormedia.com

              Comment

              • wcw
                Developer Partner

                • Mar 2006
                • 11329

                #8
                Re: Miva Merchant and WordPress .htaccess conflict

                What, they don't already have one?
                Bill Weiland - Emporium Plus http://www.emporiumplus.com/store.mvc
                Online Documentation http://www.emporiumplus.com/tk3/v3/doc.htm
                Question http://www.emporiumplus.com/mivamodu...vc?Screen=SPTS
                Facebook http://www.facebook.com/EmporiumPlus
                Twitter http://twitter.com/emporiumplus

                Comment

                • Rick Wilson
                  Uber Mivite











                  • Aug 2007
                  • 10119

                  #9
                  Re: Miva Merchant and WordPress .htaccess conflict

                  How did this spin off so drastically? Also based on how much cheaper it is to live in FL (compared to SD) everyone could afford two guns
                  Thanks,

                  Rick Wilson
                  CEO
                  Miva, Inc.
                  [email protected]
                  https://www.miva.com

                  Comment

                  • lesliekirk
                    Super Moderator











                    • Aug 2008
                    • 9289

                    #10
                    Re: Miva Merchant and WordPress .htaccess conflict

                    Originally posted by Rick Wilson View Post
                    How did this spin off so drastically?
                    LOL - cuz the moderator let it? Heehehehehe, I agree with Bill
                    Leslie Kirk
                    Miva Certified Developer
                    Miva Merchant Specialist since 1997
                    Previously of Webs Your Way
                    (aka Leslie Nord leslienord)

                    Email me: [email protected]
                    www.lesliekirk.com

                    Follow me: X | Facebook | Pinterest

                    Comment

                    • Rick Wilson
                      Uber Mivite











                      • Aug 2007
                      • 10119

                      #11
                      Re: Miva Merchant and WordPress .htaccess conflict

                      This is the only part of Bill's assessment I disagree with or at least don't understand:

                      cooler cars
                      You guys have different cars in Florida?
                      Thanks,

                      Rick Wilson
                      CEO
                      Miva, Inc.
                      [email protected]
                      https://www.miva.com

                      Comment

                      • wcw
                        Developer Partner

                        • Mar 2006
                        • 11329

                        #12
                        Re: Miva Merchant and WordPress .htaccess conflict

                        Originally posted by Rick Wilson View Post
                        How did this spin off so drastically? Also based on how much cheaper it is to live in FL (compared to SD) everyone could afford two guns
                        1) It is Friday the 13th so a little levity is needed, otherwise anxiety may take over.

                        2) I have two guns, and coincidentally the locksmith was here today to repair my gun safe. No telling what could have happened had the drug gangs attacked my house and I couldn't get the safe opened in time. Considering it is Friday the 13th I was pressed to get that fixed. The funny part of this was it has been trying to break for six months and Monday a Miva Merchant store owner emailed me about the sort shipping module (circa 2006) in his store and wanted to know if it would work with the latest MM version. Turned out the store he works for is the same one I bought the safe from about 12 years ago. Our favorite shopping cart, Miva Merchant, is everywhere.
                        Bill Weiland - Emporium Plus http://www.emporiumplus.com/store.mvc
                        Online Documentation http://www.emporiumplus.com/tk3/v3/doc.htm
                        Question http://www.emporiumplus.com/mivamodu...vc?Screen=SPTS
                        Facebook http://www.facebook.com/EmporiumPlus
                        Twitter http://twitter.com/emporiumplus

                        Comment

                        • wcw
                          Developer Partner

                          • Mar 2006
                          • 11329

                          #13
                          Re: Miva Merchant and WordPress .htaccess conflict

                          When I go to Calif I rarely see cool cars cruisin' the streets. A couple months ago a friend of mine from England was visiting me here and in one day we saw more Bentley convertibles cruisin' the streets than he had ever seen. SL500, Jag, Maserati, and Porsche are as common as Corvettes. Street rods and muscle cars are common too.

                          Plus we have all those cool license plates to go on the cool cars, e.g. http://www.flhsmv.gov/dmv/specialtyt...lessSummer.jpg

                          Oh, well, we're way off subject now so that's all folks. Leslie will be kicking me off soon.
                          Bill Weiland - Emporium Plus http://www.emporiumplus.com/store.mvc
                          Online Documentation http://www.emporiumplus.com/tk3/v3/doc.htm
                          Question http://www.emporiumplus.com/mivamodu...vc?Screen=SPTS
                          Facebook http://www.facebook.com/EmporiumPlus
                          Twitter http://twitter.com/emporiumplus

                          Comment

                          • Rick Wilson
                            Uber Mivite











                            • Aug 2007
                            • 10119

                            #14
                            Re: Miva Merchant and WordPress .htaccess conflict

                            LA keeps all the cool cars for So Cal
                            Thanks,

                            Rick Wilson
                            CEO
                            Miva, Inc.
                            [email protected]
                            https://www.miva.com

                            Comment

                            • Datagg
                              Mega Mivite

                              • Jun 2006
                              • 2181

                              #15
                              Re: Miva Merchant and WordPress .htaccess conflict

                              Florida is cool, no doubt..many vacation at Fort Meyers beach..... Yet, the humidity sucks..Here in AZ, we have very low humidity and can carry guns and see cool cars all the time.... yet heat sucks, going to be 100 soon..... Winters are great though...

                              This thread had me cracking up.... Look out for Jason!!!!
                              Dan

                              Girlfriends Lingerie - "Keeping It Sexy!"
                              Sexy Lingerie - Twitter - Facebook- Pinterest - YouTube

                              Comment

                              Working...
                              X