Home - Web Developer Blog

How to Create a Static 301 Redirect with .htaccess

It really is simple to create a static 301 redirect within your .htaccess file. The link below shows the complete code required to redirect one webpage to another. In case you are wondering how this works, the structure consists of. redirect 301 (old page) (new page). The first parameter (the old page) must not contain the website url (for example www.webdeveloperblog.co.uk). It must solely contain the path after the url. The second parameter ( the new page ) must contain the whole desired URL for the redirect

How to setup/configure Zend in NetBeans with XAMPP

Zend Framework

This guide will explain how to set up the NetBeans IDE to work with the Zend Framework. It is worth noting that this guide has been written using NetBeans IDE 7.1 and the process may be different for older/newer versions I make the assumption you have already downloaded and installed NetBeans and also have downloaded a copy of the Zend Framework. Step 1 – Set up the include path First you need to set up the include path within your php.ini file so that the zend framework is always included by default. If you have installed XAMPP via the windows … Continue reading

Automate the Boring Side of Your Online Business with iffft.com

iffft.com

What is iffft.com? iffft.com is a clever online tool that will connect your online life together in one handy package. How it works It works like a PHP if statement focused around pre-defined events in any of your connected networks. . If an event you have specified occurs, the system will then do what you have told it to do. Basically, if this occurs then do that! Simple! How it is useful There are many ways to utilise such a tool. I like to engage in my social networks so I don’t use it to automate them ( although this … Continue reading

What CSS Media Queries are and How to Use Them

resoponsive-design

Some background information If you are in the web design/development industry you may have heard of something called Responsive Design recently. It seems to be everywhere, on all the blogs, in all the magazines and now I have started to notice that even the big boys of web such as Starbucks, Smashing Mag and CSS Tricks have re-designed their sites to utilise the benefits of responsive design. This post isn’t about responsive design however, it is about the technology that makes the theory and application of responsive design possible. This latest method of development is possible due to CSS Media … Continue reading

“Index is under processing now” Error in Zend Lucene Index

Zend Framework

If you use the Zend Lucene Index feature within the Zend Framework then you may have come accross the “Index is under processing now” error message. This this exception will be thrown when an attempt to open or add to a corrupt index is made. Solution 1. Call optimize(); on the index object periodically. This could be included as part of a cron job that is executed daily for example to prevent potential issues occuring. 2. Handle the exception – if you try to access the index and it has managed to become corrupt, then handle the exception by rebuilding … Continue reading

Doctrine 2 Mapping – How to create them and all you need to know

doctrine2-logo

Mapping in Doctrine 2 is necessary to tell Doctrine 2 which classes are to be saved in the database and which fields in those class will be used for this purpose. This post continues the earlier post which shows how to create Doctrine 2 classes which can be found in our post Doctrine 2 Classes – how to create them and all you need to know. One major benefit to mapping in Doctrine 2 that often gets overlooked is that because mapping is stored in files and is used by Doctrine 2 for building the database schema, this means that … Continue reading

Make WordPress use Zend’s database details in wp-config

WordPress

If you have a website built using Zend that has a requirement for a blog section, you can install WordPress in a subfolder to manage the blog. The problem you now have is that you have to edit your database details in two separate locations, the .ini file for your Zend Application and the wp-config file of WordPress. Although this isn’t a big deal it can easily be forgotten leaving to potential issues in the future if some details were to change. This issue is most likely to occur when transferring the site from a local or test server with … Continue reading

Net Tuts Code Canyon Get Noticed - $7.99 .Com or .CO from GoDaddy.com!