Ensuring that PDF links on your Webflow staging site open in a new window and setting the links to have a domain-matching URL is crucial for maintaining a seamless user experience. Here’s how you can achieve that:
1. Open PDF Links in a New Window
- Select the Link: Click on the link element in the Webflow Designer where you've added the PDF link.
- Set to Open in New Tab: In the Link Settings panel, check the option ‘Open in New Tab’. This setting ensures that when users click on the link, the PDF will open in a new browser tab, providing a smooth navigation experience.
2. Use Domain-Matching URL for PDF Files
- Upload PDF: First, upload the PDF to your Webflow assets. Click on the Assets panel and upload your PDF file.
- Copy the URL: After uploading, right-click on the PDF file and select ‘Copy Link’. This URL will match the Webflow staging domain.
- Set Link: In the link element settings, paste the copied URL as the link destination. Ensure that this URL begins with your staging domain to maintain consistency.
Summary
To ensure your PDF links on a Webflow staging site open in a new window, adjust the link settings to 'Open in New Tab'. To match the domain, upload the PDF to assets and copy the URL directly from Webflow. This keeps your links consistent with the staging site's domain.