54
Hi there
I did this (taken from a FAQ page
https://xoops.org/modules/smartfaq/faq.php?faqid=362)
The rest of that FAQ i didn't use because it did not suit my need.
FROM FAQ:
We are going to change several tags in the HTML and add a couple more:
So change (please note I have removed opening and closing "<" and ">" from the statements so this renders in HTML, you will need to fix the tags:
From:
meta name="keywords" content="<{$xoops_meta_keywords}>" /
To:
meta name="keywords" content="<{$xoops_pagetitle}>, <{$xoops_meta_keywords}>" /
From:
meta name="description" content="<{$xoops_meta_description}>" /
To:
meta name="description" content="<{$xoops_pagetitle}>, <{$xoops_meta_description}>" /
From:
body>
To:
body>
noscript> h1><{$xoops_pagetitle}> /h1> /noscript>
From:
img src="<{$xoops_imageurl}>images/logo.gif"
To:
img src="<{$xoops_imageurl}>images/logo.gif" alt="<{$xoops_pagetitle}>"
From:
{$xoops_footer}> |
To:
{$xoops_footer}> | a href="http://www.your-domain-here.com/" target="_self"> <{$xoops_pagetitle}> /a
FROM FAQ END:
Then on every relevant pagetemplate i took the title of a webpage and added it to the URL.
So that:
http://www.xray-mag.com/article/159Turns into
http://www.xray-mag.com/article/159/Ferry_sinks_in_Red_Sea_Because the headline is 'Ferry sinks in red sea'
And of course the mod_rewrite changes i have mentioned earlier in this thread.
Hope this helps.