WordPress.org

Forums

Quick Page/Post Redirect Plugin
[resolved] example.com menu issue (3 posts)

  1. grekstis
    Member
    Posted 2 years ago #

    Hi, I am using wordpress 3.3.1 and Quick Page/Post Redirect DEV Version 4.2.2. When the plug in is activated, one of the links in my website drop down menu points to http://www.example.com. When I deactivate the plugin, it point to the correct url.

    Any ideas as to what might be happening?

    Thanks

    http://wordpress.org/extend/plugins/quick-pagepost-redirect-plugin/

  2. Don Fischer
    Member
    Plugin Author

    Posted 2 years ago #

    Grekstis,
    the only thing I can think of might be that there is a value set in the plugin's global settings for default location. Check that, and if there is, remove it and save the settings.

    Let me know if you still have issues.

  3. grekstis
    Member
    Posted 2 years ago #

    Thanks for your reply Prophecy. I have narrowed it down to the following code in page_post_redirect_plugin.php. Line 443. It is also referenced in lines 608 and 825.

    When I remove the http://www.example.com, the drop down menu link does not work as it is pointing to a null value.

    if(!isset($theArray[$key->post_id]['_pprredirect_rewritelink'])){$theArray[$key->post_id]['_pprredirect_rewritelink'] = 0;}
    if(!isset($theArray[$key->post_id]['_pprredirect_url'])){$theArray[$key->post_id]['_pprredirect_url'] = 'http://www.example.com';}
    if(!isset($theArray[$key->post_id]['_pprredirect_type'] )){$theArray[$key->post_id]['_pprredirect_type'] = 302;}
    if(!isset($theArray[$key->post_id]['_pprredirect_relnofollow'])){$theArray[$key->post_id]['_pprredirect_relnofollow'] = 0;}
    if(!isset($theArray[$key->post_id]['_pprredirect_newwindow'] )) {$theArray[$key->post_id]['_pprredirect_newwindow'] = 0;}
    if(!isset($theArray[$key->post_id]['_pprredirect_active'] )){$theArray[$key->post_id]['_pprredirect_active'] = 0;}

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Quick Page/Post Redirect Plugin
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.