Has anyone done this? Did it make you cry? ;(
For lack of a better option at the time, I set up Domain Prefix on a multi-affiliate site so that I could generate some uniform aliases by prefixing the {url_alias} table. As many of you know, this has its pitfalls, including:
- No alias written to prefixed tables for affiliates when "all affiliates" is selected
- No alias written to prefixed table for affiliate when content is created on a different domain but is granted to affiliate (much of the content is generated by HQ from the default domain).
Will Domain Path at least partially solve these problems? And if so, how much of a PITA will it be to switch? (Site has 20+ affiliates and roughly 1000 pages of content).
Thanks in advance!
Comments
Comment #1
grndlvl commentedSorry this took so long to respond.
Is this still something you are looking into?
Yes domain_path would solve these issues. It wouldn't be terribly difficult, however, it would take a snazzy batch script to do it.
url_alias
pid, souce, alias, language
domain_path
dpid, domain_id, source, alias, language, entity_type, entity_id
Re-open if any needs additional help with this. Or if there is enough requests maybe we could work together to put out an update script.
Comment #2
othermachines commentedYes! It remains one of the outstanding tasks that nags at me as I prepare to (eventually) port the site to D7.
I am happy to know domain_path is where I need to go. Hm. An update script doesn't sound like it would be too difficult. Let me think on it a bit.
Thanks, @grndlvl!
Comment #3
othermachines commentedClosing this as we ended up rebuilding the aliases from scratch rather than migrating them.