MarketConnect 404 Errors

Problem

You have activated products in MarketConnect, but their landing pages are not displaying when you click the links in the store menu. Instead, you may see a 404 Page Not Found error, or the system may display a different page (for example, the WHMCS index page).

If you are using NGINX®, this solution will not work. We only test WHMCS on Apache® servers.

Cause

This issue may be due to mod_rewrite rules or redirects in the .htaccess file, or it may be due to your Friendly URLs setting.

Troubleshooting

To troubleshoot this issue, check your Friendly URLs settings and then try removing the .htaccess file.

Friendly URL Settings

To check whether the issue is due to your settings:

  1. Go to Configuration () > System Settings > General Settings and select the General tab.
  2. Find the Friendly URLs section and click Advanced Settings.
  3. Choose the Rewrite File tab.
  4. Check whether Auto-Managed Rewrite is disabled. If it is disabled, this may be the cause of the problem.
  5. Check whether WHMCS Rules displays an Out of Sync message. If it does, this may be the cause of the problem.

Solution

To resolve this issue:

  1. Set Auto-Managed Rewrite to ON.
  2. Click Synchronise next to WHMCS Rules.
  3. Click Save Changes.

.htaccess File Rules

To confirm that mod_rewrite rules or redirects are the issue, remove the .htaccess file and access the landing page:

  1. Using your preferred FTP program or File Manager, connect to your website and visit the directory above your WHMCS installation.
  2. Back up all of the .htaccess files in your WHMCS installation.
  3. Remove the .htaccess files temporarily. To do this, you can either rename the file or delete it.
  4. Try visiting the landing page again.

If the landing page loads successfully, this confirms the issue.

Solution

Restore the .htaccess file and analyze the contents for mod_rewrite rules or redirects. Try removing each rule, one rule at a time, until you find the problem.

Last modified: May 31, 2024