Title: Post Redirect Link Conflicts with Plugin
Last modified: August 22, 2016

---

# Post Redirect Link Conflicts with Plugin

 *  Resolved [redeclipse](https://wordpress.org/support/users/redeclipse/)
 * (@redeclipse)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/post-redirect-link-conflicts-with-plugin/)
 * Hello, my site’s MLA Gallery was working perfectly until I implemented a new 
   plugin for a search option using a premium version of [SEARCH IN PLACE](https://wordpress.org/plugins/search-in-place/).
 * So I know it’s the search in place plugin giving the trouble (because I’ve activated
   and deactivated to test), but I was wondering if the code could be tweaked on
   the gallery end to work together.
 * On my website here: [http://www.theforgottenlair.net/test/](http://www.theforgottenlair.net/test/)
   the text link underneath the thumbnail images are supposed to (and used to) link
   directly to the post page they’re attached to. Is there a small fix to this so
   that it works again? Otherwise I’ll have to contact the SIP guys…
 * EDIT: I should note that the links to the posts are coded to the gallery are 
   in this form: ([http://www.theforgottenlair.net/mobile-wallpapers/?page_id=9421](http://www.theforgottenlair.net/mobile-wallpapers/?page_id=9421))
   but when it reaches the page, it looks like this ([http://www.theforgottenlair.net/mobile-wallpapers/sankarea/](http://www.theforgottenlair.net/mobile-wallpapers/sankarea/))
   due to how I have my WP set up. Was there ever a way to just have the links be
   in their text form rather than the uglier page id form? But as you can see, the
   Page ID link form does not work with SIP.
 * Thank you so very much.
 * [https://wordpress.org/plugins/media-library-assistant/](https://wordpress.org/plugins/media-library-assistant/)

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

 *  Thread Starter [redeclipse](https://wordpress.org/support/users/redeclipse/)
 * (@redeclipse)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/post-redirect-link-conflicts-with-plugin/#post-5732325)
 * Oh, the code I have is
    `[mla_gallery my_custom_sql='attachment_category=mobile
   orderby=id order=DESC' size=medium link=file columns=4 mla_caption="<a href='
   http://www.theforgottenlair.net/mobile-wallpapers/?page_id={+parent+}'>{+parent_title
   +}</a>" mla_target='_blank' numberposts=40]`
 *  Plugin Author [David Lingren](https://wordpress.org/support/users/dglingren/)
 * (@dglingren)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/post-redirect-link-conflicts-with-plugin/#post-5732392)
 * Thank you for the detailed report and the links to your site. Thanks, too, for
   posting the compete source text for your shortcode.
 * If you are using the latest MLA version (v2.01)you can try one of the new “Gallery-
   specific Substitution Parameters” to change the links in the gallery. Change 
   your `mla_caption` parameter from:
 *     ```
       href='http://www.theforgottenlair.net/mobile-wallpapers/?page_id={+parent+}'>{+parent_title+}</a>"
       ```
   
 * to
 *     ```
       href='http://www.theforgottenlair.net/mobile-wallpapers/{+page_name+}/'>{+parent_title+}</a>"
       ```
   
 * Let me know if that is the only SIP issue you have and if the suggested changes
   resolve it. I will leave this topic unresolved until I hear back from you.
 *  Thread Starter [redeclipse](https://wordpress.org/support/users/redeclipse/)
 * (@redeclipse)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/post-redirect-link-conflicts-with-plugin/#post-5732395)
 * When I changed it to `{+page_name+}` all the links lead to the very last post
   in that specific category. (mobile) They are not linking to their respective 
   pages and are instead all linked to the last alphabetical post. (zankyou-no-terror)
 *  Plugin Author [David Lingren](https://wordpress.org/support/users/dglingren/)
 * (@dglingren)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/post-redirect-link-conflicts-with-plugin/#post-5732408)
 * Yes, you’re right – please forgive my hasty and incorrect suggestion.
 * I have added two new item-specific substitution parameters, `parent_name` and`
   parent_permalink` to the list. I will post an update here as soon as those additions
   make it to the Development Version here in the Repository. Thanks for your understanding
   and your patience.
 *  Thread Starter [redeclipse](https://wordpress.org/support/users/redeclipse/)
 * (@redeclipse)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/post-redirect-link-conflicts-with-plugin/#post-5732410)
 * No problem, I’ll wait. You’ve been super helpful. 🙂
 * EDIT: It seems it was something with the SIP plugin’s updated files that was 
   doing something to the site. The problem no longer exists, thank you for helping.
   🙂
 *  Thread Starter [redeclipse](https://wordpress.org/support/users/redeclipse/)
 * (@redeclipse)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/post-redirect-link-conflicts-with-plugin/#post-5732414)
 * Edit above. Problem no longer exists, thank you. 🙂
 *  Plugin Author [David Lingren](https://wordpress.org/support/users/dglingren/)
 * (@dglingren)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/post-redirect-link-conflicts-with-plugin/#post-5732418)
 * Thanks for the updates with the good news! I went ahead and added the new item-
   specific substitution parameters, `parent_name` and `parent_permalink` to the
   Development Version. They are a good addition and if you want to give them a 
   try, let me know how they work for you.
 * I see this topic is marked resolved, but please update it if you have any other
   issues with the URLs in your galleries.

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

The topic ‘Post Redirect Link Conflicts with Plugin’ is closed to new replies.

 * ![](https://ps.w.org/media-library-assistant/assets/icon-256x256.png?rev=973502)
 * [Media Library Assistant](https://wordpress.org/plugins/media-library-assistant/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/media-library-assistant/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/media-library-assistant/)
 * [Active Topics](https://wordpress.org/support/plugin/media-library-assistant/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/media-library-assistant/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/media-library-assistant/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [David Lingren](https://wordpress.org/support/users/dglingren/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/post-redirect-link-conflicts-with-plugin/#post-5732418)
 * Status: resolved