Thread: Page Redirects

Results 1 to 7 of 7
  1. #1
    Join Date
    Feb 2004
    Posts
    174
    Plugin Contributions
    0

    Default Page Redirects

    We are about to take our new site live soon, but we are going to change the cuerrent director structure from www.website.com/zen-cart-v1.1.3/ to www.website.com/shop/ is there a way to catch all the customers who have bookmarked the old site and send them to the new url?

    Ive played with htaccess files, but cant get it to work well enough

    thanks

    Andy

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Page Redirects

    You did not post your htaccess attempt but this format should take care of this
    Code:
    RewriteEngine on
    RewriteCond %{HTTP_HOST} !^www.maindomain.com/zen-cart-v1.1.3/$
    RewriteRule ^(.*)$ http://www.maindomain.com/shop/$1 [R=301]
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Feb 2004
    Posts
    174
    Plugin Contributions
    0

    Default Re: Page Redirects

    thanks

    i guess i only change www.maindomin.com to our domain?

    Andy

  4. #4
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: Page Redirects

    Are you really using Zen Cart version 1.1.3?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  5. #5
    Join Date
    Feb 2004
    Posts
    174
    Plugin Contributions
    0

    Default Re: Page Redirects

    no, its just how long ago we started using it, and kept the dir structure, which is why we are changing it with the re worked website, the current version is 1.3.7

    Andy

  6. #6
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: Page Redirects

    Whew! May I suggest you rename the directory to catalog or something innocuous - very easy to do - then just change your 2 config files to match.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  7. #7
    Join Date
    Feb 2004
    Posts
    174
    Plugin Contributions
    0

    Default Re: Page Redirects

    hi
    yes we are going to do just that, but dont want the 404 error page not found, from bookmarked pages, so will use the code kobra posted to achieve this

    thanks

    Andy

 

 

Similar Threads

  1. Admin page redirects to alert page
    By lakepantim in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 21 Oct 2010, 04:38 AM
  2. Page redirects
    By celticwebsolutions in forum General Questions
    Replies: 11
    Last Post: 24 May 2010, 09:31 AM
  3. Timed page redirects
    By 0be1 in forum General Questions
    Replies: 7
    Last Post: 7 Jul 2008, 05:49 PM
  4. Home redirects to Product Page
    By Moose408 in forum General Questions
    Replies: 3
    Last Post: 3 Oct 2006, 09:33 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