
Note: There should be a CMS page for "Home Page" (name may be different) in CMS>pages in your admin panel.
Logic:
1) Create Subcategory with name "Home".
2) We will than redirect its link to "Home Page" CMS page.
Here are the steps:
Step 1: Create a Subcategory
To add page links to the top navigation:
- From the Admin panel, select Catalog > Manage Categories.
- On the Categories Management page, click Add Subcategory. Then, do the following:
- Enter a Name for the link.
- Scroll down to the bottom of the form, and set Is Active to “Yes.”
- Set Include in Navigation Menu to “Yes.”
- In the URL Key field, type the name of your page link in lowercase letters with hyphens instead of spaces. (For example,Home Page becomes home-page.)
- In the upper-right, click the Save Category button.
Step 2: Create a Redirect
- From the Admin panel, select Catalog > URL Rewrite Management.
- In the text box at the top of the Request Path column, type the URL key for the subcategory, and click Search. When the the subcategory appears, click to open the record.
- Copy the Target Path (whatever it may be) to the clipboard or write it down somewhere.
- Set Redirect to “Permanent (301),” and click Save.
Now, you will be on URL Rewrite Management page again. - In the upper-right corner of the URL Rewrite Management page, click the Add URL Rewrite button, and do the following:
- In the Create URL Rewrite list, select Custom. A form appears in the lower part of the page.
- In the ID Path text field, type the URL key of the page link. (For this example, home-page .)
- In the Request Path, either paste or type the Target Path value that you previously copied at point 3.
- In the Target Path field, type the URL for the Home Page. Here you can enter "../index.php" (without quotes).
- Set Redirect to “Permanent (301).”
- Click Save.
If you still find some issue with this, then please let me know. I will help you out.
This comment has been removed by the author.
ReplyDelete