magga Posted July 10, 2008 Share Posted July 10, 2008 Yeah I've been messing with it for a while too trying to get it working but I've found that to be the best solution! 0 Quote Link to comment Share on other sites More sharing options...
goddess_dix Posted July 10, 2008 Share Posted July 10, 2008 this will then only force the base href on the knowledgebase page! now why didn't i think of something simple like that? thank you. 0 Quote Link to comment Share on other sites More sharing options...
Mr.D Posted July 10, 2008 Share Posted July 10, 2008 well doing this eventually will make problems for you in upgrade. 0 Quote Link to comment Share on other sites More sharing options...
goddess_dix Posted July 16, 2008 Share Posted July 16, 2008 customizing your templates and adding an .htaccess does not make problems for upgrading. you make a copy of templates to customize them, not customize the default set. 0 Quote Link to comment Share on other sites More sharing options...
in45 Posted July 25, 2008 Share Posted July 25, 2008 Great solution, but has anybody gotten this working with the Kayako integration? 0 Quote Link to comment Share on other sites More sharing options...
jkook Posted July 29, 2008 Share Posted July 29, 2008 Good.. I am using this method for about 1 month, but google/yahoo search doesn't crawl knowledgebase web address. Of course, I updated sitemap. What about your sites guys? 0 Quote Link to comment Share on other sites More sharing options...
netmotiv8 Posted July 31, 2008 Share Posted July 31, 2008 I have done all the necessary changes as specified, yet when I view the knowledgebase I still get the original links not the SEO friendly ones Any ideas? 0 Quote Link to comment Share on other sites More sharing options...
sfortuna Posted August 5, 2008 Share Posted August 5, 2008 Very helpful. Thanks for putting this together. 0 Quote Link to comment Share on other sites More sharing options...
arteryplanet Posted August 9, 2008 Share Posted August 9, 2008 After many changes i got this working as i wish....but now im concerned about duplicated content at google, sing this a page that is passing the variables continue available. I mean, the urls are friendly now but if you use the old (default) format it also working this could end up as a duplicated content at google, wondering if someone tweaked so the default url format/article is redirected to the new url format article using 301? Thanx! 0 Quote Link to comment Share on other sites More sharing options...
aXeR Posted August 12, 2008 Share Posted August 12, 2008 Has there been any word from WHMCS regarding whether they intend to implement this into a future release yet? Cheers 0 Quote Link to comment Share on other sites More sharing options...
ESolutions Posted August 24, 2008 Share Posted August 24, 2008 Can we add this to the next WHMCS release? 0 Quote Link to comment Share on other sites More sharing options...
Zorro67 Posted September 2, 2008 Share Posted September 2, 2008 Seeing as this thread is about seo, just wanted to give a couple of you a heads up that _ connects 2 words into one, wheras - defines 2 separate words. So better results will be found by "setting the bar higher" 0 Quote Link to comment Share on other sites More sharing options...
Zorro67 Posted September 2, 2008 Share Posted September 2, 2008 Now for the more difficult question. Has anyone successfully implemented this with the name of the category in the link instead of the the cat id no.? 0 Quote Link to comment Share on other sites More sharing options...
magga Posted September 5, 2008 Share Posted September 5, 2008 You could do this quite easily manually by adding each category into your .htaccess and then making the knowledgebase change the number into a category which the .htaccess would then change back effectively.. I might give it a go! 0 Quote Link to comment Share on other sites More sharing options...
Zorro67 Posted September 8, 2008 Share Posted September 8, 2008 Magga, can you post an example of this if it works? Also, this could obviously work for other categories DL/Announcements etc. 0 Quote Link to comment Share on other sites More sharing options...
herpherp Posted September 8, 2008 Share Posted September 8, 2008 It took me awhile to get through all the different options as I was getting the 404 errors and once I got that correct I was receiving the css issues etc... To fix the 404 errors I simply removed the / before the path in the .htaccess file as my install is not in the root path to fix the css issues I tried all the options provided and to conclude the above if statement worked great and so did the changing to - instead of / ... so basically the codes I am utilizing currently are without changing the header.tpl and utilizing the - instead of / as this was what I chose... I just wanted to post the complete codes I am utilizing so that if anyone else is running into the same issues they can simply copy them instead of going through all the different options etc... Here is my .htaccess RewriteEngine On RewriteRule ^knowledgebase-([0-9]+)-([0-9]+)-[a-z0-9_-]+\.html$ knowledgebase.php?action=displayarticle&catid=$1&id=$2 [L,NC] RewriteRule ^knowledgebase-([0-9]+)-([^/]*)$ knowledgebase.php?action=displaycat&catid=$1 [L,NC] The code Below will replace everything between the first instance of <strong> and </strong> in both files knowledgebase.tpl & knowledgebasecat.tpl <a class="menu" href="knowledgebase-{$kbcat.id}-{$kbcat.name|regex_replace:"/ /":"-"|regex_replace:"/[\?\'\.\,\!]/":""}"> <img src="images/folder.gif" border="0" align="middle" alt="" /> {$kbcat.name}</a> The code Below will replace everything between the SECOND instance of <strong> and </strong> in both files knowledgebase.tpl & knowledgebasecat.tpl <a href="knowledgebase-{$kbarticle.category}-{$kbarticle.id}-{$kbarticle.title|regex_replace:"/ /":"-"|regex_replace:"/[\?\'\.\,\!]/":""}.html">{$kbarticle.title}</a> Thank you jasonBV for the great code, and thank you everyone else for helping get this functioning for the rest of us as well... 0 Quote Link to comment Share on other sites More sharing options...
Juanzo Posted September 10, 2008 Share Posted September 10, 2008 Would be great to have this by default. 0 Quote Link to comment Share on other sites More sharing options...
swg Posted October 2, 2008 Share Posted October 2, 2008 http://dev.whmcs.com/index.php?version=planned Look at Issue #482 !! 0 Quote Link to comment Share on other sites More sharing options...
Lawrence Posted October 2, 2008 Share Posted October 2, 2008 http://dev.whmcs.com/index.php?version=planned Look at Issue #482 !! And according to the status, it is already implemented (so expect to see it in the next release). The WHMCS guys continue to make me happy that I ditched WHMAP for them 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.