Title: problem with install and integration
Last modified: August 21, 2016

---

# problem with install and integration

 *  Resolved [crazystevespics](https://wordpress.org/support/users/crazystevespics/)
 * (@crazystevespics)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/problem-with-install-and-integration/)
 * I have followed all directions and changed functions.php. I keep getting an invalid
   URL. I have installed Magento as a subdirectory on site /store. Have tried /public_html/
   store/app/Mage.php, /~crazyste/store/app/Mage.php, /home2/~crazyste/public_html/
   store/app/Mage.php. Nothing is working. Does it matter where Magento is installed?
 * [http://wordpress.org/plugins/magento-wordpress-integration/](http://wordpress.org/plugins/magento-wordpress-integration/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [jamesckemp](https://wordpress.org/support/users/jamesckemp/)
 * (@jamesckemp)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/problem-with-install-and-integration/#post-4439940)
 * Hi, No – as long as it’s on the same server.
 * Try making a file called test.php in your Magento root. Insert the following:
 * `<?php echo $_SERVER['DOCUMENT_ROOT']; ?>`
 * That will give you the path you’re looking for.
 *  [wizard247](https://wordpress.org/support/users/wizard247/)
 * (@wizard247)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/problem-with-install-and-integration/#post-4439965)
 * Have the same problem.
 * My test.php returns: /home/lifest65/public_html
 * Magento root is in subfolder “shop”
 * I have tried /home/mysite/public_html/app
    I have tried /home/mysite/public_html/
   shop/app
 * Neither work. Now what?
 * Thanks
    wizard247
 *  [wizard247](https://wordpress.org/support/users/wizard247/)
 * (@wizard247)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/problem-with-install-and-integration/#post-4439966)
 * Have the same problem.
 * My test.php returns: /home/mysite/public_html
 * Magento root is in subfolder “shop”
 * I have tried /home/mysite/public_html/app
    I have tried /home/mysite/public_html/
   shop/app
 * Neither work. Now what?
 * Thanks
    wizard247
 *  [wizard247](https://wordpress.org/support/users/wizard247/)
 * (@wizard247)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/problem-with-install-and-integration/#post-4439967)
 * Resolved! Duh – didn’t realise you actually had to include the filename… 😛
 *  Plugin Author [jamesckemp](https://wordpress.org/support/users/jamesckemp/)
 * (@jamesckemp)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/problem-with-install-and-integration/#post-4439968)
 * Marking as resolved
 *  [pompi](https://wordpress.org/support/users/pompejanska/)
 * (@pompejanska)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/problem-with-install-and-integration/#post-4439969)
 * I have installe WordPress here:
    /var/www/vhosts/e.org/httpdocs/wp_domain_com
 * And Magento here:
    /var/www/vhosts/e.org/httpdocs/mage_domain_com
 * I have tried these paths:
    /var/www/vhosts/e.org/httpdocs/mage_domain_com/app/
   var/www/vhosts/e.org/httpdocs/mage_domain_com/app/ /var/www/vhosts/e.org/httpdocs/
   mage_domain_com/app/Mage.php
 * But nothing works – I see “invalid URL”…
    Maybe dot (e.org) causes problems?

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘problem with install and integration’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/magento-wordpress-integration_1f262e.
   svg)
 * [Magento Wordpress Integration](https://wordpress.org/plugins/magento-wordpress-integration/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/magento-wordpress-integration/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/magento-wordpress-integration/)
 * [Active Topics](https://wordpress.org/support/plugin/magento-wordpress-integration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/magento-wordpress-integration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/magento-wordpress-integration/reviews/)

 * 6 replies
 * 4 participants
 * Last reply from: [pompi](https://wordpress.org/support/users/pompejanska/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/problem-with-install-and-integration/#post-4439969)
 * Status: resolved