Title: Broken links from plugin script
Last modified: August 20, 2020

---

# Broken links from plugin script

 *  [ChrisHPZ](https://wordpress.org/support/users/chrishpz/)
 * (@chrishpz)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/broken-links-from-plugin-script/)
 * Hi Timjin, I wonder if I might make a request. The gist is the script below triggers
   a broken link warning by applications such as Screaming Frog. Would you consider
   re-writing this script? The issue in question is coming from
    `<a href="<%= url%
   >"><%= store %></a>`
 *     ```
       <script id="wpsl-listing-template" type="text/template">
       <li data-store-id="<%= id %>">
       <div class="wpsl-store-location">
       <p><%= thumb %>
       <% if ( wpslSettings.storeUrl == 1 && url ) { %>
       <strong><a href="<%= url %>"><%= store %></a></strong>
       <% } else { %>
       <strong><%= store %></strong>
       <% } %>
       <span class="wpsl-street"><%= address %></span>
       <% if ( address2 ) { %>
       <span class="wpsl-street"><%= address2 %></span>
       <% } %>
       <span><%= city %> <%= state %> <%= zip %></span>
       </p>
   
       </div>
       <div class="wpsl-direction-wrap">
       <%= createDirectionUrl() %>
       </div>
       </li>
       </script>
       ```
   
 * Many thanks
    -  This topic was modified 5 years, 9 months ago by [ChrisHPZ](https://wordpress.org/support/users/chrishpz/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fbroken-links-from-plugin-script%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘Broken links from plugin script’ is closed to new replies.

 * ![](https://ps.w.org/wp-store-locator/assets/icon-256x256.jpg?rev=1007784)
 * [WP Store Locator](https://wordpress.org/plugins/wp-store-locator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-store-locator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-store-locator/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-store-locator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-store-locator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-store-locator/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [ChrisHPZ](https://wordpress.org/support/users/chrishpz/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/broken-links-from-plugin-script/)
 * Status: not resolved