New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GitHub slugs and directory slugs #36
Comments
For now the page slug is different from the plugin slug and as you said it reflects the plugin name. |
One problem I noticed, the current search doesn't work with API slugs. So if I search for "azrcrv-smtp", it won't find the plugin. We either need to be consistent with slugs or figure out a way to make API slugs searchable. |
For the issue of searching for plugins using API slug, I was able to fix it by indexing slugs using Relevanssi. See issue #37. |
This is also relative to #24 and #23. We are using The actual functions of this plugin are not 100% what we need, so we will have to decide:
|
Are we using |
Just for searching. |
Thanks for this. Actually, we're not modifying the plugin but core search. I disabled the plugin and the API still returns correct plugin by slug. |
@xxsimoxx do we agree that keeping directory post slug and Github slug separate/different is the way to go now? So we can close this issue. |
For me there are no problems in keeping the slugs different. |
I noticed that directory post slugs are generated by the post title as it normally would, but the actual slug used in the API is based on the repo slug:
https://staging-directory.classicpress.net/plugins/smtp/
Should we use the actual slug in the URL too? A reviewer could verify this during review process when publishing software.
The text was updated successfully, but these errors were encountered: