chrisguitarguy
Forum Replies Created
-
Forum: Plugins
In reply to: [SEO Auto Linker] [Plugin: SEO Auto Linker] Regex pattern incorrectI just tested with a ? and other punctuation and it seems to work fine on my local server (nginx + php 5.3.10).
I’m not sure. This unicode and regex stuff is the painful part of this plugin. :/
Forum: Plugins
In reply to: [SEO Auto Linker] [Plugin: SEO Auto Linker] Regex pattern incorrectA word boundary is a position in the subject string where the current character and the previous character do not both match \w or \W (i.e. one matches \w and the other matches \W), or the start or end of the string if the first or last character matches \w, respectively.
And
A “word” character is any letter or digit or the underscore character, that is, any character which can be part of a Perl “word”. The definition of letters and digits is controlled by PCRE’s character tables, and may vary if locale-specific matching is taking place. For example, in the “fr” (French) locale, some character codes greater than 128 are used for accented letters, and these are matched by \w.
It would seem that
\b
uses \w and \W? I also suspect that both \W and \b change when the unicode flag is specified?Source: https://php.net/manual/en/regexp.reference.escape.php
Forum: Plugins
In reply to: [SEO Auto Linker] [Plugin: SEO Auto Linker] Filter for adding keywords/linksHiya,
I don’t think this is going to work the way you want it to. The “links” in version 0.7+ are just a private custom post type that gets used to store all the data in in
{$wpdb->prefix}_postmeta
. So, any links you add would have to look like a post object (eg. have the ID attribute) and have post meta to fetch.That said, there is a filter that you could hook into and roll your own replacements: https://github.com/AgencyPMG/SEO-Auto-Linker/blob/0.7.1/inc/front.php#L99
The only thing to watch out for is that there will be anchors to watch out for (eg.
<a href="">asdf</a>
).Option Two:
Create a dummy keyword. But put at least something in the keywords field. Then use the
seoal_link_keywords
filter (https://github.com/AgencyPMG/SEO-Auto-Linker/blob/0.7.1/inc/front.php#L185) to replace the actual keywords with whatever you’d like.This seems like the easiest option?
Option Three:
Since the links you create are just a custom post type, they get fetched with
get_posts
. You have access to all the filter that come with that (eg.pre_get_posts
,posts_where
, etc).Forum: Plugins
In reply to: [SEO Auto Linker] [Plugin: SEO Auto Linker] Where do the keywords get stored?Hi Chris,
The “keywords” are actually just a custom post type (https://github.com/AgencyPMG/SEO-Auto-Linker/blob/0.7.1/inc/base.php#L7).
So all the keyword lists and such are just stored in
{$wpdb->prefix}_postmeta
. They’re all prefixed withseoal
(https://github.com/AgencyPMG/SEO-Auto-Linker/blob/0.7.1/inc/base.php#L12)Here’s the function that saves all the post meta: https://github.com/AgencyPMG/SEO-Auto-Linker/blob/0.7.1/inc/post-type.php#L248
Does that help?
-CD
Forum: Plugins
In reply to: [SEO Auto Linker] [Plugin: SEO Auto Linker] Expletive deletedI really am not your personal support. This is a free plugin — I’ll be working on the issue, but understand that this is not likely to align with your timetable.
Also, surely you can try deactivating plugins yourself to see if any of those are interfering?
Forum: Plugins
In reply to: [SEO Auto Linker] [Plugin: SEO Auto Linker] Expletive deletedText:
https://i.imgur.com/tVa9G.pngKeyword (I combined your test words into a keyword):
https://i.imgur.com/p93he.pngResult:
https://i.imgur.com/VWfcL.pngSeems to work. Is it possible this is a server config issue.
Forum: Plugins
In reply to: [SEO Auto Linker] [Plugin: SEO Auto Linker] Expletive deletedand by post text, I mean stuff that I can copy and paste, not images.
Forum: Plugins
In reply to: [SEO Auto Linker] [Plugin: SEO Auto Linker] Expletive deletedI’m not going to download an arbitrary zip. Please post the file themselves on an image sharing site ala imgur.
Again, look at my photos. Are those not russian words?
Do what I requested, and stop telling me it doesn’t work. I get it — now I want to fix it. But I cannot do that unless you help me out here:
1. Post text to which you’re trying to add links
2. Post the keywords you’re using for you linksForum: Plugins
In reply to: [SEO Auto Linker] [Plugin: SEO Auto Linker] Expletive deletedA bit of unicode…
https://i.imgur.com/xrtLO.pngA bit of unicode in a link…
https://i.imgur.com/ZB2er.pngAnd it seems to work even…
https://i.imgur.com/D2dA9.pngI can’t fix something that I can’t reproduce. It would help if you posted some sample content to which you’re trying to add links along with the terms you’re trying to link.
Thanks.
Hi,
You can’t change the CSS as these call in an iFrame from facebook — this is how the like box and such are done, regardless of plugin.
About the only option you get is light or dark themed.
Forum: Plugins
In reply to: [SEO Auto Linker] [Plugin: SEO Auto Linker] Expletive deleted1. Be nice.
2. Be more specific. Eg. Give me some content that isn’t working for you and the keywords and urls you’re using for it. Are there errors showing? etc.If all else fails, you are welcome to find another auto linking plugin. Here’s one: https://www.ads-software.com/extend/plugins/seo-automatic-links/
@markbrian You’ll have to leave it for now. I’m not sure what will happen if you try to delete it to be honest — WordPress does weird stuff with more than one plugin in a directory. I will remove it once on the next point release (0.8) most likely. Glad you like the plugin!
@liveland Thanks so much!
Resolved with 0.7.1 (hopefully!).
Hi guys, I’m working on this right now. You should have a fix by the end of the day — the migration tool will still be a separate plugin.
In the meantime, you can just change the
Version
header inseo-auto-linker/seoal-migration.php
to 1000 or something really high instead ofThereisnoversion
.I wasn’t aware of the issues the WP repo would have with two plugins in the same folder.
Forum: Plugins
In reply to: [SEO Auto Linker] [Plugin: SEO Auto Linker] not multibytepreg_replace
theoretically has multibyte support via theu
flag.I was able to get this working with multibyte support working my local install (and on a media temple server). Still looking into the issue.
Either way, I may switch to
mb_ereg_replace
, just means some refactoring.Please try the latest version!