






7:27 am

Hi, what I'm trying to do is remove any redundant tags from being used as categories for the post.
I'm an amateur at PHP, but here is the code I made so far:
———————
Login to see the code
———————
This works to remove redundant tags when tested on a plain PHP page. But when I test on pulling a feed in CyberSEO, the redundant tags are still there. I tested if it's possible to overwrite the tags with this code only:
Login to see the code
And that works fine, so it appears the tags can be overwritten. Can you help me on what mistake I am making?
I see the problem. It's because the tags in $post ['categories'] are not trimmed by CyberSEO (i.e. they come with a leading space symbol). Consider it as a bug in the plugin which will be fixed in the next release.
However you can do some workaround in your code which will work now. E.g.:
Login to see the code
Most Users Ever Online: 541
Currently Online:
15 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
ninja321: 86
s.baryshev.aoasp: 68
Freedom: 61
harboot: 56
Pandermos: 54
MediFormatica: 49
Member Stats:
Guest Posters: 337
Members: 2953
Moderators: 0
Admins: 1
Forum Stats:
Groups: 1
Forums: 5
Topics: 1687
Posts: 8617
Newest Members:
dusan.cvetanovich, lanalima.meubanco, bestsitemasters, tdream9x, vvyagov, laurent.clerel.ikmailAdministrators: CyberSEO: 4066