diff --git a/collector/utils/extensions/Confluence/index.js b/collector/utils/extensions/Confluence/index.js
index 4436fc88a53e0bcc0e5293bc086e696d85bdce51..aada1322cc18957074e1daef19dea51d27e36f56 100644
--- a/collector/utils/extensions/Confluence/index.js
+++ b/collector/utils/extensions/Confluence/index.js
@@ -207,9 +207,8 @@ async function fetchConfluencePage({
  */
 function generateAPIBaseUrl(matchResult = {}, isCustomDomain = false) {
   const { subdomain } = matchResult;
-  let subpath = isCustomDomain ? `` : `/wiki`;
-  if (isCustomDomain) return `https://${customDomain}${subpath}`;
-  return `https://${subdomain}.atlassian.net${subpath}`;
+  if (isCustomDomain) return `https://${subdomain}`;
+  return `https://${subdomain}.atlassian.net/wiki`;
 }
 
 /**