> For the complete documentation index, see [llms.txt](https://helpdesk.ldtsoft.work/ldt-digital-downloads/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helpdesk.ldtsoft.work/ldt-digital-downloads/settings-and-customization/how-to-customize-the-download-portal.md).

# How to customize the download portal

Change the portal URL, its style, the pages it offers, the download limits and who may open it, all from Settings.

Make the download portal yours: set its address, open the style customizer, choose which pages it offers and decide how long customers can download.

### 1. Open the download portal settings

Go to **LDT Digital Downloads → Settings → Download portal**.

Everything about the portal is on this page: the URL, the pages it serves, the style, the download rules and the access control.

![Download portal settings with Customize portal URL and Customize portal style](https://1863660695-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iG7j4lDhziM0FqdCCU8%2Fuploads%2Fgit-blob-d6574a9c200fda8c702df5e14bbc9b7999d2f6e0%2Fsettings-download-portal.png?alt=media)

### 2. Set the portal URL

Under **Page URL** the app shows the address of the portal. Click **Customize portal URL** to change the path — the hint shows the shape to use, for example **/apps/ldt-digital**. Keep the path short: it is the link you hand out.

![Download portal settings with the Page URL rows and the Customize portal URL button](https://1863660695-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iG7j4lDhziM0FqdCCU8%2Fuploads%2Fgit-blob-80afcdcfac5dc3829a00a60793fc75bcde590b60%2Fsettings-portal-url.png?alt=media)

### 3. Open the style customizer

Click **Customize portal style** to open the portal designer. There you lay out the library and the order pages with your own colours and text, so the portal looks like the rest of your store instead of a plain list of files.

![Download portal settings with the Customize portal style button](https://1863660695-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iG7j4lDhziM0FqdCCU8%2Fuploads%2Fgit-blob-b1225aaa1753a7febe16940868cc4b55f9bf60ae%2Fsettings-portal-style-button.png?alt=media)

### 4. Choose which pages the portal offers

* **Digital library page** — the page that lists everything a customer owns.
* **Digital orders history page** — the page that lists their orders.
* **Search digital order page** — the page a customer reaches from an email link when they do not want to sign in.

Turn off the pages you do not use; the rest of the portal keeps working.

![Portal pages with the Digital library page row and the portal Page URL](https://1863660695-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iG7j4lDhziM0FqdCCU8%2Fuploads%2Fgit-blob-3c991acbe102b61740ab82efdf53a37a729f4efe%2Fsettings-portal-pages.png?alt=media)

### 5. Set the default download rules

Under **Default download restriction** you decide what every product starts with:

* **Limit downloads per order** — how many times one order may download.
* **Limit the number of days that can be access** — how long the access lasts.

Individual products can override these later.

![Default download restriction with the two limit switches](https://1863660695-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iG7j4lDhziM0FqdCCU8%2Fuploads%2Fgit-blob-01e8fba500c4f76eb7fb1d44d6b488ff3255a918%2Fsettings-portal-download-restriction.png?alt=media)

### 6. Decide how long email links live

**Expiration time for download link from email** sets how long a link sent by email keeps working, in **Minutes**, **Hours** or **Days**. Short windows are safer; long ones are friendlier for customers who read their email late.

![Access control with the Expiration time for download link from email field](https://1863660695-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iG7j4lDhziM0FqdCCU8%2Fuploads%2Fgit-blob-714422fb1116f2674d9b97f770ffb1cff98066e1%2Fsettings-portal-email-expiration.png?alt=media)

### 7. Name the files customers download

**Download file naming rules** lets you build the file name with a **Format** string and the variables the editor lists: **Order ID**, **Order item ID**, **Order item name**, **Order item SKU** and **Order item quantity**. A name like `OrderId-ItemName` makes a customer's folder self-explanatory.

![Download file naming rules with the Format field and the Variables link](https://1863660695-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iG7j4lDhziM0FqdCCU8%2Fuploads%2Fgit-blob-e5aeb4a25295bf6cff4e3f04a0eddf4877c8a746%2Fsettings-portal-naming-rules.png?alt=media)

### 8. Control who gets in

Under **Access control** and **IP restriction** you can require **Customer login required** or allow **All customers**, set the **Access limit** card, switch on **Enable IP limitation** with **Maximum access per IP address** and **Maximum unique IP addresses per order**, and keep a list of **Blocked IP addresses** with **Enable IP blocklist**.

**Check for fraudulent order** and **Check fraud by order tags** let the app hold back downloads for orders Shopify flags, with a **High risk handling** rule for what happens next.

![Access limit and IP restriction cards with the IP blocklist and IP limitation switches](https://1863660695-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iG7j4lDhziM0FqdCCU8%2Fuploads%2Fgit-blob-9d6f4208b18bdc926260a6171dfb4ff77073ccee%2Fsettings-portal-access-control.png?alt=media)

### Result

The portal has your address and your look, offers only the pages you want, and enforces the download rules you set.

### Troubleshooting

* **The portal URL shows Invalid path.** The path has to start with a slash and use letters, digits and dashes only — follow the **Example format** hint.
* **A customer cannot open the portal.** Check **Access control**: requiring login blocks anyone who is not signed in.
* **Downloads stop earlier than expected.** Look at **Limit the number of days that can be access**, **Limit downloads per order** and the email link **Expiration time** — the shortest of the three wins.
* **The download page is blank after an app proxy change.** The path in **Customize portal URL** must match the **App proxy** path in your Shopify app settings — see [Why is the download page blank?](https://helpdesk.ldtsoft.work/ldt-digital-downloads/frequently-asked/why-is-the-download-page-blank.md).

### Related

* [Customize the download portal page URL](https://helpdesk.ldtsoft.work/ldt-digital-downloads/navigation/customize-download-portal-page-url.md) — in Navigation
