WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Cant write with tags like text (3 posts)

  1. crismdq
    Member
    Posted 5 years ago #

    Maybe this is a silly question and its already solved but i cant find it. Im writing an apache tutorial an cant type this:

    <virtualhost *:80>
    ServerName dominio.com
    ServerAlias http://www.dominio.com
    DocumentRoot "/Users/Cris/Documents/webs/dominio.com"
    </virtualhost>

    Everytime i do it, wordpres cut the <virtualhost *:80> and </virtualhost>.

    How can i write a post including that text?

  2. esmi
    Forum Moderator
    Posted 5 years ago #

    Have you tried encoding the opening and closing tags?

    &lt ;virtualhost *:80&gt ;

    (But omit the spaces before each ;)

  3. crismdq
    Member
    Posted 5 years ago #

    im so dumb... since a few months i only write in html mode, few minutes ago i figured that in normal mode wordpress encoded the stuff for me. lol

    thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.