2

Ok so i have about 15 footer links of pages at my homepage.I have all the pages designed and i have set them all in footer static block.But i can access them only from my homepage if i access them from any category page or checkout page it gives an 404 error page not found. Details: For example here is my page FAQ: The URL Key of FAQ page is:

apollo-faqs

whereas in footer static block the link of FAQ is as under:

<li> <a href="apollo-faqs">FAQ's</a> </li>

My site's url is: My Site

2 Answers 2

6

you need to put the links like this:

<a href="{{store _direct="diapollo-faqs"}}">FAQ's</a>
1
  • It works wonders.Thanks mate thanks a million. Commented Jul 15, 2015 at 11:30
-4

Looks like you just need a forward slash / in front of your link, so it would be...

<li> <a href="/apollo-faqs">FAQ's</a> </li>
2
  • 2
    this won't work if you use the store codes in url or if you have magento installed in a subfolder.
    – Marius
    Commented Jul 15, 2015 at 7:53
  • @user3346078 - I tried this earlier but it did not work. Commented Jul 15, 2015 at 11:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.