Results 1 to 10 of 15

Hybrid View

  1. #1
    Join Date
    Apr 2007
    Posts
    86
    Plugin Contributions
    0

    Default Creating a unique URL for a category

    What would be the best way about creating a unique URL for a specific category.
    For example:
    http://www.homepage.com/category1

    ...and then when you go to that url you are automatically taken to category1's page.

    I am guessing it would have something to do with adding a new folder called category1, right? But then what goes inside?

  2. #2
    Join Date
    Apr 2007
    Posts
    86
    Plugin Contributions
    0

    Default Re: Creating a unique URL for a category

    Anyone have any ideas?

  3. #3
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Creating a unique URL for a category

    All of the data in Zen Cart is stored in the database not files.

    If you want names in your URL you will have to look at one of the SEO URL addons, But they are not needed to get your site spidered and ranked.
    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.

  4. #4
    Join Date
    Apr 2007
    Posts
    86
    Plugin Contributions
    0

    Default Re: Creating a unique URL for a category

    Thanks for the response.

    I am not looking to do this for better page rank. It is for a sort of site within a site. I need to make it easier to access that specific category without having to go to the main page first.

    I cant exactly use http://site.com/index.php?main_page=index&cPath=000

    instead its more like www.site1.com/site2

    Can I do it without the SEO URL addons? Any suggestions as to the easiest, simplest one? I don't want to do this for any other categories, just one of them.

  5. #5
    Join Date
    Apr 2007
    Posts
    86
    Plugin Contributions
    0

    Default Re: Creating a unique URL for a category

    If make a new directory called "category1"... is there a way to direct traffic from there to the category I am trying to make a new URL for?

    Maybe some HTML or something to redirect from www.site.com/category1 to the actual category?

  6. #6
    Join Date
    Apr 2008
    Location
    London
    Posts
    596
    Plugin Contributions
    0

    Default Re: Creating a unique URL for a category

    Possibly use a rewrite rule?

    In htaccess put:

    RewriteRule ^site2$ /index.php?main_page=index&cPath=000

    This would change this url:
    http://domain.com/index.php?main_page=index&cPath=000

    to http://domain.com/site2

 

 

Similar Threads

  1. v139h creating a url for a hidden product
    By karine in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 27 Jul 2016, 11:00 PM
  2. Creating Unique Product Ids based on Attributes
    By TwitchDesign in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 9 Mar 2011, 08:42 PM
  3. Product layout unique for each category?
    By DocRocks in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 23 Jun 2008, 09:53 AM
  4. Programming for a unique URL Structure?
    By 5869 in forum General Questions
    Replies: 2
    Last Post: 7 Nov 2007, 06:12 PM
  5. how: a unique footer for every product and category
    By profitshock in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 1 Oct 2006, 04:47 AM

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