Announcement

Collapse
No announcement yet.

URI Management

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

    URI Management

    Hi, I am trying URI guidesin my dev environment. But the configuration goes back to Legacy SEO setting when I restart.

    New values
    /&mvt:page:code;.html
    /kategori/&mvt:category:code;.html
    /produkt/&mvt:product:code;.html

    Those are back.
    /<mvt:if expr="NOT ISNULL l.settings:page:slugified_title"><mvt:eval expr="tolower( l.settings:page:slugified_title )" /><mvt:else><mvt:eval expr="tolower( l.settings:page:slugified_name )" /></mvt:if>.html

    Do you have any advice. I followed the guides....

    I read "https://www.miva.com/forums/forum/online-merchants/miva-merchant-9/701466-uri-s-what-am-i-missing"
    And my .htacess has some rewrites. Are those stopping me in my update?

    #Force WWW
    #RewriteEngine On
    #RewriteCond %{HTTP_HOST} !^www.cigarrummet.com$ [NC]
    #RewriteRule ^(.*) http://www.cigarrummet.com/$1 [L,R=301]


    ### Begin - Inserted by Miva Merchant

    DirectoryIndex /miva/merchant.mvc

    RewriteEngine On

    RewriteRule ^miva/admin.mvc? - [QSA,L]

    RewriteCond %{REQUEST_FILENAME} !-s
    RewriteRule ^produkt/([^/.]+).html$ /miva/merchant.mvc?Screen=PROD&Product_code=$1 [QSA,L]

    RewriteCond %{REQUEST_FILENAME} !-s
    RewriteRule ^kategori/([^/.]+).html$ /miva/merchant.mvc?Screen=CTGY&Category_code=$1 [QSA,L]

    RewriteCond %{REQUEST_FILENAME} !-s
    RewriteRule ^produkt/([^/]+)/([^/.]+).html$ /miva/merchant.mvc?Screen=PROD&Category_code=$1&Product_ code=$2 [QSA,L]



    André
    Last edited by Protos; 05-12-19, 06:43 AM.

    #2
    Hi André,

    Under URI Management, make sure you Link Source is set to URI Management, your URI Templates are set like you want them, The Legacy SEO Settings are turned off, you have generated your URIs, and under .htaccess, delete and then update.
    Matt Zimmermann

    Miva Web Developer
    Alchemy Web Development
    https://www.alchemywebdev.com
    Site Development - Maintenance - Consultation

    Miva Certified Developer
    Miva Professional Developer

    https://www.dev4web.net | Twitter

    Comment


      #3
      Hello Matt and thanks for your help with zoom. I am still messing with URI Management. It sounds so simple in your answer but I fail every time I try. I implemented it on my Prod yesterday with a terrible result that all my Mega nav. menu and category links stopped working. So I rolled it back immediately. Clumsy of me. Now to my question.: My prime goal is to convert the store to HTTPS. I thought that fixing URI first was a good idea. Then go for HTTPS. But now my patience is running out.
      I am perfectly comfortable with SEO mode. And my Google index and rank is perfect as it is.
      Can I skip URI and go for "convert to HTTPS directly"? Or am I doing a big mistake here. Thanksome for you advice. I planned to skip mixed mode last summer. Time flies by and I want to implement it ASAP.

      Comment


        #4
        Hi André,

        You can convert to HTTPS without using URI Management, it may require a little more page editing to make sure all the links work as expected. If you are having troubles with URI Management, I would recommend contacting support so they can take a look at it.
        Matt Zimmermann

        Miva Web Developer
        Alchemy Web Development
        https://www.alchemywebdev.com
        Site Development - Maintenance - Consultation

        Miva Certified Developer
        Miva Professional Developer

        https://www.dev4web.net | Twitter

        Comment


          #5
          Thanks for your encouragement and support. I will take another shot at it, the third attempt on my Dev. , Now that I know that I should watch the linking and sluggified values. And I tested the .htaccess update manually and automatically through admin. Cheers...

          Comment

          Working...
          X