• Hi guys im setting up a site which will host html5 games
    What im wondering is, which would be the best way to set it up?

    I have folder/(game) with index.html file, there are many of them i wish to add
    So would i put them in a folder in the main level of directory or should they go into the content folder some how?

    Now, i will be using the wp-pages to link to the .html page in the folders to display the games.
    (hope that makes sense)

    thanks

Viewing 1 replies (of 1 total)
  • You are describing a procedure completely independent of WordPress. You upload the HTML files, for example, via FTP in a folder that is parallel to WordPress and then set in WordPress only the link to these.

    From the point of view of your visitors, this leads to the fact that they leave your website when clicking on such links. They probably won’t find a link on the manually uploaded pages to get back to the overview or your homepage. You can do this – but I would advise against it.

    What do the HTML files consist of? I think they are not only HTML codes but also CSS files? Or is it all in one (HTML) file each? I would rather recommend to consider whether you can not store the relevant content from the files directly in the editor in WordPress. If you use the block editor, then paste it into an HTML block. Advantage is that they are then called within your page. The visitor would not be “out”.
    For you, the only challenge would be to copy the relevant contents of the file. Do you but certainly only once ??

Viewing 1 replies (of 1 total)
  • The topic ‘Where to upload files’ is closed to new replies.