WordPress.org

Ready to get started?Download WordPress

Forums

WordPress MU Sitewide Tags Pages
wrong url returned in search results (6 posts)

  1. andy
    Member
    Posted 2 years ago #

    Hi,
    First of all, thanks for this great plugin!!

    I'm using this plugin so that I can sort of fake a 'global' search across my network of sites. I configured the plugin to create a new blog, which it did perfectly.

    I have the search form on my main site, and modified searchform.php to search the new blog created by sitewide tags (I changed the action attribute in searchform.php to get_site_url( 'new blog ID' '/') instead of home_url('/')

    This turns up the search results as expected, but the url's in the search results reflect the new blog w/aggregated content, not the blog they originated from. This is not surprising, but I do need to change those urls somehow - any thoughts or suggestions?

    Also, I did try to pull all posts into my main blog (which seems like the best solution in my case), but I can't seem to get that to work.

    Thanks!
    Andy

    http://wordpress.org/extend/plugins/wordpress-mu-sitewide-tags/

  2. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 2 years ago #

    Are the search results shown with the main site's theme or the tags blog theme?

  3. andy
    Member
    Posted 2 years ago #

    They are shown on the tags blog

    Thanks!

  4. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 2 years ago #

    If the permalinks shown on the search results don't link to the original site then you'll have to look at the theme you are using on the tags blog. If you switch the tags blog to TwentyTen (or Eleven) the permalinks should be to the original post.

  5. andy
    Member
    Posted 2 years ago #

    Hi Ron

    Unfortunately that didn't work. I tried TwentyEleven, TwentyTen and Toolbox but the permalinks are still not pointing to the originating site.

    Do you have any other suggestions?

    Thanks

  6. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 2 years ago #

    Can you switch to TwentyTen again, post a link to the main site, and provide a search term that will find results.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic