Introducing IDX+, the best WordPress real estate plugin
I am designing and creating a real estate website with WordPress, and I’m going to be writing a few articles that detail how it’s done. This article will get you started — please leave feedback with any questions or topic requests for the next installment. Real estate using WordPress Part 2 is now available!
A little background — why use WordPress?
I’m working with a Denver company on a real estate website. Their goal is to showcase their listings in an easy-to-update CMS.
I’ve worked with Open-Realty, and — to say it bluntly — it’s a huge pain in the ass. When you scratch the surface of OR, you begin to realize how cobbled together it is. Customizing the code to work as it should requires a steep learning curve. The templates are relatively simple to work with, but the administration section is horrible. The Open Realty user experience is just awful.
WordPress is my CMS of choice currently, and it’s so easy to develop for that I recommend it to many of my clients. Continue reading “Building a Real Estate Website in WordPress – Part 1”
Note: the following will not work on all server configurations, which may be why you’re using SSI in the first place. Call your server administrator/tech support and see if the following techniques are supported.
Escape static HTML
If you want the power and flexibility of PHP but don’t want to (or can’t) shift away from HTML, you can actually tell your server to read all HTML files as PHP by making one simple change to a file called .htaccess.
- Create a file called .htaccess if you don’t have one already, and save it to your root folder
- Add one of the following pieces of code into your .htaccess file. Depending on your server configuration, one or the other should work…you’ll just have to try them out to see which one works for you:
AddType application/x-httpd-php .php .html or
AddHandler x-mapp-php4 .html .htm (thanks to Florent V. below) or
AddHandler x-mapp-php5 .html .htm
- Save the file and upload it to your server.
Now, you’re able to use all of PHP’s goodness by adding one line of code!
GoDaddy-hosted websites should use
AddHandler x-httpd-php5 .php .shtml .html .htm instead.