That sounds pretty simple.
Use: http://codex.wordpress.org/Function_Reference/switch_to_blog
To go back use:
restore_current_blog();
This allows you to switch from site to site.
Then: http://codex.wordpress.org/Function_Reference/get_permalink
My assumptions are that you have both the Blog ID and the Post ID.
If that’s the case – using those two functions should solve your problem.
Related Posts:
- Remove the blog slug from WordPress Multisite root node
- How to get current site id? (WPMU)
- get_current_blog_id returns 1 in multisite setting
- Multisite wordpress and subdomain URL collisions
- 301 Redirects for posts, category, pages from original domain to sub-domain of multisite
- How to get blog id from permalink?
- Removing /blog/ from multisites cause infinite redirection
- Multisite: I have a gap in my blogs. How to add the missing one?
- Multisite Pull Recent Image Attachments from Blog ID
- Multi-site: removing /blog from posts
- Permalinks not working using wordPress Networking with custom post types
- Get the User ID Who Owns a Given Blog ID in Multisite
- MultiSite Move conjures duplicate URL
- Redirect & permalink problems after moving multisite to a new server
- How to get permalink using get_blog_post function in a multisite?
- Get current Blog ID in Tinymce Plugin Dialog Window in WPMU
- Can I safely remove banned names from WordPress?
- One blog inside another
- wordpress multisite permalink structure: mostly subdomains but not all
- How to show only blog-domain instead of the whole permalink in the loop
- Simplest way to query with blog_id?
- Permalink with a Category and then a Post
- Changed sub-site to its own domain trigger 302 redirects for all page links
- How to get blog_id of an MU site when running a custom function on the parent site
- Some permalinks are not working and show 404
- What is with the one month time limit for sub directory installs for multisite network?
- WP MS: How to query over the network
- unique identifier for the same pages in a multilanguage/site context
- WordPress Multisite Permalinks on mapped domain = server 404 error
- Configure WordPress Multisite Pages with Custom Permalinks
- WPMU function get_blog_details, last_updated/registered and formatting time and date string
- WordPressMU: URL change and broken permalinks/links
- Get the post URL from wordpress posts
- Moved my site to new host now getting 404
- Network created blogs URL
- Remove blog slug from WPMU?
- first load of the page gives 404 error
- Permalinks in Multisite not working
- How to remove index.php from a tag or archive page URL in the root blog?
- Multisite: should /blog go to a 404 page?
- How to use WordPress Multisite With Different Domain Names?
- How To Add Custom Form Fields To The User Profile Page?
- Where are available Roles Defined in the wp_ database?
- restore_current_blog() vs switch_to_blog()
- Can i merge 2 new WP_Query($variable) ‘s?
- How to disable a network enabled plugin for just one site?
- How to reliably flush rewrite rules on multisite?
- Site Redirecting to wp-signup.php
- Moving a WP Multisite to a subdirectory
- Cookies in multisite where network sites have their own domain name
- Convert a Multisite WordPress install into a Single site
- WordPress MultiSite Active Directory integration and site privacy
- WordPress Job Interview Preparation
- How to add Custom Blog Options to new blog setup form?
- How can I trust switch_to_blog()?
- Why are my roles not visible in a Multi-site/Network?
- Site admin in a network install can’t edit users?
- How to use same email for multiple users
- How to run an activation function when plugin is network activated on multisite?
- Specific upload folder for PDFs in custom Post type in WP multisite
- What is the correct way to map multiple domains in a WordPress 4.1 multisite install?
- Where can I find documentation on what characters are allowed in user names and why?
- How to migrate subsite from dev multisite to production multisite
- How can I un-reserve a pending username registration?
- How do I remove/delete an old super admin user?
- DB connection error after copying a WordPress Multisite instance to a second location
- Redirect Main Site to Subsite in Multisite WordPress
- Is there a is_user_logged_in() for multisite?
- Switching MultiSite installation from HTTP to HTTPS
- Allow user to select a theme to install when they signup
- Setting up a wordpress network with third level domains
- Get upload URL by blog ID in multisite
- What’s the difference between get_site_option and get_blog_option?
- How to set permalink structure via functions.php
- Need help sorting “My Sites” Alphabetically
- How to delete post revisions?
- Create mobile site with same content just different theme
- Add additional Network constants to wp-config.php dynamically
- Multisite stuck at 1MB for max file size
- How to get blog name, when using WordPress Multisite
- What are options are there to implement a multi language site
- Switching primary site in WordPress Multisite
- Multisite Network Port Num Issues?
- Convert existing site to network
- Where is the robots.txt stored for a WordPress Multisite install?
- Settings API in Multisite – Missing update message
- Add WordPress MU Network Admin via Database
- Multisite on Windows with wildcard subdomains
- Why is WordPress Multisite redirecting to wp-signup.php and how to fix it?
- Which asset URLs are acceptable in a “vanilla” MU install?
- $wpdb->base_prefix not get parent site prefix in multisite
- How to tell which database tables belongs to which multisite site
- what are pmxi tables? [closed]
- Using wp_insert_post() with Networking enabled
- Are nested subdomains possible with a subdomain multisite?
- Sharing Dynamic Sidebars across Multisite Blogs
- I want to develop locally with Multisite, then migrate each site to separate remote WP installs
- Password Reset for Users on a Multisite Subsite
- Anyone figured out how to use WordPress MultiSite with Domain Mapping & SSL?
- Can a multisite’s blogs be accessible from two different sub-domains?