ghmercado Posted April 30 Share Posted April 30 my wordpress blog is at https://domain.com my whmcs is at https://domain.com/client admin is at https://domain.com/client/x the link to my hosting packages is working fine at https://domain.com/clients/index.php?rp=/store/managed-wordpress-hosting my created product link is also working https://domain.com/clients/index.php?rp=/store/qboxmail but when i click on ORDER NOW, it goes to https://domain.com/cart.php?a=confproduct&i=1 and this produces a wordpress 404 page. It was working bef ore i put in the wordpress blog. if its any help, here's my wordpress htaccess: # BEGIN WordPress # The directives (lines) between "BEGIN WordPress" and "END WordPress" are # dynamically generated, and should only be modified via WordPress filters. # Any changes to the directives between these markers will be overwritten. <IfModule mod_rewrite.c> RewriteEngine On RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress here's my whmcs configuration file <?php $license = ' Leased-b502e97aaf23fdba0fc1'; $db_host = 'localhost'; $db_username = 'somedir_whmadasdbuser'; $db_password = 'asdasdasda3f'; $db_name = 'wpasdasdasdhmdb'; $cc_encryption_hash = 'Jp2asdasdasdsdasdasdkOOf189MOylvMxTBQB0n'; $templates_compiledir = '/home/somedir/templates_d/'; $mysql_charset = 'utf8'; $templates_compiledir = "/home/somedir/templates_d/"; $attachments_dir = "/home/somedir/attchments/"; $downloads_dir = "/home/somedir/ddwnloads/"; $customadminpath = "x"; date_default_timezone_set('Asia/Manila'); $display_errors = false; $whmcspath = '/home/somedir/public_html/clients/x/'; ?> any help appreciated!! 0 Quote Link to comment Share on other sites More sharing options...
ghmercado Posted April 30 Author Share Posted April 30 fixed it, i forgot to change the whmcs system url in General > Settings to 'domain/clients' after i transferred whmcs to a subdirectory. 1 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.