• I am currently creating a site that needed a user database so I was asked to develop it through WordPress.
    However, I already have multiple external HTML pages created so I am wondering if I can add them to the WordPress directory like with a normal html website and link them from the sign in page.

Viewing 4 replies - 1 through 4 (of 4 total)
  • I’m not clear if you are creating a new domain for this site, but you can either convert the pages to WordPress or yes, you can link to html pages. if they’re the same domain, you can still have them in the root directory and link to them directly. Otherwise if they’re different urls they can still travel to the same path without WordPress interfering.

    The only thing you can’t do if you leave then as .html is include them in a dynamic WordPress menu since that’s linked to the pages you create.

    Hope I answered your question, please elaborate if you need to.

    Thread Starter michele.fog

    (@michelefog)

    That’s perfect! The html pages are not in a domain yet so I will simply put them in the WordPress’ root directory when they are finished.
    Thank you so much for your help, this has saved me a lot of confusion and frustration!

    Be sure to put it in the root directory of the hosted domain so it can follow the path example.com/file.html

    Of course you’ll use different names. ??

    Hello, I have the same question!!

    I tried to create html files (with their own css stylesheet) in the same directory of the main PHP files, but it didn’t work. All I have to do is to create the HTML file in wp-content/themes/mytheme? For example https://www.domain.com/example.html???

    Thanks a lot!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Adding HTML files to Directory’ is closed to new replies.