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

  1. crismdq
    Posted 7 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"

    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 7 years ago #

    Have you tried encoding the opening and closing tags?

    &lt ;virtualhost *:80&gt ;

    (But omit the spaces before each ;)

  3. crismdq
    Posted 7 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


Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.