Force a specific CLEAN URL to share - NOT the Browser URL

rabattse May 28, 2012 05:55AM EDT

OK that title sounds very dodgy but my CMS system has a lot of imperfections and adds dynamic varialbles to the URL which I don“t want addthis to share

Example
DESIRED URL: http://site.com/index.php?page=2&did=123456
WEIRD URL (same page) http://site.com/index.php?Forum=Forum&page=2&fnvisa=forum&did=123456

Apart from me obviously needing to rethink my site structure how can I force addthis NOT to pull the URL from the browser but instead use the base URL (which I can code into the addthis code!)

I use Facebook Share / Like, Twitter, G+, Pinterest and email

Also Facebook Share & Like are not working well on my pages - the pass http://site.com/index.php to Facebook which is my index page - NOT rhe content page I want to share!

Thanks for you advice!

1 Community Answers

Paul May 29, 2012 03:30PM EDT

You'll have to see the documentation for your CMS to see how to change the URL structure, but for the Facebook shares make sure you're not setting the og:url or canonical links since those will override the URL int he browser. Use Facebook's URL debugger - https://developers.facebook.com/tools/debug - to see what Facebook sees when it scrapes your URL.


This question is closed to new answers.

Still need help?


General Topics

 

Developers