Unicorn Platform is a fantastically easy site to build on for beginners or those that don't want to bogged down with heavy applications like Figma or Webflow.
But there are some quirks when exporting.
The 404 page download loads the 404 page. So you need to duplicate the 404 page, rename it (like 404a) and download that version.
The export process is very smooth. You download a zipped folder of assets and you download the individual pages of your site and blog post articles.
Unicorn Platform gives you the .html files.
So a site that shows up as an example invisiblecreator.net/viral would be exported as invisiblecreator.net/viral.html
The best way to fix this is not to create a bunch of subdirectories, copy the file inside and change the name to index.html.
The best way to use the htaccess file to have the server display the correct file.
There are 2 things you need to add to the htacess file.
First: Redirect requests with .html to URLs without .html
RewriteEngine On
RewriteCond %{THE_REQUEST} /([^.]+).html [NC]
RewriteRule ^ /%1 [NC,L,R=301]
And secondly, serve .html files even if the extension is not in the URL:
RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule ^ %{REQUEST_URI}.html [NC,L]
That's it! Works great on Cloudwaysthis hostCloudways, which is a great host because of the quick scalability.
I use for hosting all my apps.https://www.cloudways.com/en/?id=790131https://www.cloudways.com/en/?id=790131
Note: you don't want to export a site you will be making changes on, because re-importing is not fully supported.
You will also want to make sure your server sets the 404 page in the .htaccess file.
Check out Unicorn Platform to build your next site.
Hey, I'm Andrew. I moved to Lisbon, Portugal from Canada. Follow my journey here.
I am a certified funnel builder with Systeme.io. I also have my Google Ads and Bing Ads certifications. I am also have my Hubspot Academy Inbound Marketing Certification. Bascially, if you want to build it, I can bring your vision to life.
I created a cool SAAS that helps marketers give their shared links superpowers. You can create a free account and start being more productive: Check out Linkalytics here.
I'm passionate about AI tools to help creators and marketers create better content, faster. Subscribe to my AI newsletter and discover free AI tools every week.
Read my writings on Medium.
Got a marketing question? Need some direction? Book a call with me.