On the CPT archive page I have custom fields setup as "download" buttons. The one field in question has a URL inserted from a 3rd party site. This use to work, but somewher in the process it's prepending the URL with the actual website domain:
Correct URL:
versteckter Link
Incorrect URL:
versteckter Link

Nigel
Unterstützer
Sprachen:
Englisch (English )
Spanisch (Español )
Zeitzone:
Europe/London (GMT+01:00)
I assume you have labelled the correct URL and incorrect URL the wrong way round.
It looks like the incorrect URLs are being treated as relative URLs rather than absolute URLs so the site URL is being prepended, but we'd likely need to take a look at how you have this set up to understand what's going on.
Let me mark your next reply as private so that we can get log-in credentials from you—you may want to create a temporary admin user for us to use that you can later delete. And be sure to have a current backup of your site.
Can you also confirm which archive we should be looking at, and which custom field is being output.
CPT is "Supply Chain management"
Archive in Question is "Tenders and Contracts Cancelled"
Doesnt seem like my reply is private, can you please confirm before I insert login details

Nigel
Unterstützer
Sprachen:
Englisch (English )
Spanisch (Español )
Zeitzone:
Europe/London (GMT+01:00)
Sorry, there was a glitch in our system and this thread has been lost in no-man's land until now.
Let me try again with the private reply to get credentials.

Nigel
Unterstützer
Sprachen:
Englisch (English )
Spanisch (Español )
Zeitzone:
Europe/London (GMT+01:00)
Sorry, but I'm going round in circles trying to find where the problem is, the CPT and archive you describe, I can't find either.
Can you please guide me to where exactly I can see the problem.
See link below to a archive for CPT where issue an be seen:
versteckter Link
Problem is that the URL for the link/download buttons are this:
versteckter Link
It should be this:
versteckter Link
The URL's are being prepended with "george.gov.za/" which is causing issues.

Nigel
Unterstützer
Sprachen:
Englisch (English )
Spanisch (Español )
Zeitzone:
Europe/London (GMT+01:00)
I checked the first post in the results, "Monthly Award Tenders – September 2021", looking at the Document Upload URL field.
The URL is invalid, it begins https:/ rather than versteckter Link, and so Types appears to assume it is a relative URL rather than an absolute URL, and hence prepends the actual site URL.
I changed the value for just that post, and checked on the front-end, where it works.
You'll need to edit your remaining posts wherever they are using invalid URLs and replace with valid URLs.