
Originally Posted by
DivaVocals
No no no.. You don't get away that easily!!!

Time to SHARE what you did.. Especially since you were the second person to ask about this very thing in the last week.. Gotta give back to those who held your hand while you sweated out a solution!


(Okay the last part is OVER the top..

but you get my point!)
I can't program, but I can troubleshoot!

Glad you found an answer that works though!
Look inside wordpress-config.php for the following code:
Code:
$i=strlen(DIR_WS_CATALOG);
$req=substr($_SERVER['REQUEST_URI'],$i,1);
if($req=='?'){
$_GET['main_page']='wordpress';
}
Then insert:
Code:
$i=strlen(DIR_WS_CATALOG);
$req=substr($_SERVER['REQUEST_URI'],$i,1);
if(($req=='?') && ($_GET['main_page']=='wordpress')) {
$_SERVER['REQUEST_URI'] = str_replace("?","wordpress?",$_SERVER['REQUEST_URI']);
}
I don't think the code I came up with is written properly but it works for me. Now my WP in ZC pages (eg: cat, page_id, p) do not go to the 404 Page Not Found. If anyone knows how to write the code properly, please let me know. The last sentence of the code looks wrong but it works for now.
The above code is to solve my issue with regards to SSU 3.3.6, ZC 1.38a, WOZ.
Bookmarks