Page 1 of 1

Wordpress Problem...

Posted: Wed Apr 29, 2009 8:07 am
by nonso
A client of mine wants me to integrate their existing site into Wordpress but he is really SEO conscious and wants WP's index page to exists on the root folder as blog.php and WP's core files to have their own sub-folder. I have everything set up the way it should but whenever I click to read an article it gives me a 404 error.

The site is here.

I am pretty sure the server runs Windows Server 2008 which I am totally not familiar with. WP was installed on a MySQL DB. Apache 2.2 is installed on the server.

Any ideas?

Re: Wordpress Problem...

Posted: Thu Apr 30, 2009 8:15 am
by nonso
Any one?

Re: Wordpress Problem...

Posted: Thu Apr 30, 2009 8:46 am
by danielwalters6
So you want to leave the blog in the site's root directory?
But want the contents all hidden away somewhere?

http://codex.wordpress.org/Giving_WordP ... _Directory

Hope that helps.
D.

Re: Wordpress Problem...

Posted: Thu Apr 30, 2009 3:14 pm
by nonso
That is what I have done. I renamed WP's index.php page to blog.php (see link) but I don't think WP likes being off the index page.

Re: Wordpress Problem...

Posted: Fri May 01, 2009 9:33 am
by danielwalters6
nonso wrote:That is what I have done. I renamed WP's index.php page to blog.php (see link) but I don't think WP likes being off the index page.
No, I think that the wordpress index.php file, HAS to remain as index.php - It's hard coded into many of the plugins/themes/corewpfiles.

Can you not put the blog on

domain.com/blog = When browsers look for /blog they will have index.php returned by default, not displaying index.php to the user at all...

You can, using the link I provided earlier, then move the installation of wordpress to anywhere on the server.

Re: Wordpress Problem...

Posted: Sat May 02, 2009 2:43 pm
by McInfo
I'm not sure if this is a viable solution for what you want do, but just in case...

Apache 2.2 Docs: Mapping URLs to Filesystem Locations

Edit: This post was recovered from search engine cache.