[Resolved] Using WP tags on Subdomain Redirecting to Main Domain
I am in building WP out to act as a content management system. I have two urls up and running for testing purposes. Here is my problem:
I would like the “Tag” link, i.e. <?php the_tags(‘Tags: ‘, ‘, ‘, ‘
‘); ?> on the subdomain to point to render the appropriate tag from the sub but point to the tag cloud on the main domain.
At the bottom, below the contact form is the “tag” link for “Regranex”
The tag, when clicked points to http://scott-nabers.injuryhelpnetwork.com/tags/regranex/
I would like it to render the appropriate tag contained in the post but point to this url: http://www.injuryhelpnetwork.com/tags/regranex/
Maybe this should be moved to the WP-Advanced cat on the forum? I tried to post there but I did not have access.
you’ll have to hack the core to make it do that, and therefore into territory which won’t interest most people, as most people like to keep upgrading.
I’m definitely in that camp myself.
Take it from me, using multiple domains with wordpress isn’t something that’s established to the point where you can readily find answers to your questions. This is an area in which you’ll need to forge your own path.
Thanks … do you happen to know which file needs a mod? I have done a few for dif topics in the wp-includes folder. Trail and error is not so bad … let me know if you know the file that needs the hack.
no, I don’t… but I could find it… and if I can, so can you.
follow the trail of breadcrumbs… the template tag for displaying tags will lead you to more functions, which will lead you to others, which will probably let you jump in with a quick mod.
Searching the files is your friend.
You’re in for a lot of this sort of thing, if you wanna play with multiple domains, so I suggest you stop being shy and get your hands dirty.
Thanks Ivovic … i already spent about 6 hours looking and testing dif scenarios and is why i asked. I’ll keep looking 🙂 Thanks again man.
- The topic ‘[Resolved] Using WP tags on Subdomain Redirecting to Main Domain’ is closed to new replies.