Skip to content

it.megocollector.com

The information technology compendium

Archive

Category: Wordpress

bigdump-2BigDump performs a staggered import of large and very large MySQL dumps similar to those of the phpMyAdmin 2.x dumps into a new or an existing MySQL database. Other reasons for using this script is if in the even access to the server shell is not possible or for what ever the reason the import fails using phpMyAdmin due to memory and runtime limits. continue reading...

cpanelcPanel has become a standard for turning standalone servers into automated hosting platforms. Tasks are replaced by web interfaces and API-based calls. cPanel is designed with multiple levels of administration and provide multiple levels provide security, ease of use, and flexibility for everyone from the server administrator to the email account user.

One of cPanel's features is under the Security section, called Hotlink Protection. Hotlink Protection is a tool that can deny access to specific files to prevent "leeching". However, when enabled, the fancy URLs known as permalinks get destroyed. The results could be 403 and 404 errors. The reason is simple and so is the solution. continue reading...

codeLately, I have been burning through bandwidth. I had thought that I have enabled all possible tweaks until I discovered that there is an additional work-a-round that will use gzip compression for PHP, CSS, and JS files.

While there are more simplified solutions for use, WordPress installations create additional obstacles that this code addresses well. The results may be measured using YSlow a plugin for Firefox or Rex Swain's HTTP Viewer. In my case, the file sizes were reduced by half for most pages.

continue reading...

wordpress-3A useful Wordpress plugin is WP-PostViews. This plugin enables the display of number of times a post or page had been viewed. However, it there is an odd behavior when handling special characters. According to one definition, HTML special characters and symbols that cannot be generated in HTML with normal keyboard commands may be produced using HTML entities and/or ISO Latin-1 codes that can be placed in source code like any other alphanumeric characters. WP-PostViews does not produce the desired special character, however, instead displays the ISO Latin-1 code. There is a quick fix to this....
Continue reading ...

wordpress-3It has been asked by many as to the purpose of the code that is added to the header of many modern Wordpress themes. This code is to reside just above the of the header. There is very little detail in the reference to this this code online only it's usage and placement within Wordpress. I recently encountered a theme that contained duplicate entries of this code that made me realize it's purpose. It serves two purposes....
Continue reading ...

wordpress-3There are many great Wordpress plugins and Search Unleashed is no exception. It serves as a great replacement to the built-in Wordpress search engine. Search Unleashed extends the standard search with a full text search across posts, pages, comments, authors, and meta-data. It even offers modules that support other plugins including NextGEN Gallery. The reason anyone should want to upgrade from the built-in Wordpress search engine is that plugins such as NextGEN Gallery create their own tables in the Wordpress database. These tables will contain data that is entered and relevant to that plugin. These tables are NOT searched by the built-in Wordpress search engine. The great feature to Search Unleashed exists in the modules folder. Here, additional modules may be created and placed to accomodate other Wordpress plugins. An example of this is WP-Table....
Continue reading ...

wordpress-4-1-2To get my feet wet, I wanted to test an installation of Wordpress MU (multi-user) edition. The installation seems too problematic on a Windows workstation, even when running in an environment such as AppServ , WAMP, XAMPP, or Uniform Server. My preference is XAMPP. I have tested and used all these environments. I originally preferred the Uniform Server as it boasts about it's portability. It was able to do so by creating a virtual drive letter and worked great, until I installed another web application that would not work. I resorted to XAMPP and that tough little web app worked as advertised. I don't know what the difference is between the two applications, however, I don't need to. Another, server, untested at the time of this writing is AMPPS. After all the effort and trouble attempting to install Wordpress MU on one of the above environments, I discovered rBuilder....
Continue reading ...

wordpress-4-1Permalinks are the URLs to an individual post, category, page, etc. These links generally take the form of index.php?p=444 (or some number). Pretty Permalinks are the same URLs crafted to make sense to the user. Apache offers this ability, though generally not set by default. IIS through version 6 (Windows 2003) does not offer this. There are ISAPI filters both paid and free that permit the use of "pretty" permalinks. ...
Continue reading ...