AndrewChen
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: mod_rewrite ignore directoryDo you already have a stats directory? If you do, I’m guessing you could just put a .htaccess file in that directory and have it have the one line
RewriteEngine off
which would disable use of the rewriting once Apache had read the .htaccess file. The thing is, if you don’t actually have the stats directory itself, then that won’t work. One thing you could do is to create a stats directory, and in there put a .htaccess file that had the above one line, and then have an index.php in that stats directory that did a redirect to whatever it is that your host is rewriting the /stats to. This would be a problem only if you didn’t know what your host was rewriting it to, or if it was rewriting it to something that you couldn’t redirect to – that is, something that was outside of the document root.
Apache looks through the directory structure first and then looks at the .htaccess files, so a directory that has a .htaccess file in it that disables rewriting will not have any rewrite problems with that directory or any sub-paths of them.
I’m sorry, the problem has been fixed in the latest version, available at https://www.andrewsw.com/pages/WP-Wikify
I hope this helps.Forum: Plugins
In reply to: Wiki plugin for WP?On the subject of integrated searches, I actually did do that on my site.
Basically, I have a special template for the search page, and my search forms go to that special template. I then have custom PHP code in there that takes whatever the search term was, and uses it to search everything else as well – so in this case, you could have it search wiki pages as well, if you knew how to access them from within PHP.
Let me know if you want more details.Forum: Plugins
In reply to: Wiki plugin for WP?On a vaguely related note, I am pleased to announce the WP-Wikify plugin – it really doesn’t do what any of you all are asking here, but you could modify it so that instead of linking into the WordPress Wiki, it links to your category pages or posts with those titles or something like that….
Forum: Plugins
In reply to: Request : FeedonFeeds Integration Possible?So I do something like the following in my sidebar/menu area ( https://www.andrewsw.com/news/ ). Let me know if this doesn’t work for you
<pre>-
<?php
- '.$title.' <img src="wp-images/xml.gif" alt="rss"
width="36" height="14" border="0" /></a>
ini_set("include_path",ini_get("include_path").":/path/to/your/feedonfeeds");
include_once("init.php");
$result = fof_do_query("select url, title, link from $FEED_TABLE order by title ASC");
while($row = mysql_fetch_array($result))
{
$url = htmlspecialchars($row['url']);
$title = htmlspecialchars($row['title']);
$link = htmlspecialchars($row['link']);
echo '';
};
echo '';
?>
</pre> - '.$title.' <img src="wp-images/xml.gif" alt="rss"