Magento WordPress Integration
[resolved] Invalid URL (5 posts)

  1. dweb2012
    Posted 4 years ago #

    I try to setup the mage.php path but i receive this message : Invalid URL
    Wordpress and Magento are installed on the same server but :
    Wordpress is installed on a sub-domain : sub-domain.domain.com
    Magento is installed on http://www.domain.com
    Thank you


  2. jamesckemp
    Plugin Author

    Posted 4 years ago #

    Hi dweb2012,

    Please make sure you write Mage.php, the uppercase M is very important!

  3. chrisemersonnc
    Posted 3 years ago #

    Same prob as dweb2012 here ... but I am using uppercase M. I'm using the following for my path string: /magento/app/Mage.php .. but am getting the "Invalid URL" message. Please help!

    Also, when I try entering a file-system path the entire Mage/WP options window ends up blank! Example: [C:\\inetput\\mysite\\magento\\app\\Mage.php]
    At this point I have to go into the WP database and clear the mage path string just to get the Mage/WP options window to show again.

  4. jamesckemp
    Plugin Author

    Posted 3 years ago #

    A couple of things going wrong here: The path is incorrect - it needs to be from the document root, this should be partly pre-filled when you first install the plugin. If you can't find that any more, create a file called test.php and place it on your server. Add:

    <?php echo $_SERVER['DOCUMENT_ROOT']; ?>

    Load the file and it will echo the path to your document root. Then add the path to mage on there. SHould end up similar to this:


    Second issue: Mage is loading, however it seems you may not have edited the functions.php in Magento, this is a required step: http://magentowp.com/documentation/installation/

  5. jamesckemp
    Plugin Author

    Posted 3 years ago #

    I'm assuming this is fixed now, marking as resolved!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Magento WordPress Integration
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.