NetwiseHosting Posted February 24, 2010 Share Posted February 24, 2010 Hi All, I hope it is something obvious, but I have followed the simple WHMCS tutorial on enabling SEO Friendly URL's in the knowledgase but I am now getting a 404 error. Just to make it clear, I have enabled the option in the control panel and renamed the .htaccess file without the .txt any help would be gratefully received. Kind regards, Matthew 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted February 25, 2010 WHMCS Support Manager Share Posted February 25, 2010 The file is called htaccess.txt by default and needs to be renamed to .htaccess You also need mod_rewrite configured on your server. 0 Quote Link to comment Share on other sites More sharing options...
PowerChaos Posted January 13, 2011 Share Posted January 13, 2011 i know that i am a bit late to answer on this but i got the same kinda problem exept that i do not get a 404 error , but i just get nothing ( it stays at his dir ) and mod rewrite is working for 100% as my seo directory is using it to and a few other sites of me here is the link (in case of intrest) http://cp.powerchaos.com/knowledgebase/2/Windows-XP that just go back to my main page of the KB dir , but it does not give a error ( so it basicly works but not like it need to be ) here is my htacces file RewriteEngine On Options +FollowSymLinks Options -Indexes # Announcements RewriteRule ^announcements/([0-9]+)/[a-z0-9_-]+\.html$ ./announcements.php?id=$1 [L,NC] RewriteRule ^announcements$ ./announcements.php [L,NC] # Downloads RewriteRule ^downloads/([0-9]+)/([^/]*)$ ./downloads.php?action=displaycat&catid=$1 [L,NC] RewriteRule ^downloads$ ./downloads.php [L,NC] # Knowledgebase RewriteRule ^knowledgebase/([0-9]+)/[a-z0-9_-]+\.html$ ./knowledgebase.php?action=displayarticle&id=$1 [L,NC] RewriteRule ^knowledgebase/([0-9]+)/([^/]*)$ ./knowledgebase.php?action=displaycat&catid=$1 [L,NC] RewriteRule ^knowledgebase$ ./knowledgebase.php [L,NC] Greets From PowerChaos 0 Quote Link to comment Share on other sites More sharing options...
dannyl Posted February 2, 2011 Share Posted February 2, 2011 Hi, what happened with this? I have the same problem as PowerChaos. 0 Quote Link to comment Share on other sites More sharing options...
zemon Posted February 27, 2011 Share Posted February 27, 2011 The same with me been using WHMCS for over two years and have never been about to get this to work. 0 Quote Link to comment Share on other sites More sharing options...
nay27uk Posted March 1, 2011 Share Posted March 1, 2011 I had the same problems blank page its like it is not creating the .html files 0 Quote Link to comment Share on other sites More sharing options...
mojorise Posted March 16, 2011 Share Posted March 16, 2011 FYI - I just had the same problem and then realised that I had renamed htaccess.txt to htaccess and not .htaccess (I forgot to add the dot to the front) - works fine now.... Doh! On the same subject - my knowledgebase SEO friendly URL's have a number where the category name should be ie: mydomain/clientarea/knowledgebase/2/Configuring-Email-on-an-iPhone.html i would prefer it to read mydomain/clientarea/knowledgebase/email/Configuring-Email-on-an-iPhone.html Any help much appreciated Cheers 0 Quote Link to comment Share on other sites More sharing options...
PowerChaos Posted January 4, 2012 Share Posted January 4, 2012 ok it is now a long time ago from last reply but i still got the same problem if i enable the KB all other mod rewrites are working perfect so its not realy mod rewrite as this is just refusing to work do some1 got a solution to this problem ? Greeetings From PowerChaos 0 Quote Link to comment Share on other sites More sharing options...
cavamondo Posted January 26, 2012 Share Posted January 26, 2012 Did you set AllowOverride None to AllowOverride All in your httpd.conf? 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted January 26, 2012 Share Posted January 26, 2012 You dont have the KB SEO option enabled in your WHMCS config. Even with the .htaccess rules setup, you need that in order for it to work. its under Setup -> General Settings -> Support The option is called "KB SEO Friendly URLs" Enable that, and it will work. 0 Quote Link to comment Share on other sites More sharing options...
JewelHost Posted January 27, 2012 Share Posted January 27, 2012 i know that i am a bit late to answer on this but i got the same kinda problem exept that i do not get a 404 error , but i just get nothing ( it stays at his dir ) and mod rewrite is working for 100% as my seo directory is using it to and a few other sites of me here is the link (in case of intrest) http://cp.powerchaos.com/knowledgebase/2/Windows-XP that just go back to my main page of the KB dir , but it does not give a error ( so it basicly works but not like it need to be ) here is my htacces file Looking at your link you still have htaccess named as htaccess.txt http://cp.powerchaos.com/htaccess.txt unless you have copied the contents into a file called .htaccess Can you confirm that you have renamed the htaccess.txt file in the root directory of the 0 Quote Link to comment Share on other sites More sharing options...
josuito Posted February 15, 2012 Share Posted February 15, 2012 I just changed the htaccess.txt to .htaccess and problem solved. Also i added the error pages in it. 0 Quote Link to comment Share on other sites More sharing options...
VoiNetworks Posted February 17, 2012 Share Posted February 17, 2012 The same with me been using WHMCS for over two years and have never been about to get this to work. You need to disable MultiViews in Apache or .htaccess See http://stackoverflow.com/questions/7666487/how-to-prevent-apache-mod-rewrite-from-treating-path-as-file-with-same-name for more details 0 Quote Link to comment Share on other sites More sharing options...
m0b1us Posted July 1, 2013 Share Posted July 1, 2013 have anyone already found the solutions for this? thanks FYI - I just had the same problem and then realised that I had renamed htaccess.txt to htaccess and not .htaccess (I forgot to add the dot to the front) - works fine now.... Doh! On the same subject - my knowledgebase SEO friendly URL's have a number where the category name should be ie: mydomain/clientarea/knowledgebase/2/Configuring-Email-on-an-iPhone.html i would prefer it to read mydomain/clientarea/knowledgebase/email/Configuring-Email-on-an-iPhone.html Any help much appreciated Cheers 0 Quote Link to comment Share on other sites More sharing options...
PowerChaos Posted October 10, 2013 Share Posted October 10, 2013 This solution seems to work for me RewriteEngine On Options +FollowSymLinks Options -Indexes Options -MultiViews # Announcements RewriteRule ^announcements/([0-9]+)/[a-z0-9_-]+\.html$ ./announcements.php?id=$1 [L,NC] RewriteRule ^announcements$ ./announcements.php [L,NC] # Downloads RewriteRule ^downloads/([0-9]+)/([^/]*)$ ./downloads.php?action=displaycat&catid=$1 [L,NC] RewriteRule ^downloads$ ./downloads.php [L,NC] # Knowledgebase RewriteRule ^knowledgebase/([0-9]+)/[a-z0-9_-]+\.html$ ./knowledgebase.php?action=displayarticle&id=$1 [L,NC] RewriteRule ^knowledgebase/([0-9]+)/([^/]*)$ ./knowledgebase.php?action=displaycat&catid=$1 [L,NC] RewriteRule ^knowledgebase$ ./knowledgebase.php [L,NC] in short , be sure those items are at top RewriteEngine On Options +FollowSymLinks Options -Indexes Options -MultiViews took me a long time to find this solution , but the solution finaly works the 2 things that are added are the mutliview and the followsymlinks hopely this can also solve it for you Greetinsg From PowerChaos 0 Quote Link to comment Share on other sites More sharing options...
PhatPT Posted October 12, 2013 Share Posted October 12, 2013 You cant do it with WHMCS SEO URL. WHMCS SEO URL format: /knowledgebase/ID/Tile-topic.html My site SEO URL format: /knowledgebase/ID-Tile-topic.html 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.