Cloudflare Pages · Direct Upload
Create and publish an event page
Use this starter as the master project. Add one self-contained folder per event, check it locally, publish a preview, and then deploy the same files to production.
Always begin with the latest full project and upload the complete root again. Uploading only one event folder does not merge it into the current site.
01
Quick start
- Get the latest master project. Work from the approved shared ZIP or folder—not from an old local copy.
- Copy
example-event/. Rename it using lowercase letters, numbers and hyphens, for examplepartner-2026. - Create the page. Edit the copy yourself or give the prompt below to an AI agent together with the event content.
- Review locally. Check copy, links, layout, privacy and the technical checklist.
- Upload the full project as Preview. Verify the Cloudflare preview URL.
- Upload the exact same files to Production. Verify both
/and the new event URL. - Save the new master. Replace the shared master ZIP/folder so the next editor starts from this version.
02
Environment rules
The platform serves static HTML, CSS, JavaScript and assets. Central security headers deliberately restrict what pages can execute or contact.
Supported
- Semantic HTML files
- Separate local CSS files
- Separate local JavaScript files
- Local images, SVGs and fonts
- Relative links within the event folder
- Responsive, accessible layouts
Do not use
- Inline scripts or inline event handlers
- Remote scripts, CSS, fonts or images
eval()or dynamically generated code- Fetch, XHR, WebSockets or remote APIs
- Forms, iframes, embeds or browser plug-ins
- Service workers, manifests or server code
Everything uploaded is public. Never include passwords, API keys, access tokens, internal documents, attendee lists or personal data that is not explicitly approved for publication.
Path rules
Keep every event self-contained. From /partner-2026/index.html, prefer ./styles.css, ./script.js and ./assets/photo.webp. Do not reference assets inside another event folder.
03
Neutral prompt for an AI agent
Copy this prompt, then append the event brief, approved copy and visual requirements.
You are creating a self-contained static event website that will be published at:
https://events.prowise.com/<event-slug>/
Create a folder named <event-slug> containing at least:
- index.html
- styles.css
- script.js only if interaction is genuinely needed
- assets/ for all images, icons and fonts
Technical constraints:
1. Use plain, standards-based HTML, CSS and JavaScript. Do not require a build step, package manager, framework, server or Cloudflare Function.
2. Put CSS in local .css files. Do not use inline style attributes or <style> blocks.
3. Put JavaScript in local .js files referenced with a relative src. Do not use inline scripts, inline event handlers, eval(), new Function(), dynamically generated executable code, WebAssembly or service workers.
4. Do not load any remote script, stylesheet, font, image, iframe, embed or other dependency. Store every required asset inside the event folder.
5. Do not use fetch, XMLHttpRequest, WebSocket, EventSource, remote APIs or form submission. Use normal links for calls to action.
6. Use relative paths such as ./styles.css and ./assets/image.webp so the page works below /<event-slug>/ and does not depend on other event folders.
7. Do not include secrets, credentials, analytics, tracking pixels, cookies, localStorage or personal data.
8. Make the result responsive and accessible: semantic landmarks, logical headings, keyboard access, visible focus, sufficient contrast, meaningful alt text and reduced-motion support.
9. Include appropriate title, description and social sharing metadata, but reference only local assets.
10. Keep the implementation compact and readable. Add comments only where they help a future non-specialist editor.
Content and design brief:
[PASTE THE APPROVED EVENT BRIEF, COPY AND VISUAL DIRECTION HERE]
Before finishing, verify every path and list all generated files. Explicitly report any requested feature that cannot work within these constraints instead of bypassing a constraint.
The prompt creates compatible output; it does not replace human review of facts, branding, rights, privacy or security.
04
Review before uploading
05
Upload to Cloudflare Pages
- Prepare the complete project root. If using a ZIP,
index.html,how-to.html,_headersand the event folders must be at the ZIP root—not inside an extra wrapper folder. - Open Cloudflare Dashboard → Workers & Pages → the events Pages project.
- Select Create a new deployment and choose a Preview deployment.
- Drag in the complete folder or ZIP, then deploy. Do not upload only the changed event directory.
- Open the preview URL. Check the home page, the new event path, assets, links, console and mobile layout.
- Create a second deployment, choose Production, and upload the exact same unchanged folder or ZIP.
- Verify
https://events.prowise.com/andhttps://events.prowise.com/<event-slug>/. Keep the previous deployment available for rollback. - Store this deployed version as the new approved master project.
Pages Direct Upload currently allows up to 1,000 files by drag and drop, with a maximum of 25 MiB per file. Compress and resize media before publishing.
06
Expected folder structure
project-root/
├── index.html
├── how-to.html
├── 404.html
├── _headers
├── robots.txt
├── assets/
│ ├── site.css
│ └── how-to.js
├── example-event/
│ ├── index.html
│ ├── styles.css
│ ├── script.js
│ └── assets/
└── partner-2026/
├── index.html
├── styles.css
├── script.js
└── assets/
Delete script.js when an event needs no interaction. Empty asset folders are not required in the upload.
Platform references
For platform behavior and interface changes, use Cloudflare’s current documentation: