How to Create a Webpage URL for a Word or PDF Document
Question details
The user wants to create a custom HTML webpage URL (such as /en/privacy-policy) to display the contents of a Word or PDF document, rather than having the file load directly in the browser's document viewer.

- Product
- BigCommerce / Website CMS
- Device & OS
- not provided
- Scenario
- Adding a document link (like a privacy policy or terms and conditions) to a BigCommerce store or website.
- Observed behavior
- Clicking the document link currently opens the file in the browser's default PDF or Word viewer instead of rendering it as a standard HTML webpage with a custom URL path.
Ensure you have administrator access to your website's Content Management System (CMS), such as the BigCommerce dashboard, to create new pages or configure URL redirects.
Create a Dedicated Webpage for the Document Content
The most effective method is to convert your PDF or Word document content into a standard HTML webpage within your CMS, allowing you to use custom URLs.
Directly linking to a PDF or Word document will always trigger the browser's file viewer or prompt a download. To achieve a custom URL like /en/privacy-policy, the content must be hosted on an actual webpage.
Open your Word or PDF document on your computer and copy all the text you wish to display on your website.
Log into your BigCommerce admin panel. Navigate to Storefront > Web Pages and click on 'Create a Web Page'.
In the Page Content section, paste the copied text into the WYSIWYG editor and format it to match your website's style.
Scroll down to the 'Web Page Details' section and enter your desired custom URL (e.g., /en/privacy-policy) in the 'Page URL' field.
Save your changes. The document content is now accessible via a standard HTML webpage URL.

Configure 301 URL Redirects to the PDF File
If you prefer to keep the document in PDF format but want a cleaner link for sharing, you can set up a URL redirect in your CMS.
Create and Format Website Documents with WPS Office
While you need a CMS like BigCommerce to host your webpages, creating professional privacy policies, terms, and guides is seamless with WPS Office. It perfectly handles Word and PDF files, giving you a powerful offline workspace before publishing online.
- 1. Draft your content: Open WPS Writer to create a new document for your website's privacy policy or terms of service.
- 2. Format cleanly: Use the built-in styling tools to structure your headings and paragraphs, making it easy to copy and paste into your website's HTML editor.
- 3. Export to PDF: If you need to provide a downloadable version for your users, click Menu > Export to PDF to generate a secure file.

Frequently Asked Questions
Why does my PDF link open in the browser instead of downloading?
Modern web browsers are equipped with built-in PDF viewers that default to displaying the file immediately. To force a download instead, web developers must add a 'download' attribute to the HTML anchor tag of the link.
Can I embed a PDF directly into a BigCommerce webpage?
Yes. Instead of just linking to the file, you can use an HTML <iframe> tag or an <embed> tag within your BigCommerce WYSIWYG editor. This displays the PDF inside your custom webpage while keeping your site's header and navigation visible.
Is it better to use a PDF or a standard webpage for a privacy policy?
It is highly recommended to use a standard HTML webpage. HTML pages load faster on mobile devices, adapt to different screen sizes, are easier for search engines to index, and integrate perfectly with your website's custom URL structure.
How do I convert a Word document to a PDF before uploading it?
You can easily convert files using software like WPS Office. Simply open your Word document in WPS Writer, click on 'Menu' in the top-left corner, and select 'Export to PDF'. This will create a high-quality PDF ready for upload.




