Hope someone can help!
We have a listings programme on site which calls a url for G+ button with:
[php]"<g:plusone size=“small” href="".$url.""></g:plusone>"[/php]
This should produce the URL of the page on which the button is located, but it adds an extra level in front of the URL. For example, when we want to return a URL such as:
/directory/listing/name-of-page.html
we actually get:
/directory/directory/listing/name-of-page.html
which generates 404 errors in Webmasters. Can anyone tell us what is wrong with the php code?
Many thanks