Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2017
    Location
    Chino
    Posts
    6
    Plugin Contributions
    0

    Default How do I create an easier URL for a page on our site?

    This may be more of a general website building question that something specific for Zencart.

    We've recently added a survey to our website to get feedback from customers. The author of the survey says we can use:
    www.lm-herbs.com/index.php?main_page=survey
    to get to the survey.

    We would like to be able to send this link to customers in the form of a flyer we put in the package, but that would be too much to put on a flyer and too much to expect the customer to type or remember. We would like to have it be something simple like:
    lm-herbs.com/survey
    and have that redirect customers to the survey.

    How would I best go about accomplishing that?

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    6,553
    Plugin Contributions
    89

    Default Re: How do I create an easier URL for a page on our site?

    You could just do an .htaccess redirect from a shorter name (lm-herbs.com/survey) to the canonical name of the Zen Cart page.
    That Software Guy, Plugin Moderator. Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.

  3. #3
    Join Date
    Jul 2012
    Posts
    14,290
    Plugin Contributions
    17

    Default Re: How do I create an easier URL for a page on our site?

    I've had people say to use bit.ly or some other url "compressor" to redirect where the remainder of the link is easy to remember. This and the previous suggestion are good for "one-offs", but if there are to be a lot of such links, may want to go with something that would end up being more manageable.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...
    Upgraded to Zen Cart V1.5.3 from V1.5.1 from V1.5.0 from V1.3.9h

  4. #4
    Join Date
    Jun 2017
    Location
    Chino
    Posts
    6
    Plugin Contributions
    0

    Default Re: How do I create an easier URL for a page on our site?

    I am afraid I am not that good with computers nor have I actually learned any of this. I found this website:
    https://www.htaccessredirect.net/

    and it generated the following code:
    //301 Redirect Old File
    Redirect 301 www.lm-herbs.com/index.php?main_page=survey lm-herbs.com/survey

    I am just going to assume I did this wrong.

    The process of taking the code and making it an htaccess redirect is copying the code into Notepad, saving it as a text file, upload it to the website and rename it into an .htaccess file. (I am going to assume I don't have that quite right as well). Where in the directory would I upload that file to?

 

 

Similar Threads

  1. How I may change it so the ZenCart appears on our normal URL link?
    By Rxmed in forum Installing on a Linux/Unix Server
    Replies: 6
    Last Post: 18 Nov 2009, 11:23 PM
  2. Replies: 25
    Last Post: 28 Jun 2009, 07:54 AM
  3. Sitemap for multi site?? Any one know how to create it?
    By kimsonvu in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 6 Sep 2008, 09:08 PM
  4. Replies: 7
    Last Post: 14 Aug 2007, 07:42 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR