wordpress - Officially stuck, need to convert link with the "Heavy Black Heart" unicode character across domains -
a client had sent out mass email using constant contact , links contained unicode text character "heavy black heart", available formats can seen here http://www.fileformat.info/info/unicode/char/2764/index.htm:
so constant contact mail out has links similar following
http://www.wordpress.com/events/❤-heart-card-event-at-kendra-scott
they link 404 parsed constant contacts engine , when clicked newsletter go through constant contact , become following:
http://www.wordpress/event/❤-heart-card-event-christofle-2
so...
because cannot un-send newsletter , constant contact constant, i'm stuck trying convert unicode heart unicode heart, unicode heart after being parsed constant contact.
things i've tried:
1.changing slug of the event/post in wordpress, wordpress not recognize html ❤ , ignores upon saving.
2.changing slug link of post/event a%c2%9d%c2%a4 (the hex version escaped) heart, no good, still comes out using ❤ in , sending 404;
3.trying use .htaccess mode_rewrites file grab html version of url , redirect unicode hex version (really thought it) nope, still loads , directs ol 404.
4.using strange parsed resulting characters ( a, big o, little o) in slug, 1 took , altered slugs still did not link url newsletter.
so i'm spinning wheels , still need newsletter link proper post/event page. ideas appreciated.
just note: client thought heart inside of url cool , sent letter copying , pasting directly constant contact form. i'm assuming cc takes link , parses using it's own system , rebuilding link tracking far can tell, linking unicode text character big "do not try" no-one informed them of.
if newsletter had not been sent snap fix since it's out, thing can try , find way direct links right wordpress posts/events.
your biggest problem fact after (and including) hash not sent server. so, in actual fact, server sees following url request:
http://www.your-domain.com/event/&
so if you're trying htaccess redirect, should work:
redirect /event/& /event/❤-heart-card-event-christofle-2
or, if can, i'd recommend removing heart permalink , instead doing this:
redirect /event/& /event/heart-card-event-christofle-2
Comments
Post a Comment