Static page used as homepage /URL problems after WordPress 3.0 upgrade
-
Hi everybody!
I desperately need help…. The follow problem just makes me mad.
I have a WordPress website which runs a “static page” as homepage and has a normal page called Jobs which run a template and act like a job board. The website hasn’t any blog posts page defined.
The website has a couple of this kind of URL – for different section of the job board:
https://www.website.com/?page=postajob
https://www.website.com/?page=dashboard
https://www.website.com/?page=editprofileAfter WordPress 3.0 upgrade when I tried to access these pages I am redirected to homepage. This is not a plugins compatibility problem – I already investigate and eliminate this possibility.
If I stop using a static page as homepage for my website, the website works well like in the past. If I used a “static” page as homepage – not the default “latest post” WordPress option the website doesn’t work anymore and the follow URL point back to homepage:
https://www.website.com/?page=postajob
https://www.website.com/?page=dashboard
https://www.website.com/?page=editprofileThe index page of my theme looks like this.
<?php if($_REQUEST['page']=='postajob' || $_REQUEST['page']=='editjob') { include (TEMPLATEPATH . "/tpl_createjob.php"); exit; }else if($_REQUEST['page']=='jobpreview') { include (TEMPLATEPATH . "/preview_jobs.php"); exit; } else if($_REQUEST['page']=='registration') { include (TEMPLATEPATH . "/tpl_register.php"); exit; } else if($_REQUEST['page']=='dashboard') { include (TEMPLATEPATH . "/dashboard.php"); exit; } else if($_REQUEST['page']=='editprofile') { include (TEMPLATEPATH . "/editprofile.php"); exit; } else if($_REQUEST['page']=='deljob') { include (TEMPLATEPATH . "/preview_jobs_del.php"); exit; }else if($_REQUEST['page']=='delsuccess') { wp_delete_post($_REQUEST['pid']); wp_redirect(get_option('siteurl').'?page=dashboard&msg=del'); exit; } ?>
After WordPress 3.0 upgrade it doesn’t work anymore! Anyone has a clue about this?
Thanks a lot!
- The topic ‘Static page used as homepage /URL problems after WordPress 3.0 upgrade’ is closed to new replies.