Did you notice this in the right column?
WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ” at line 1]
SELECT cat_id, cat_name FROM
You probably have some kind of database error that you need to fix.
Also, you say that your index.php isn’t in the same directory as everything else. Why is this?
The SQL error is due to new Theme I have applied. Now when I have switched to WP default theme, the problem still exists.
http://blog.saarproduction.com/?page_id=4
will return back to
http://blog.saarproduction.com/index.php
and will not display the contents of page 4 which is Contact Us.
Thanks for looking into it.
I am a bit stumped.
I noticed this in your first entry.
I have blog subdirectory (blog.saarproduction.com/blog) where I have save all the wordpress directories and files except index.php
Why isn’t index.php in the same directory as everything else? Hope you get it to work out.
I started with adding all the files under root. basically the entire directory structure under root. But when I ran into the problem with the links, I went through the documentation. There was another way of installing WordPress, where keep the index.php in root and move all the files and directory in another directory. Edit index.php to indicate this change. I thought this may fix the problem, but it did not. Though creating a new directory did not harm as well. There is no problem for me to move everything back to root.
But I know the problem will stay. There is something in setup am I missing ?
Thanks
you have a forced redirect to your index.php file. look into your server setup or .htaccess file.
Thanks ! Yes as I removed the forced redirect links are working fine now.
The problem remains is that when I am using a specific template, there is a database error showing up. But I know this is specifically related to template.