php


Change Facebook's Shared URL Meta Information Via PHP


I'm setting up a couple of websites as an extension of a primary URL, and want Facebook to recognise that each subdomain or subfolder is a unique entity.
So I have: http://business.com and on that I have http://business.com/website-1, however some will be http://website-2.business.com.
Either way, when I share a url link on facebook I'm shown the default Picture/Title/Description + Url | Author, and it's the last part which is a problem.
I produce the Author name by coding <meta name="author" content="My Name"> into my <head> section.
The problem is that every article I share on facebook produces:
Business.com | My Name.
How can I set some code for it to display:
Website 1 | My Name ... Website 2 | My Name ... etc?

Related Links

How do I have Laravel send a login form when a user isn't authenticated, rather than redirecting to a login page?
JQuery AutoComplete suggession box showing previous record while change country
Converting to mysqli (finally) [duplicate]
Why does vagrant throw authentication errors when running the up command?
Retrieving data from a secure website using php curl with username and password
gettext does not work
how to use the current value of a select option inside input field
deployment to google app engine php app
What does this SQL trick or injection mean?
Woocommerce - clickable catalog thumbnails and gallery display
SQL where clause giving a null result
How to specify a different .env file for phpunit in Laravel 5?
Get every combination of multiple arrays that can have multiple options
Homestead: Laravel Web page not available
Run PHP script with Windows Task Scheduler, including files fails
How to find out if class properties are private or public? [duplicate]

Categories

HOME
mc
ontouchlistener
add-on
plpgsql
celery
portable-class-library
liferay-7
qooxdoo
drag-and-drop
bittorrent
pyresttest
selection
fasm
business-intelligence
freertos
squirrel-sql
heap-dump
android-contacts
exe
string-formatting
renderscript
psql
infrared
raml
wsf
backtracking
gollum-wiki
tortoisemerge
crud
offline-caching
gravity-forms-plugin
math.js
quick-nimble
grails-2.5
orchardcms-1.8
pdfnet
microsoft-ui-automation
newtons-method
system-on-chip
oauth2-playground
permission-denied
moinmoin
icecast
mura
freshdesk
rustdoc
http4s
wildfly-9
petsc
nclam
tablespace
nunit-console
carmen
timestamping
android-async-http
mnesia
trust
myfaces
directx-9
ambiguity
360-degrees
green-threads
modern.ie
uno
rubber
dc
smacss
qt5.4
oracle-adf-mobile
loginview
network-printers
screwturn
.htpasswd
boolean-algebra
jchartfx
map
progress-db
discovery
codahale-metrics
dibs
clrprofiler
chronometer
uipangesturerecognizer
algol68
downgrade
raw-data
eai
autobench
suggestbox
service-factory
account-management

Resources

Encrypt Message