• I’m trying to import some HTML pages into WP and I need to know what the limits are as far as WP is concerned, in other words, what HTML will it accept?

    I’ve tried pasting in HTML code into the editor but I keep getting an error, ‘Script not responding or timed out’. It contained table code and some Java script, so I cleaned out all the table code and the Java and repasted it but still got the same error message.

    Bill

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    It’s generally a very bad idea to paste in HTML code. You can do it, and doing so will not result in the error you’re getting…. but WordPress expects you to type in text and a limited subset of HTML (formatting and such). If you’re using a lot of Javascript inside of posts, then you likely need to re-evaluate your site design and development strategy.

    Thread Starter liamini

    (@liamini)

    Hi,
    No I’m not (deliberately) using any Java, it’s mostly tables, which I stripped out anyway and URLs to files.

    The main reason I asked was I have 1000s of files in my old HTML-based site that I’d like to have accessed from my new, WordPress site, so rather than pasting in the text and going through every link and adding in the URL, I thought there might be a quicker way, like cleaning out most of the HTML leaving just the links and the text.

    Bill

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    Oh, yes, that’s fine. You can paste the HTML straight into the code tab. The links are standard A href’s and such, no issues there.

    Thread Starter liamini

    (@liamini)

    Then how come I’m getting errors like ‘script not responding’?

    b

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    Like I said earlier, that’s an entirely different kind of error. Usually it means that you’re being hosted on a shared server which is too overloaded to actually do anything useful.

    My advice: Find another hosting service.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘WordPress and HTML’ is closed to new replies.