• 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:

    http://www.website.com/?page=postajob
    http://www.website.com/?page=dashboard
    http://www.website.com/?page=editprofile

    After 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:

    http://www.website.com/?page=postajob
    http://www.website.com/?page=dashboard
    http://www.website.com/?page=editprofile

    The 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!

Viewing 3 replies - 1 through 3 (of 3 total)
  • I have the same problem, your index page its ok.

    I have to remove the plugin, it doesn’t work

    I had the same problem, the plugin randomly decided to start redirecting to the wrong front page, so the real front page was essentially inaccessible. After hours of debugging the wrong plugin, I tried disabling the redirections plugin and the front page started loading. Arg.

    Hi,

    i have the same problem.
    which plugins caused it?

    Thanks
    Jan

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Static page used as homepage /URL problems after WordPress 3.0 upgrade’ is closed to new replies.