Knowledge Base

Search

  • Video block
  • Video Tutorials

  • Watch our easy-to-follow video tutorials for quick tips on designing and managing your store.
  • View Video Tutorials

Adding Page Links to the Main Menu

The main menu, or top navigation in the header of your store typically includes the selection of categories from your catalog. In addition, you can use URL rewrites to link to content pages and external websites, such as a blog.

Step 1: Create a Subcategory

  1. On the Admin menu, select Catalog > Manage Categories.
  2. In the Categories panel on the left, click the Add Subcategory button. Then, do the following:
    1. Enter a Name for the subcategory, as you want it to appear in the main menu.
    2. Scroll down to the bottom of the form, and set Is Active to “Yes.”
    3. Set Include in Navigation Menu to “Yes.”
    4. Assign a URL Key to the category.

      The URL keys of the category and linked page cannot be the same.  If the page URL key is “home,” then make the category URL key “home2.”

  3. In the category tree on the left, drag the new category to the position where you want it to appear in the menu.
  4. In the upper-right corner, click the Save Category button.
  5. Add Subcategory
    Add Subcategory
  6. Now, go to your storefront and make sure the new category appears in the main menu.
  7. New Category in Top Navigation
    New Category in Main Menu

Step 2: Create a Redirect

Magento Go has already created an entry in the URL Rewrite list for the subcategory you created. (If your store has additional views, there will be a separate entry for each.) In this step, you will create an additional redirect that links the subcategory to a specific page.

  1. On the Admin menu, select Catalog > URL Rewrite Management.
  2. In the list, find the entry for the subcategory you created. If you can’t find it do the following:

    In the filter box at the top of the Request Path column, type the URL key for the subcategory you created, and click the Search button. In this example, the Request Path is “contact-us.html”

  3. Search for Request Path
    Search for Request Path
  4. Open the record, and do the following:
    1. Drag to select the Target Path, and press Ctrl + C to copy it to the clipboard.
    2. Set Redirect to “Permanent (301).”
    3. When complete, click the Save button.
    Copy Target Path
    Copy Target Path

  5. In the upper-right corner of the URL Rewrite Management page, click the Add URL Rewrite button. Then, do the following:
    1. Set Create URL Rewrite to “Custom.”
    2. Create Custom URL Rewrite
      Create Custom URL Rewrite

    3. In the ID Path field, enter the URL key of the page to be linked. In this case, the URL key of the Contact Us page is “contacts/.”
    4. In the Request Path field, press CTRL + V to paste the Target Path that you recorded in the previous step.
    5. Paste Previous Target Path into Request Path
      Paste Previous Target Path into Request Path
    6. In the Target Path field, enter the path to the new page. For example:
      • contacts
        (URL key of the Contact Us page)
      • new-page
        (CMS page without suffix)
      • new-page.html
        (CMS page with suffix)
      • somewhere/new-page.html
        (Path to a target CMS page)
      • http://mystore.gostorego.com
        (Home page of store with shared domain)
      • http://mystore.com
        (Home page of store with custom domain)
      • http://my-blog.com
        (External website.)

      If you are not sure what to enter for the target path, go to your storefront and look at the URL of the page you want to use. The target path is immediately after: mystore.com/.

    7. Set Redirect to “Permanent (301).”
  6. When complete, click the Save button.
  7. On the Catalog menu, click Search Indexing. Then, click the Refresh Index button.
  8. Finally, go to the home page of your store, and click the link to make sure that it works correctly. That’s it!
  9. Redirected Contact Us Page
    Redirected Contact Us Page

    See also:

    Managing URL Rewrites