The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Google Drive for WordPress
broken urls for wordpress in different folder (1 post)

  1. squivo
    Posted 3 years ago #

    ( This is for the most recent version )
    When WordPress is in a folder that is not root ( ex http://www.mysite.com/nestedFolder/ ), the links are broken. There was another post on here regarding this issue on the submit button for the form to register your OAUTH credentials.

    The fix is to replace instances of



    (here's all 4 of them)
    \wp-google-drive\class\settings-class.php (1 hits)
    	Line 36: 		  <form action="<?php echo get_option("home"); ?>/wp-admin/admin.php?page=configure_google&action=auth" method="post">
    	Line 72: 		define('GBACKUP_BACKUP_URL',get_option("home").'/wp-content/backup');
    	Line 73: 		define('GBACKUP_DB_URL',get_option("home").'/wp-content/db');
    	Line 74: 		define('GBACKUP_CONTENT_URL',get_option("home").'/wp-content/');

    I just hope this fix is in the next updated version so I don't have to replace all the instances again :)


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google Drive for WordPress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic