Page 1 of 1

SEO URL for information pages in opencart

Posted: Tue May 10, 2016 2:41 pm
by yennhikorea
I have created the a custom menu in the header where I put the links to About Us, Register and Contact Us.

Now I want to utilise SEO URL's. I've set the SEO URL keywords in admin, and all the pages work fine but the custom links aren't working.

Here's the customised code I've added to the header:

Code: Select all

<div class="nav">
      <ul>

        <li><?php foreach ($categories as $category) { ?><a href="<?php echo $category['href']; ?>"> <?php }?> Products</a></li>
        <li><a href="index.php?route=account/register">Register Now</a></li>
        <li><a href="index.php?route=information/information&information_id=4">About Us</a></li>
        <li><a href="index.php?route=information/information&information_id=7">The Company</a></li>
        <li><a href="index.php?route=information/information&information_id=8">iPhone App</a></li>
        <li><a href="index.php?route=information/contact">Connect@Cobra Razors</a></li>

        </ul>
    </div>

Re: SEO URL for information pages in opencart

Posted: Tue May 10, 2016 10:26 pm
by MarketInSG
since you've hard coded the URL, just change the URLs accordingly will do.