Forum Topic: Forum Issues

Forum: .htaccess Forum : General • Posted by Yael Miller • Post Date:

Even if I wrap it with code or pre, if I type files wp-config.php which I surround with carrots, it removes the line.

If you edit a comment, it unclicks my previously clicked “Notify me of follow-up replies via email.”

6 Replies to “Forum Issues”

Posted by Jeff Starr

<this is a test>

Posted by Jeff Starr

This is another test:

<Files wp-config.php>
	Order Allow,Deny
	Deny from all
</Files>
Posted by Jeff Starr

Yes, bbPress is full of wonders! And that’s not counting the fifteen zillion bugs I’ve already worked out.. still waiting for the bbPress team to fix the “Notify me of follow-up replies via email” issue.

For the code or pre tags, I just tested again and the pre and code tags seem to be working fine.. as a rule of thumb, wrap multiple lines of code with pre tags and single lines and phrases with code tags.

Let me know if the code tags still aren’t working for you.. something else may be involved..

Posted by Yael Miller •

Testing again:

<Files wp-config.php>
	Order Allow,Deny
	Deny from all
</Files>

Update: It just stripped it for me. But in my mod_rewrite thread, I used the HTML entities for the characters and eventually it converted to carrots.

Trying again with entities:

<IfModule mod_rewrite.c>

Posted by Jeff Starr

Hi Yael,

Thank you for the help with this issue.. I think it’s fixed now, please try again by posting code using either/both code and pre tags.

Here is a test of my own:

<Files wp-config.php>
	Order Allow,Deny
	Deny from all
</Files>
Posted by Yael Miller •
<Files wp-config.php>
	Order Allow,Deny
	Deny from all
</Files>

That worked! I used carrots not the entities. Thanks.