• Resolved rpmtl22

    (@rpmtl22)


    I’m new to WordPress but have been creating HTML websites for many years using Dreamweaver (Macromedia-> Adobe). More recently I created some small responsive websites by hand using Atom, but I found that tedious. I’ve installed WordPress on a testing site to learn with and have access to all the files and folders via FTP.

    Is there any problem/danger in creating folder(s) within the root of the WordPress site to deliver old HTML content that I don’t what/need to recreate with WordPress?

    If I create https://www.mywebsite.com/oldhtml/somepage.htm could that damage the WordPress installation? I just tried it with my testing site and it seems to work fine. But I wonder if a future WordPress version update might somehow erase custom folders like those?

    Thanks to anyone who can confirm that it’s ok to do this.

    Russell

Viewing 2 replies - 1 through 2 (of 2 total)
  • Is there any problem/danger in creating folder(s) within the root of the WordPress site to deliver old HTML content that I don’t what/need to recreate with WordPress?

    No.

    WordPress’s paths are virtual (ie dynamically generated).

    As long as a physical file/directory exists, your webserver will serve it directly, without WordPress getting involved at all.

    Below is a test I just set up (links valid for 48hrs only):

    WordPress: https://determinetent.s4-tastewp.com/

    HTML File: https://determinetent.s4-tastewp.com/oldhtml/somehtml.html

    Thread Starter rpmtl22

    (@rpmtl22)

    WordPress’s paths are virtual (ie dynamically generated). As long as a physical file/directory exists, your webserver will serve it directly, without WordPress getting involved at all.

    Thank you George. You confirmed what I was thinking ??

    I’m still wrapping my head around how WordPress works with its virtual paths … but I’m getting there. The project I want to tackle is a WordPress multisite install using subdirectories and convert an existing (non-responsive) English/French website to something similar using WordPress (without spending anything for plugins if I can solve challenges myself). My CSS skills are quite good and I’m slowely getting semi-familiar with PHP and mySQL.

    BTW, your 2 links ended up at a “Site disabled due to abuse behaviour” page.

    Russell

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Delivering HTML from within WP folders?’ is closed to new replies.