Support > Technical support
Elxis 2009.3 Facebook Comments
(1/1)
siwek:
Hi
I tried to implement of facebook comments to the code...
Everithink work good but I can't reach SEO URL - means my results is:
--- Quote ---<meta property="og:url" content="http://localhost/afrodyta/index.php?option=com_content&task=view&id=171&Itemid=52">
<meta property="og:type" content="website">
<meta property="og:title" content=" ">
<meta property="og:description" content=" ">
--- End quote ---
SEO pro is ON...
I used http://localhost/afrodyta <?php echo $_SERVER['REQUEST_URI'] ?> to reach og:url
Any ideas to change it?
webgift:
Hi! Try this one:
$uri = ltrim(filter_input(INPUT_SERVER, 'REQUEST_URI', FILTER_SANITIZE_URL), '/');
$cur_seourl = $mainframe->getCfg('live_site').'/'.$uri;
- Also check if you have renamed the htaccess.txt file to .htaccess.
siwek:
Thank you :)
this one works
Navigation
[0] Message Index
Go to full version