Own HTML File/Pages

  • Unknown's avatar

    Hi! I was wondering if I can upload my HTML code as one of my website pages?

    WP.com: Yes
    Correct account: Yes

    The blog I need help with is: (visible only to moderators and staff)

  • Hi there,

    Can you give a bit more information on what you’re trying to add/do?

    To add content created in HTML to your site, create a new post or page using the editor, and then paste your code inside the custom HTML block. However, keep in mind that some HTML tags are not allowed on WordPress.com for security reasons, including both iframe and script tags. If your code includes those, you’ll need to be on our Business Plan to add that code.

    As for uploading a HTML file, the WordPress software is written in PHP code, which generates the HTML on the server and then serves it to the browser, so it’s not possible to upload a HTML file to a WordPress site, period. But if you can give some more details on what you’re trying to achieve we might be able to suggest some alternatives.

  • The topic ‘Own HTML File/Pages’ is closed to new replies.