Guides & TutorialsMarketConnect TroubleshootingTroubleshooting a 404 Error or Unexpected Page

Troubleshooting a 404 Error or Unexpected Page

If products are enabled in MarketConnect, but the landing pages (eg. Website Builder, SSL Certificates, Email Services) are not displaying when you click the links under the Store menu, and instead you see either:

  • A 404 Page Not Found error
  • A different page, be it on your own website or the WHMCS index page.

This issue is typically caused by mod_rewrite rules or redirects configured outside of WHMCS.

Updating the .htaccess file is the usual method of resolution. Only Apache-based web servers support this file. If you are using Nginx, this method will not work. WHMCS is ONLY tested on Apache.

Using your preferred FTP program or File Manager, connect to your website and visit the directory above your WHMCS installation.

Search for any files named .htaccess and take backups of them.

Remove the .htaccess file temporarily (by renaming or deleting it).

Now try visiting the Store links again.

If the problem is resolved, restore the file back and analyse the contents for mod_rewrite rules or redirects. Try removing each rule one-by-one until the problem is permanently corrected.

If the problem continues , go to the Admin Area Dashboard. From there, go to Configuration > System Settings > General Settings.

If the 404 error prevents you from accessing Configuration > System Settings, type the filename into your browser's URL bar: configgeneral.php

Scroll to the bottom of the page to the Friendly URLs section.

Click Advanced Settings to the right of the Friendly URLs menu.

Click the Rewrite File tab

  1. Ensure the Auto-Managed Rewrite option is set to ON
  2. If the "WHMCS Rules" option shows Out of Sync, click the Synchronise button

Once these changes  have been made successfully. Click Close.

The MarketConnect landing pages (eg. Website Builder, SSL Certificates, Email Services) should now be accessible via the Store menu in your public and client area pages.