Title: martonic's Replies | WordPress.org

---

# martonic

  [  ](https://wordpress.org/support/users/martonic/)

 *   [Profile](https://wordpress.org/support/users/martonic/)
 *   [Topics Started](https://wordpress.org/support/users/martonic/topics/)
 *   [Replies Created](https://wordpress.org/support/users/martonic/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/martonic/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/martonic/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/martonic/engagements/)
 *   [Favorites](https://wordpress.org/support/users/martonic/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 23 total)

1 [2](https://wordpress.org/support/users/martonic/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/martonic/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Buttonizer - Social Media Share Buttons, Social Icons, & Social Feeds] Nothing but the title](https://wordpress.org/support/topic/nothing-but-the-title/)
 *  Thread Starter [martonic](https://wordpress.org/support/users/martonic/)
 * (@martonic)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/nothing-but-the-title/#post-3959300)
 * Edit. The shortcode produced only the title. In another page, where I use php
   I put in the following code:
 * `<?php dynamic_sidebar( 'secondary-widget-area' ); ?>`
 * This renders correctly.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Installation confused about plugin location](https://wordpress.org/support/topic/installation-confused-about-plugin-location/)
 *  Thread Starter [martonic](https://wordpress.org/support/users/martonic/)
 * (@martonic)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/installation-confused-about-plugin-location/page/2/#post-3661143)
 * **SOLVED**
 * There is NOTHING in the WordPress database nor configuration that tells WP where
   to install/update themes or plugins!
 * It is entirely controlled by the default access for the FTP ACCOUNT that is used
   for this purpose.
 * I simply needed to update the FTP credentials so that an account would be used
   that defaults to the correct location (now the root).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Installation confused about plugin location](https://wordpress.org/support/topic/installation-confused-about-plugin-location/)
 *  Thread Starter [martonic](https://wordpress.org/support/users/martonic/)
 * (@martonic)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/installation-confused-about-plugin-location/page/2/#post-3661142)
 * The necessity was to have the files available in a new location. I kept the old
   ones “just in case”. As it turns out, IIRC the first time I could not get into
   the admin site at sitename/admin, I had to use sitename/wp/admin – so if I had
   deleted (“moved”) those files, I would have been SOL. However, the existence 
   of files that are not referenced should mean nothing. WP had been told to look
   for them in a new location. Why should it matter if they are also present in 
   an old location, or a dozen other locations that WP has been told NOT to use?
   It should not matter at all. If you are saying that was a mistake, and it led
   to the current behavior, for which there is still no explanation in sight, I 
   would like to see some justification for that opinion. I still don’t see why 
   WP should be attempting to update files in a location that is not referenced 
   either in the database, or in any of the configuration files – or how it can 
   know where the files are for the purpose of READING them, but not for the purpose
   of WRITING them. That makes no sense – so it must be incorrect, and a reference
   to that directory must still exist somewhere in the working image. However, the
   mere EXISTENCE of an old directory should have no effect whatsoever. If this 
   is wrong, please explain how it can be wrong. Thanks for your help!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Installation confused about plugin location](https://wordpress.org/support/topic/installation-confused-about-plugin-location/)
 *  Thread Starter [martonic](https://wordpress.org/support/users/martonic/)
 * (@martonic)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/installation-confused-about-plugin-location/#post-3661140)
 * That is exactly what I followed, or tried to follow, as well as I could understand
   it.
 * Can you point to something I did wrong?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Installation confused about plugin location](https://wordpress.org/support/topic/installation-confused-about-plugin-location/)
 *  Thread Starter [martonic](https://wordpress.org/support/users/martonic/)
 * (@martonic)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/installation-confused-about-plugin-location/#post-3661138)
 * 1) Administration > Settings > General panel.
 * 2) Changed WordPress Address and Site Address from [http://wp/sitename.com](http://wp/sitename.com)
   to [http://sitename.com](http://sitename.com).
 * 3) Clicked “Save Changes”.
 * 4) Copied wp-admin, wp-content, wp-includes directories from public-html/wp to
   public-html.
 * 5) Copied .htaccess, index.php, xmlrpc.php, and all of the wp-*.php files from
   public-html/wp to public-html.
 * 6) Edited index.php (in the root directory). Changed “require(‘./wp/wp-blog-header.
   php’);” to “require(‘./wp-blog-header.php’);”.
 * 7) Ran the “Search and Replace for WordPress Databases Script” from here:
 * [http://interconnectit.com/products/search-and-replace-for-wordpress-databases/](http://interconnectit.com/products/search-and-replace-for-wordpress-databases/)
 * Changed all matching references from “sitename/wp/” to “sitename/”.
 * 8) Opened the admin site which was a bit tricky. I don’t recall how I finally
   got into the site at this point.
 * 9) Administration > Settings > Permalinks
 * 10) Clicked “Save Changes”. The contents of sitename/.htaccess did not need to
   be changed; it already matched what was shown. It has the permalink code and 
   nothing else.
 * I think that’s it.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Installation confused about plugin location](https://wordpress.org/support/topic/installation-confused-about-plugin-location/)
 *  Thread Starter [martonic](https://wordpress.org/support/users/martonic/)
 * (@martonic)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/installation-confused-about-plugin-location/#post-3661135)
 * Thanks.
 * I only found one entry with the string ‘/wp/’ in the option_value field.
 * The option_name is “recently_edited” and the length of each sub-string (a total
   of five “s:xxx” values) is embedded in the data (error-prone for manual editing).
 * It does not seem like the “recently_edited” row should be causing these problems.
   But then again, I don’t understand why “recently_edited” would be considered 
   an “option” in the first place. I surely don’t know what effect this entry is
   supposed to have on the site behavior.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Installation confused about plugin location](https://wordpress.org/support/topic/installation-confused-about-plugin-location/)
 *  Thread Starter [martonic](https://wordpress.org/support/users/martonic/)
 * (@martonic)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/installation-confused-about-plugin-location/#post-3661133)
 * I ran the “search and replace php script” but I cannot be 100% sure that it worked
   correctly. However, the site does run at its new location and WP READS the plugins,
   themes and so on from the correct location, it just continues to WRITE them (
   including updates) to the wrong one.
 * Hence my original question in the first post above:
 * Can anyone tell me where, in the database, is the information that tells WordPress
   where to operate on the installed plugins? This seems to be different than the
   information that tells it from where to LOAD the installed plugins. I would call
   this a BUG – but meanwhile, would like to find a way to correct this problem.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Installation confused about plugin location](https://wordpress.org/support/topic/installation-confused-about-plugin-location/)
 *  Thread Starter [martonic](https://wordpress.org/support/users/martonic/)
 * (@martonic)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/installation-confused-about-plugin-location/#post-3661131)
 * esmi wrote:
 * > Try commenting out those two lines in wp-config.php
 * Thanks esmi but it makes no difference. It worked that way BEFORE I added those
   lines to wp-config.php, and it still works the same crazy way AFTER I added them
   in. I then went to the Settings page and clicked ‘Submit’ (without changing anything)
   but that made no difference either.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Installation confused about plugin location](https://wordpress.org/support/topic/installation-confused-about-plugin-location/)
 *  Thread Starter [martonic](https://wordpress.org/support/users/martonic/)
 * (@martonic)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/installation-confused-about-plugin-location/#post-3661130)
 * Example 2. I install a plugin and it lands here:
 * $_SERVER[‘DOCUMENT_ROOT’] . ‘/wp/wp-content/plugins’
 * and I go to the plugins page and it is NOT THERE.
 * I manually MOVE the new directory into this location:
 * $_SERVER[‘DOCUMENT_ROOT’] . ‘/wp-content/plugins’
 * and THEN WordPress agrees that we have a new plugin installed.
 * Any ideas?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Installation confused about plugin location](https://wordpress.org/support/topic/installation-confused-about-plugin-location/)
 *  Thread Starter [martonic](https://wordpress.org/support/users/martonic/)
 * (@martonic)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/installation-confused-about-plugin-location/#post-3661128)
 * Unfortunately, changing wp-config.php did not seem to help.
 * For example, wp-config.php has this:
 * define( ‘WP_CONTENT_DIR’, $_SERVER[‘DOCUMENT_ROOT’] . ‘/wp-content’ );
    define(‘
   WP_CONTENT_URL’, ‘[http://sitename.com/wp-content&#8217](http://sitename.com/wp-content&#8217););
 * (the text is not “sitename”, it is the actually web site name)
 * I log into dashboard and it says I need to update two themes (twenty-ten and 
   twenty-eleven).
 * If I update them, it changes the content HERE:
 * $_SERVER[‘DOCUMENT_ROOT’] . ‘/wp/wp-content/themes’
 * NOT here:
 * $_SERVER[‘DOCUMENT_ROOT’] . ‘/wp-content/themes’
 * It says both updates are successful BUT as soon as I click “Dashboard”, it STILL
   says that two themes need to be updated.
 * WordPress is READING our content from the correct location, but WRITING it to
   the wrong location!
 * Any help will be appreciated enormously!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Installation confused about plugin location](https://wordpress.org/support/topic/installation-confused-about-plugin-location/)
 *  Thread Starter [martonic](https://wordpress.org/support/users/martonic/)
 * (@martonic)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/installation-confused-about-plugin-location/#post-3661127)
 * Thank you very much!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[FAQ plugin] Works great – but disables our "Add Media" button](https://wordpress.org/support/topic/works-great-but-disables-our-add-media-button/)
 *  Thread Starter [martonic](https://wordpress.org/support/users/martonic/)
 * (@martonic)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/works-great-but-disables-our-add-media-button/#post-3370214)
 * Our “solution” is to use a different plugin.
 * To use this one, don’t forget to update the jquery registration as explained 
   in the post just above by the author.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[FAQ plugin] Works great – but disables our "Add Media" button](https://wordpress.org/support/topic/works-great-but-disables-our-add-media-button/)
 *  Thread Starter [martonic](https://wordpress.org/support/users/martonic/)
 * (@martonic)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/works-great-but-disables-our-add-media-button/#post-3370141)
 * Thank you very much. We are now using another solution, but I appreciate the 
   answer.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[FAQ plugin] Works great – but disables our "Add Media" button](https://wordpress.org/support/topic/works-great-but-disables-our-add-media-button/)
 *  Thread Starter [martonic](https://wordpress.org/support/users/martonic/)
 * (@martonic)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/works-great-but-disables-our-add-media-button/#post-3370105)
 * [http://madebyraygun.com/wordpress/plugins/q-and-a-plus/](http://madebyraygun.com/wordpress/plugins/q-and-a-plus/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[FAQ plugin] Works great – but disables our "Add Media" button](https://wordpress.org/support/topic/works-great-but-disables-our-add-media-button/)
 *  Thread Starter [martonic](https://wordpress.org/support/users/martonic/)
 * (@martonic)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/works-great-but-disables-our-add-media-button/#post-3370103)
 * No – we switched to “Q&A” (now using the paid version, “Q&A Plus”) which is looking
   okay (with search and category links disabled, and styling added).
 * We also liked “Faq manager” except that re-ording the questions seems to be broken
   🙁

Viewing 15 replies - 1 through 15 (of 23 total)

1 [2](https://wordpress.org/support/users/martonic/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/martonic/replies/page/2/?output_format=md)