bovsihosting Posted April 19, 2016 Share Posted April 19, 2016 Hey All, Brand new on the forum! I have a question for everyone. I am being told by whmcs support that the reason that a client completes a transaction and then does not see the complete.tpl page but instead sees a 404 error is because of issues with my htaccess file, as you can see below: "Hello, After doing some testing, it appears that a rule within one of your WordPress .htaccess files it is being triggered when requesting the cart.php page on the order complete step and quietly redirecting to an invalid URL. As this appears to be a WordPress .htaccess file, you will need to contact WordPress support or your hosting provider/server administrator to troubleshoot this file and adjust it accordingly. If you require further assistance, please don't hesitate to let us know. Best regards," I need to find what issue is occurring within my htaccess file that would cause this. I just looked moments ago, and see nothing referenced within my htaccess file. See here for htaccess file info: HTACCESS.txt --------------- RewriteEngine On # 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] # OpenID Discovery Document ([url]http://openid.net/specs/openid-connect-discovery-1_0.html[/url]) RewriteRule ^.well-known/openid-configuration ./oauth/openid-configuration.php [L,NC] RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L] 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted April 20, 2016 Share Posted April 20, 2016 if your WHMCS htaccess file is still called "htaccess.txt", then you can ignore it as WHMCS won't be using it - you would need to rename it to .htaccess to work. http://docs.whmcs.com/Support_Center#Search_Engine_Friendly_URLS from Support's response, they seem to be referring to a .htaccess file used by Wordpress - you should try looking in your wordpress folder or above to locate the .htaccess file causing the issue. 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.