Announcement

Collapse
No announcement yet.

Migrate an Existing Store to Use the New URI Management features

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

    #16
    The first redirect would be handled via server rewrite that looks like:

    Code:
    RewriteCond %{QUERY_STRING} page=storecode/PROD/(.*)/(.*)
    RewriteRule ^.*$ https://www.domain.com/%2.html? [R=301,L]
    The question mark on the end strips any previous query string. This redirect would occur in the htaccess above the URI management rewrites. The subsequent request would be caught by URI management and handled in the way the store has been set.
    David Hubbard
    CIO
    Miva
    [email protected]
    http://www.miva.com

    Comment


      #17
      Originally posted by ILoveHostasaurus View Post
      The first redirect would be handled via server rewrite that looks like:

      Code:
      RewriteCond %{QUERY_STRING} page=storecode/PROD/(.*)/(.*)
      RewriteRule ^.*$ https://www.domain.com/%2.html? [R=301,L]
      The question mark on the end strips any previous query string. This redirect would occur in the htaccess above the URI management rewrites. The subsequent request would be caught by URI management and handled in the way the store has been set.
      Thank you.

      Comment

      Working...
      X