Help needed with URL/PHP issues on Apache/MySQL server
September 22, 2008 4:07 AM
Subscribe
I am having trouble with URLs 404ing on an Apache/MySQL server for a website using Wordpress, with some custom add-ons to use Wordpress as a CMS.
I have a website which I have built for a client using Wordpress, on an Apache server with MySQL as the database. Their blog is available on http://www.theirdomain.com/blog/ and works fine.
I've created several index.php files on the main site, and in subfolders, using the Wordpress header and some custom PHP code to pull their page content from the WP database (I'm using Wordpress pages as data for a CMS). The URLs for the pages are in the format http://www.theirdomain.com/services and http://www.theirdomain.com/aboutus/
Unfortunately, I am having several errors a day with problems and 404 where the URLs are not resolving properly (i.e. you type in http://www.theirdomain.com/aboutus/ and it 404s). I can get round it by typing the filename index.php at the end, but I wanted to keep the URLs "clean".
The problem mainly occurs in IE7 (no surprise), but has occurred to several users - my clients and clients of theirs, and they are understandably miffed.
Can someone help point me towards any possible solutions?
posted by Scramblejam to computers & internet (7 comments total)
1. An issue with the default document setting in Apache, although it seems unlikely.
2. There could be an issue with a .htaccess file somewhere on the site (probably the webroot directory) that's rewriting URLs in a way that causes a problem.
posted by le morte de bea arthur at 4:33 AM on September 22, 2008