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:
21 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
ninja321: 84
s.baryshev.aoasp: 68
Freedom: 61
Pandermos: 54
MediFormatica: 49
B8europe: 48
Member Stats:
Guest Posters: 337
Members: 2817
Moderators: 0
Admins: 1
Forum Stats:
Groups: 1
Forums: 5
Topics: 1627
Posts: 8280
Newest Members:
igor.buzaev, jeremyboucher, lthompson2709, MAC, duty3canada, backlinkmoroccoAdministrators: CyberSEO: 3913