Brackets in url's

Discussions about the phpBB2 Forum. How to get the best from this powerful script.

Moderator: Moderators

Brackets in url's

Postby ultimatehandyman » Thu Apr 16, 2009 6:04 pm

I'm having a lot of problems with brackets posted in url's at the moment.

If someone posts a link that contains brackets ( or ) the link does now work and often the whole post just appears blank.

Also I have just signed up as an affiliate for a large firm that sells over 18,000 items and in order to deep link they use brackets in the url, like this-

Code: Select all
<a href="http://clkuk.affiliate*.com/click?p(73092)a(1046275)g(17391922)url(http://www.*****)" title="My Anchor Text" target="_blank">My Anchor Text</a><img src="http://impgb.affiliate*.com/imp?type(inv)g(17391922)a(1046275)" />


Any advice on how to fix this would be appreciated?

Thanks

Chez
ultimatehandyman
PR2
PR2
 
Posts: 250
Joined: Thu Mar 15, 2007 12:55 am

Advertisement

Re: Brackets in url's

Postby HB » Thu Apr 16, 2009 8:30 pm

I don't have a fix handy, but I assume it would involve URL encoding. I've noticed that phpBB's url tag sometimes chokes on URLs with odd characters in them and resorted to doing it manually (e.g., via one of the sites I found searching on url+encoding).
Dan Kehn
HB
phpBB SEO Team
phpBB SEO Team
 
Posts: 1211
Joined: Mon Oct 16, 2006 2:25 am

Re: Brackets in url's

Postby ultimatehandyman » Fri Apr 17, 2009 11:21 am

Thanks HB,

I have tried encoding the links, but then the link does not work as it should and it just leads to an error page on the affiliate site.

I have just emailed their support to see if they can come up with a solution.

Thanks

chez
ultimatehandyman
PR2
PR2
 
Posts: 250
Joined: Thu Mar 15, 2007 12:55 am


Return to phpBB2 Forum

Who is online

Users browsing this forum: No registered users and 4 guests