Hello,
I have all seo keywords for all my pages and they all work fine. Done the 'use seo urls' and changed the .htaccess etc etc.
If you look at my website and choose an information page at the bottom, you will see in the address at the top, that the seo keyword will appear. However, the links on the menu 'training' - 'kit list' - 'photo gallery' and 't-shirts', they are all information pages that i have not got shown in the footer as i don't want them to act as information pages, and the seo keywords do not work for them and don't appear in the address at the top. Can anyone tell me how to make the keywords work for these pages?
Website: www.activemountaineering.co.uk
Thanks
I have all seo keywords for all my pages and they all work fine. Done the 'use seo urls' and changed the .htaccess etc etc.
If you look at my website and choose an information page at the bottom, you will see in the address at the top, that the seo keyword will appear. However, the links on the menu 'training' - 'kit list' - 'photo gallery' and 't-shirts', they are all information pages that i have not got shown in the footer as i don't want them to act as information pages, and the seo keywords do not work for them and don't appear in the address at the top. Can anyone tell me how to make the keywords work for these pages?
Website: www.activemountaineering.co.uk
Thanks
Make sure the controller building the links is using:
And SEO Keyword is set for the pages.
If you hardcoded the menitems, replace :
With:
Where SEO_KEYWORD_FOR_PAGE is the actual keyword you entered.
Code: Select all
$this->url->link('information/information', 'information_id=' . $result['information_id'])
If you hardcoded the menitems, replace :
Code: Select all
http://www.activemountaineering.co.uk/index.php?route=information/information&information_id=8
Code: Select all
http://www.activemountaineering.co.uk/SEO_KEYWORD_FOR_PAGE
Thanks for the reply.
In what file is that first piece of coding in? Or the route to the folder?
Cheers
In what file is that first piece of coding in? Or the route to the folder?
Cheers
I cant seem to find the first piece of code you said. I see this, which is similar:
Code: Select all
$this->data['informations'][] = array(
'title' => $result['title'],
'href' => $this->url->link('information/information', 'information_id=' . $result['information_id'])
I didn't have to enter any values; this is how we do the custom links.
Attachments
links.JPG (89.08 KiB) Viewed 932 times
I am sure you entered the url.
Edit url for example of Link1: Training
When value of url is:
Edit url for example of Link1: Training
When value of url is:
Then change into SEO url and save.
Oh right yeah sorry, didn't know what you meant at first.
That's worked. Thank you very much for all your help!

That's worked. Thank you very much for all your help!


Who is online
Users browsing this forum: Semrush [Bot] and 13 guests