Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,673
    Plugin Contributions
    1

    Default are redirects needed when store moved from root to folder

    I recently moved a store from the root to now be in a folder, /store. Do I need to redirect previous urls to new ones, i.e. domain/category1 redirected to domain/store/category1 ? If so will redirecting the categories with a trailing "/" suffice for redirection of all products included in the category rather than having to redirect every product url?

    cheers,
    Mike

  2. #2
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: are redirects needed when store moved from root to folder

    Quote Originally Posted by shags38 View Post
    I recently moved a store from the root to now be in a folder, /store. Do I need to redirect previous urls to new ones, i.e. domain/category1 redirected to domain/store/category1 ? If so will redirecting the categories with a trailing "/" suffice for redirection of all products included in the category rather than having to redirect every product url?

    cheers,
    Mike
    So are you using a URI rewriter as part of the naming convention?

    Yes in some way customers should be redirected to your new location. Regarding the rewrite based on categories above, need to ensure passing the remaining text of the URI after the end of the category. Ideally should be comparing the category up to either the end of the line or the next slash. (What if 2 categories exist(ed) such as brand and brandname then simply redirecting brand would also redirect brandname.) Just some things to consider. I don't believe I have a full answer at this time.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. Replies: 23
    Last Post: 8 Oct 2014, 05:32 AM
  2. Move store from folder to root
    By joem83 in forum General Questions
    Replies: 7
    Last Post: 20 Aug 2012, 07:27 PM
  3. Moving a store to the root directory from a sub-folder
    By Hell Guapo in forum General Questions
    Replies: 3
    Last Post: 21 Sep 2011, 05:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg