Title: Wrong links when installed in a subfolder
Last modified: May 12, 2026

---

# Wrong links when installed in a subfolder

 *  [wp103daniel](https://wordpress.org/support/users/wp103daniel/)
 * (@wp103daniel)
 * [6 days, 22 hours ago](https://wordpress.org/support/topic/wrong-links-when-installed-in-a-subfolder/)
 * Hei
   I noticed, that when I have WordPress installed in a subfolder, the links
   do not work correctly.
 * **Admin Bar -> Noted Visual Feedbackmypage.com/wordpress becomes mypage.com/wordpress/
   wordpress/?noted
 * **Frontend -> Noted view -> Dashboard**
   mypage.com/wordpress_12345?page_id=10&
   noted-> mypage.com/wordpress/wp-admin/upgrade.php?_wp_http_referer=%2Fwp-admin%
   2F**Backend -> Noted Visual Feedback -> Dashboard **/ **Backend -> Noted Visual
   Feedback -> Pages**Same problem here, the subfolder gets added twice.
 * This happens because:
 *     ```wp-block-code
       - home_url() already includes the subfolder: https://example.com/wordpress- remove_query_arg() / add_query_arg() return the path from $_SERVER['REQUEST_URI'], which also includes the subfolder: /wordpress/my-page/?noted=So home_url('/wordpress/my-page/?noted=') becomes https://example.com/wordpress/wordpress/my-page/?noted=
       ```
   
 * Also, when closing the overlay, the admin bar stays hidden. It can be fixed by
   just reloading the page, but is not ideal.
   Best, Daniel

Viewing 1 replies (of 1 total)

 *  Plugin Author [Lyndon Kaleb](https://wordpress.org/support/users/lyndonkaleb/)
 * (@lyndonkaleb)
 * [9 hours, 24 minutes ago](https://wordpress.org/support/topic/wrong-links-when-installed-in-a-subfolder/#post-18911681)
 * Hi Daniel, I will have an update pushed later this week to address your issues.
   I’ll report back here when it’s available.

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwrong-links-when-installed-in-a-subfolder%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/noted-visual-feedback/assets/icon-256x256.png?rev=3517662)
 * [Noted Visual Feedback](https://wordpress.org/plugins/noted-visual-feedback/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/noted-visual-feedback/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/noted-visual-feedback/)
 * [Active Topics](https://wordpress.org/support/plugin/noted-visual-feedback/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/noted-visual-feedback/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/noted-visual-feedback/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Lyndon Kaleb](https://wordpress.org/support/users/lyndonkaleb/)
 * Last activity: [9 hours, 24 minutes ago](https://wordpress.org/support/topic/wrong-links-when-installed-in-a-subfolder/#post-18911681)
 * Status: not resolved