Announcement

Collapse
No announcement yet.

How to find or change homepage url

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

  • How to find or change homepage url

    How, in Miva, do I find where the information for the homepage is located? And is it possible for me to change it?
    Bethann

  • Re: How to find or change homepage url

    By "Miva home page" do you mean the SFNT page? Or your web site home page? Depending on how your site is set up those may be two different things - the first one being a page generated by Miva Merchant, the second being a static html page. If you are referring to the SFNT page, log in to MM admin and click on your store name. On the right you'll see a bunch of tabs. How many and what the actual tab names are will depend on whether you have OpenUI installed in your store, but, look for something like Headers/Footers - Store Screens. On that page the very first one should be "Store Front Welcome: Screen=SFNT". That's your Miva storefront or home page.

    Comment


    • Re: How to find or change homepage url

      I'm going to bump this since I'm wondering the same thing, but the answer provided isn't working for me. I need to make the SFNT page the home page, but the instructions provided above appear to no longer be accurate. I don't see this "Store Front Welcome: Screen=SFNT" anywhere. Has it moved in 5.5? Is it just no longer accurate?

      Kirk Hiner

      Comment


      • Re: How to find or change homepage url

        SFNT is still the storefront page in Miva Merchant v5.5 - just like it was since v1.0

        If you want your visitors to be automatically directed to your Miva storefront page rather than index.html, edit your site .htaccess file (or create one if there isn't one already) and put this one line in it:

        DirectoryIndex /mm5/merchant.mvc?Screen=SFNT

        (replace /mm5/ with the actual path if you installed your store in non-standard directory)

        Comment


        • Re: How to find or change homepage url

          Does any know the redirect config for web.config on a iiS Windows box to make

          This...

          DirectoryIndex /mm5/merchant.mvc?Screen=SFNT

          Work on a iiS box?

          <?xml version="1.0" encoding="UTF-8"?>
          <configuration>
          <system.webServer>
          <defaultDocument>
          <files>
          <clear />
          <add value="index.html" />
          <add value="index.php" />
          <add value="Default.htm" />
          <add value="Default.asp" />
          <add value="index.htm" />
          <add value="iisstart.htm" />
          <add value="default.aspx" />
          <add value="index.cfm" />
          </files>
          </defaultDocument>
          <handlers>
          <remove name="AboMapperCustom-72018" />
          <remove name="AboMapperCustom-72017" />
          <remove name="AboMapperCustom-72016" />
          <remove name="AboMapperCustom-72015" />
          <remove name="AboMapperCustom-72014" />
          <remove name="AboMapperCustom-72013" />
          <remove name="AboMapperCustom-72012" />
          <remove name="AboMapperCustom-72011" />
          <remove name="AboMapperCustom-72010" />
          <add name="Miva Handler mapping" path="*.mvc" verb="*" modules="MivaVMIIS7.dll" scriptProcessor="C:\inetpub\mivavm-v5.22\bin\MivaVMIIS7.dll" resourceType="Unspecified" requireAccess="Script" preCondition="bitness64" />
          </handlers>
          <staticContent>
          <clientCache cacheControlMaxAge="30.00:00:00" cacheControlMode="UseMaxAge"/>
          </staticContent>


          <httpCompression directory="%SystemDrive%\inetpub\
          temp\IIS Temporary Compressed Files">
          <scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll"/>
          <dynamicTypes>
          <add mimeType="text/*" enabled="true"/>
          <add mimeType="message/*" enabled="true"/>
          <add mimeType="application/javascript" enabled="true"/>
          <add mimeType="*/*" enabled="false"/>
          </dynamicTypes>
          <staticTypes>
          <add mimeType="text/*" enabled="true"/>
          <add mimeType="message/*" enabled="true"/>
          <add mimeType="application/javascript" enabled="true"/>
          <add mimeType="*/*" enabled="false"/>
          </staticTypes>
          </httpCompression>
          <urlCompression doStaticCompression="true" doDynamicCompression="true"/>


          <rewrite>
          <rules>
          <rule name="rule 2J" stopProcessing="true">
          <match url="^product/([^/.]+).html$" />
          <action type="Rewrite" url="//mm5/merchant.mvc?Screen=PROD&amp;Product_code={R:1}" appendQueryString="true" />
          </rule>
          <rule name="rule 3J" stopProcessing="true">
          <match url="^category/([^/.]+).html$" />
          <action type="Rewrite" url="//mm5/merchant.mvc?Screen=CTGY&amp;Category_code={R:1}" appendQueryString="true" />
          </rule>
          <rule name="rule 4J" stopProcessing="true">
          <match url="^([^/]+)/([^/.]+).html$" />
          <action type="Rewrite" url="//mm5/merchant.mvc?Screen=PROD&amp;Category_code={R:1}&a mp;Product_code={R:2}" appendQueryString="true" />
          </rule>
          <rule name="rule 5J" stopProcessing="true">
          <match url="^([^/.]+).html$" />
          <action type="Rewrite" url="//mm5/merchant.mvc?Screen={R:1}" appendQueryString="true" />
          </rule>
          </rules>
          </rewrite>


          </system.webServer>
          <MivaScript>
          <paths root="C:\inetpub\99Perfume-Miva" data="C:\inetpub\99Perfume-MivaData" ca="C:\inetpub\mivavm-v5.22\certs\openssl-1.0" />
          <libraries>
          <add library="C:\inetpub\mivavm-v5.22\lib\builtins\MVBArchive.dll" />
          <add library="C:\inetpub\mivavm-v5.22\lib\builtins\MVBCrypto.dll" />
          <add library="C:\inetpub\mivavm-v5.22\lib\builtins\MVBFile.dll" />
          <add library="C:\inetpub\mivavm-v5.22\lib\builtins\MVBGD.dll" />
          <add library="C:\inetpub\mivavm-v5.22\lib\builtins\MVBLogging.dll" />
          <add library="C:\inetpub\mivavm-v5.22\lib\builtins\MVBMath.dll" />
          <add library="C:\inetpub\mivavm-v5.22\lib\builtins\MVBString.dll" />
          <add library="C:\inetpub\mivavm-v5.22\lib\builtins\MVBSystem.dll" />
          <add library="C:\inetpub\mivavm-v5.22\lib\builtins\MVBTemplate.dll" />
          <add library="C:\inetpub\mivavm-v5.22\lib\builtins\MVBTime.dll" />
          <add type="database" code="MivaSQL" library="C:\inetpub\mivavm-v5.22\lib\databases\mivasql.dll" />
          <add type="database" code="MySQL" library="C:\inetpub\mivavm-v5.22\lib\databases\MVDMYSQL.dll" />
          <add type="system" code="GD" library="C:\inetpub\mivavm-v5.22\lib\databases\BGD.DLL" />
          </libraries>
          </MivaScript>
          </configuration>
          James Byrne, (USMC Vet.)
          After Dark Grafx
          "We Work After Dark So You Don't Have To!"
          E-Commerce - Design - Hosting - Printing
          Miva Standard Partner. Get up and running fast!
          http://www.afterdarkgrafx.com :: sales [ at ] afterdarkgrafx.com

          Comment


          • Re: How to find or change homepage url

            Hi Afterdark

            Everything Iíve seen or tried so far points to that not being possible in a web.config file. There is just no way to point it to a path for the file with a parameter like that.

            Hope this helps
            -Eric
            Eric Foresman
            Software Tester
            Miva Merchant
            http://www.mivamerchant.com/
            [email protected]

            Comment


            • Re: How to find or change homepage url

              Thank you but I figured it out...


              <rule name="rule 1v" stopProcessing="true">
              <match url="^/*$" />
              <action type="Rewrite" url="//mm5/merchant.mvc" />
              </rule>

              Adding this code to the web.config file if I now go to http://www.MYDOMAIN.com it will load the miva homepage without redirecting.

              Thank you
              James Byrne, (USMC Vet.)
              After Dark Grafx
              "We Work After Dark So You Don't Have To!"
              E-Commerce - Design - Hosting - Printing
              Miva Standard Partner. Get up and running fast!
              http://www.afterdarkgrafx.com :: sales [ at ] afterdarkgrafx.com

              Comment

              Working...
              X