Página 1 de 1

error en link de twitter al compartir un tema

Publicado: 13 Nov 2014, 22:24
por patito_loko
Tengo un problema con el boton de twitter para compartir un tema del foro en twitter con su respectivo link del tema y titulo.
Al twittear, lo reconoce, pero transforma el link del post agregandole otra direccion

https://twitter.com/intent/tweet?original_referer=http%3A%2F%2Flaplatapolitica.com.ar[highlight=yellow]%2Fvie[/highlight]wtopic.php%3Ff%3D2%26t%3D17&text=Arlia%20recibi%C3%B3%20a%20Luciani%20para%20avanzar%20con%20las%20obras%20en%20Luj%C3%A1n%20-%20LaPlataPolitica&tw_p=tweetbutton&url=http%3A%2F%2Flaplatapolitica.com.ar[highlight=yellow]%2Fportal%2[/highlight]Fviewtopic.php%3Ft%3D17&via=LPPoliticaWeb

Como marque ahi, me agrega la carpeta /portal
en vez de dejar el link original http://laplatapolitica.com.ar/viewtopic.php?f=2&t=17

y lo comparte en twitter, pero con el link modificado:
http://laplatapolitica.com.ar/portal/vi ... p?f=2&t=17

y asi no funciona.
me tira este error:


Información

No route found for "GET /portal/viewtopic.php"


<a href="https://twitter.com/share" class="twitter-share-button" data-via="LPPoliticaWeb" data-lang="es" data-size="large">Twittear</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>

Re: error en link de twitter al compartir un tema

Publicado: 14 Nov 2014, 00:18
por patito_loko
ya solucione. Tenia en el acp la url puesta como principal del portal. eso me genero el conflicto.