Remove SEO by Artio link in JoomSEF 3.2.3
That pesky SEO by Artio link jumps straight back in when you do an update or install the latest version of Artio’s JoomSEF for Joomla 1.5.x. Here’s how you get rid of it!
(This fix works for most versions of JoomSEF, however the actual line for the fix may differ slightly.)
Jump into the file:
components/com_sef/joomsef.php
On line 757 (or thereabouts) the following string will be added to the end of your content ($buf is your content so far):
757 | $buf.='<'.'d'.'i'.'v'.'>'.'<'.'a'.' '.'h'.'r'.'e'.'f'.'='.'"'.'h'.'t'.'t'.'p'.':'.'/'.'/'.'w'.'w'.'w'.'.'.'a'.'r'.'t'.'i'.'o'.'.'.'n'.'e'.'t'.'"'.' '.'s'.'t'.'y'.'l'.'e'.'='.'"'.'f'.'o'.'n'.'t'.'-'.'s'.'i'.'z'.'e'.':'.' '.'8'.'p'.'x'.';'.' '.'v'.'i'.'s'.'i'.'b'.'i'.'l'.'i'.'t'.'y'.':'.' '.'v'.'i'.'s'.'i'.'b'.'l'.'e'.';'.' '.'d'.'i'.'s'.'p'.'l'.'a'.'y'.':'.' '.'i'.'n'.'l'.'i'.'n'.'e'.'"'.' '.'t'.'i'.'t'.'l'.'e'.'='.'"'.'I'.'n'.'f'.'o'.'r'.'m'.'a'.'t'.'i'.'o'.'n'.' '.'s'.'y'.'s'.'t'.'e'.'m'.'s'.','.' '.'d'.'a'.'t'.'a'.'b'.'a'.'s'.'e'.'s'.','.' '.'i'.'n'.'t'.'e'.'r'.'n'.'e'.'t'.' '.'a'.'n'.'d'.' '.'w'.'e'.'b'.' '.'a'.'p'.'p'.'l'.'i'.'c'.'a'.'t'.'i'.'o'.'n'.'s'.'"'.'>'.'S'.'E'.'O'.' '.'b'.'y'.' '.'A'.'r'.'t'.'i'.'o'.'<'.'/'.'a'.'>'.'<'.'/'.'d'.'i'.'v'.'>'; |
To ensure nothing is appended to the end of your content, simply replace that line with this:
757 | $buf.=''; |
And voila… link gone!
Related posts:
your solution not working on joomsef 3.2.3 ,
It sure does… I created this fix for http://www.ensuitesontow.com.au and documented it here. What is the issue that you are having?
sweet! worked like a charm! Thanks.
I found several tips but this one is fast and working. Thanks.
This is quick. Sweet..Thanks!
Sweet wasnt at the line you said but i think thats to do with formatting that shitty dreamweaver does. Still found it via Ctrl+F
Now to post it on Artio forum or not to post that is the question
A BIG THANK YOU! Works Great!
Indeed it did work. It was on a different line but I knew what I was looking for thanks to you.
Cheers!
Sweet!!!!!!!!! I discovered the code to be removed on my own, but your article assured me of what to do. Good Work!
Thank you so much!
They changed it in 3.5.
to disable the link in 3.5 look around line 1645
or search for $cacheBuf2
replace it with $cacheBuf2 =”;
Cheers, DS
Cheers, I’ve actually been meaning to write another small post about the latest version.
Above didn’t work for me with version “3.5.1″
To remove the link look for:
$doc->$cache($cacheBuf . base64_decode($cacheBuf2), ‘component’);
Comment that line out – so replace with:
//$doc->$cache($cacheBuf . base64_decode($cacheBuf2), ‘component’);
No more link.
Thanks a lot, it worked perfectly.
For Joomsef 3.6.5 remove Artio link like this:
Open root/components/com_sef/joomsef.php
comment line 2213 :: $doc->$cache($cacheBuf . base64_decode($cacheBuf2), ‘component’);
You can comment it using //
Remove SEO by Artio link in JoomSEF 3.6.3
Search in line 2156 archiv components/com_sef/joomsef.php
$cacheBuf2 =
\\\\replace for
$cacheBuf2 =”;
ok thanks