# HTML5 on Wordpress

**URL:** <https://forums.unrealengine.com/t/html5-on-wordpress/42964>\
**Category:** Platform & Builds\
**Tags:** html, unreal-engine\
**Created:** [September 26, 2015, 7:25pm UTC](https://forums.unrealengine.com/t/html5-on-wordpress/42964 "2015-09-26T19:25:32Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Skytlz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Skytlz](https://forums.unrealengine.com/u/Skytlz)\
**Post date:** [September 26, 2015, 7:25pm UTC](https://forums.unrealengine.com/t/html5-on-wordpress/42964/1 "2015-09-26T19:25:32Z")

</div>

Hello, I have recently made a project launched on HTML5, I have tested the local-host, I want know what files I need and where to put them accordingly on Wordpress. Thanks!

---

<div class="post-metadata">

**Author:** ![Denmengel](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Denmengel](https://forums.unrealengine.com/u/Denmengel)\
**Post date:** [September 28, 2015, 4:01pm UTC](https://forums.unrealengine.com/t/html5-on-wordpress/42964/2 "2015-09-28T16:01:51Z")

</div>

I also have a wordpress site. It would be cool to add this. Unity has a plugin for Wordpress.

---

<div class="post-metadata">

**Author:** ![DierveK](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DierveK](https://forums.unrealengine.com/u/DierveK)\
**Post date:** [September 28, 2015, 10:04pm UTC](https://forums.unrealengine.com/t/html5-on-wordpress/42964/3 "2015-09-28T22:04:47Z")

</div>

Create a page with your html5 content. Than make an iFrame in wordpress and link to that page.  
An iFrame is like a webpage within a webpage.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_43dc9734](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_43dc9734](https://forums.unrealengine.com/u/anonymous_user_43dc9734)\
**Post date:** [October 1, 2015, 6:54am UTC](https://forums.unrealengine.com/t/html5-on-wordpress/42964/4 "2015-10-01T06:54:33Z")

</div>

Html 5 page is convert in word Press.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_49de6794](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_49de6794](https://forums.unrealengine.com/u/anonymous_user_49de6794)\
**Post date:** [October 15, 2015, 8:24am UTC](https://forums.unrealengine.com/t/html5-on-wordpress/42964/5 "2015-10-15T08:24:37Z")

</div>

Iframe is bad idea :\>

---

<div class="post-metadata">

**Author:** ![Anonymous\_dd56a58405288d59cf93311503aeeb3e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Anonymous\_dd56a58405288d59cf93311503aeeb3e](https://forums.unrealengine.com/u/Anonymous_dd56a58405288d59cf93311503aeeb3e)\
**Post date:** [October 23, 2015, 7:07am UTC](https://forums.unrealengine.com/t/html5-on-wordpress/42964/7 "2015-10-23T07:07:16Z")

</div>

i want know how to configure the ue4 html environment ?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_346c6150](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_346c6150](https://forums.unrealengine.com/u/anonymous_user_346c6150)\
**Post date:** [January 26, 2016, 3:01pm UTC](https://forums.unrealengine.com/t/html5-on-wordpress/42964/8 "2016-01-26T15:01:01Z")

</div>

> [@Renji;400034](#):
>
> Iframe is bad idea :\>

why is i frame a bad idea? do you have a other solution?

---

<div class="post-metadata">

**Author:** ![SkykingStream](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SkykingStream](https://forums.unrealengine.com/u/SkykingStream)\
**Post date:** [February 13, 2016, 4:00pm UTC](https://forums.unrealengine.com/t/html5-on-wordpress/42964/10 "2016-02-13T16:00:05Z")

</div>

Don’t do iFrame. I’ll explain what you do.  
FIRST, I’d suggest before you export, name everything with lower case text and dashes between words. Keep it SHORT! This just saves from the hassle of typing in the URL later.  
Upload your newly generated HTML 5 folder to your server. Make sure you upload it to the same folder that your site, be it wordpress or joomla or whaterver, is in. It should be public\_html  
Unzip the folder you just uploaded. Most cpanels will allow you to right click and select unpack.  
You should now have a folder in the main section called whatever you saved the file as.  
Now point your browser to it - [www.yoursite.com/folder-name/folder-name2/game-name.html](http://www.yoursite.com/folder-name/folder-name2/game-name.html) (YOU HAVE TO PUT IN THE .HTML name in the URL!)

You will now get an error about a bad token.

Add this code to your .htaccess file  
\<files \*.gz\>  
AddType “text/javascript” .gz  
AddEncoding gzip .gz  
\</files\>

If you don’t have access to your .htaccess file from the cpanel, login with a ftp client like filezilla or core ftp. In fact, you can do ALL of this through a ftp client.

Now go back to your game URL and it should boot up!

---

<div class="post-metadata">

**Author:** ![SkykingStream](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SkykingStream](https://forums.unrealengine.com/u/SkykingStream)\
**Post date:** [February 13, 2016, 4:12pm UTC](https://forums.unrealengine.com/t/html5-on-wordpress/42964/11 "2016-02-13T16:12:44Z")

</div>

Just a thought: IF you want the game html page to have the same styling as your website, I’d put the files in the same folder as your site’s html file location, create a new page in wordpress and copy/paste the html code from the export into the code section of the worpress page builder.

Or, copy/paste the html page from export along with all the files into the area where wordpress stores all of the html files.

---

<div class="post-metadata">

**Author:** ![84rt-design](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@84rt-design](https://forums.unrealengine.com/u/84rt-design)\
**Post date:** [March 22, 2016, 10:51pm UTC](https://forums.unrealengine.com/t/html5-on-wordpress/42964/13 "2016-03-22T22:51:24Z")

</div>

hi , im trying to integrate html5 project on wordpress , please could you be more specific about localisation of main folder of html files, do we have to put in " WWW" , “wp-admin”, “wp-content”, or “wp-includes” ?? thks , im running wordpress on ovh server thks

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e0ed55d2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e0ed55d2](https://forums.unrealengine.com/u/anonymous_user_e0ed55d2)\
**Post date:** [August 27, 2017, 12:46pm UTC](https://forums.unrealengine.com/t/html5-on-wordpress/42964/16 "2017-08-27T12:46:48Z")

</div>

I think best Idea is iframe

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b1c92c95](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b1c92c95](https://forums.unrealengine.com/u/anonymous_user_b1c92c95)\
**Post date:** [July 2, 2018, 1:11pm UTC](https://forums.unrealengine.com/t/html5-on-wordpress/42964/24 "2018-07-02T13:11:32Z")

</div>

I am agree that Iframe is very bad idea

---

<div class="post-metadata">

**Author:** ![Jerry.Richards](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jerry.Richards](https://forums.unrealengine.com/u/Jerry.Richards)\
**Post date:** [July 10, 2018, 11:12pm UTC](https://forums.unrealengine.com/t/html5-on-wordpress/42964/25 "2018-07-10T23:12:07Z")

</div>

In case anyone is interested, I have a Pull Request that should help with CSS and canvas issues. Basically, it simplifies the HTML output to a basic webpage where the only requirement is that a canvas (with a specific ID) exist on the page. It removes CSS content to avoid any formatting conflicts.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6738fb84](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6738fb84](https://forums.unrealengine.com/u/anonymous_user_6738fb84)\
**Post date:** [September 23, 2018, 4:51pm UTC](https://forums.unrealengine.com/t/html5-on-wordpress/42964/27 "2018-09-23T16:51:34Z")

</div>

i want know how to configure the ue4 html environment ?

[https://plus.google.com/100224361908202627891?hl=fa](https://plus.google.com/100224361908202627891?hl=fa)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_ddcbfd6a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_ddcbfd6a](https://forums.unrealengine.com/u/anonymous_user_ddcbfd6a)\
**Post date:** [March 5, 2019, 1:42pm UTC](https://forums.unrealengine.com/t/html5-on-wordpress/42964/30 "2019-03-05T13:42:36Z")

</div>

You will need to create a new folder inside the Themes folder in WordPress. You can find that details in the following page:

[https://codex.wordpress.org/Theme\_Development](https://codex.wordpress.org/Theme_Development)

Apart from that, you also need to create database using PHP my admin if you have database. If you need any help, you can approach our web design company and we will be happy to help you.

Regards,

> **[Spidergems](https://spidergems.com)**
>
> Optimized Web Solutions

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fee9e3e3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fee9e3e3](https://forums.unrealengine.com/u/anonymous_user_fee9e3e3)\
**Post date:** [March 7, 2019, 12:50pm UTC](https://forums.unrealengine.com/t/html5-on-wordpress/42964/31 "2019-03-07T12:50:01Z")

</div>

You need to install Wamp server on your PC first.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d2fb4c66](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d2fb4c66](https://forums.unrealengine.com/u/anonymous_user_d2fb4c66)\
**Post date:** [March 16, 2019, 9:14am UTC](https://forums.unrealengine.com/t/html5-on-wordpress/42964/32 "2019-03-16T09:14:03Z")

</div>

First, you configure the ue4 HTML file to connect WordPress to HTML 5. You will create a new page in WordPress and copy/paste the HTML code from the export into the code section of the WordPress page builder.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_8821a96a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_8821a96a](https://forums.unrealengine.com/u/anonymous_user_8821a96a)\
**Post date:** [April 16, 2019, 5:39pm UTC](https://forums.unrealengine.com/t/html5-on-wordpress/42964/33 "2019-04-16T17:39:47Z")

</div>

Hello,  
you don’t need to use an iframe you have to upload your HTML file on your Cpanel  
Then change its name to index.html then your HTML code run to the home page of your website.  
Hope this will help you  
Thanks  
Afflospark

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3834f5fe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3834f5fe](https://forums.unrealengine.com/u/anonymous_user_3834f5fe)\
**Post date:** [April 28, 2019, 7:30pm UTC](https://forums.unrealengine.com/t/html5-on-wordpress/42964/35 "2019-04-28T19:30:37Z")

</div>

![image_163251.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/8/9/89367814f3490135c004039446cc0abdce61907e.png)

Hello.  
I am trying to find the way on how to have the same style as on the rest of my wordpress web pages.  
The way I was trying:  
In the new page created with WP Editor I have added new empty HTML block and into this empty block I pasted the code from myproject.html I have from packaged project HTML5 but this is not working properly as you can see on the attached images.

Thank you for your time.

---

<div class="post-metadata">

**Author:** ![MostHost\_LA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mosthost_la/32/907035_2.png) [@MostHost\_LA](https://forums.unrealengine.com/u/MostHost_LA)\
**Post date:** [May 17, 2019, 12:32pm UTC](https://forums.unrealengine.com/t/html5-on-wordpress/42964/36 "2019-05-17T12:32:41Z")

</div>

As a senior full stack developer with over 12 years on the job I can tell you this about wordpress: it’s the internet explorer of CMS.

if you don’t know php/html/css and JS getting anything that’s not just text is going to be a challenge.

… is there enough hype on this for me to go and create a wordpress plugin/short-code? I doubt it…

[Next page](https://forums.unrealengine.com/t/html5-on-wordpress/42964.md?page=2)
