You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Align the plugin and documentation with the verified WordPress 6.9.3 and Rank Math 1.0.265 compatibility update so the 1.0.9 release is ready to ship. This also refreshes the roadmap with page support and CI/CD follow-up work.
Copy file name to clipboardExpand all lines: README-NORWEGIAN.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@
9
9
## 📋 Oversikt
10
10
11
11
**Plugin Name**: Rank Math API Manager
12
-
**Version**: 1.0.6
12
+
**Version**: 1.0.9
13
13
**Author**: Devora AS
14
14
**Description**: WordPress-plugin som eksponerer REST API-endepunkter for å oppdatere Rank Math SEO-metadata programmatisk.
15
15
@@ -69,7 +69,7 @@ curl -X POST "https://example.com/wp-json/rank-math-api/v1/update-meta" \
69
69
70
70
### 2. Tillatelser
71
71
72
-
Plugin-et krever at brukeren har `edit_posts`-rettigheter for å oppdatere metadata.
72
+
Plugin-et krever at brukeren er autentisert og kan redigere det konkrete innlegget eller produktet via `current_user_can( 'edit_post', $post_id )`.
73
73
74
74
### 3. REST API-tilgang
75
75
@@ -106,13 +106,13 @@ Dette plugin-et er spesielt designet for å fungere med Devora sin n8n workflow
106
106
### Autentisering
107
107
108
108
- Krever WordPress Application Password eller Basic Auth
109
-
- Validerer brukerrettigheter (`edit_posts`)
109
+
- Validerer objektnivå-brukerrettigheter (`edit_post` for det forespurte innlegget eller produktet)
110
110
- Sanitizerer alle input-parametere
111
111
112
112
### Validering
113
113
114
114
- Validerer at `post_id` eksisterer
115
-
- Sanitizerer tekst-felter med `sanitize_text_field()`
115
+
- Sanitizerer SEO-tekstfelt med `wp_filter_nohtml_kses()`
116
116
- Validerer URL-er med `esc_url_raw()`
117
117
118
118
## 🔧 Tekniske Detaljer
@@ -330,7 +330,7 @@ A: Ja, Rank Math SEO-plugin må være installert og aktivert for at dette plugin
330
330
A: Last opp plugin-filen til `/wp-content/plugins/rank-math-api-manager/` og aktiver den i WordPress admin-panel.
331
331
332
332
**Q: Hvilke tillatelser trenger jeg?**
333
-
A: Du må ha `edit_posts`-rettigheter for å bruke API-endepunktene.
333
+
A: Du må være autentisert og ha rettighet til å redigere det konkrete innlegget eller produktet.
334
334
335
335
**Q: Hvordan setter jeg opp autentisering?**
336
336
A: Bruk WordPress Application Passwords eller Basic Auth. Se installasjonsseksjonen for detaljer.
@@ -347,7 +347,7 @@ A: Ja, plugin-et støtter automatisk WooCommerce produkter hvis WooCommerce er a
347
347
A: Se n8n-integrasjonsseksjonen i dokumentasjonen for eksempel-konfigurasjon.
348
348
349
349
**Q: Er det rate limiting på API-endepunktene?**
350
-
A: Plugin-et bruker WordPress' innebygde rate limiting. For høy-trafikk nettsteder anbefales ekstra rate limiting.
350
+
A: Plugin-et har forelopig ingen dedikert rate limiting for endepunktet. Ruten krever autentisering og objektnivå-tillatelser, og ekstra rate limiting kan legges til på nettsted- eller infrastrukturnivå ved behov.
351
351
352
352
### 🛡️ Sikkerhet
353
353
@@ -374,7 +374,7 @@ A: Test API-endepunktet med en enkel POST-forespørsel til `/wp-json/rank-math-a
374
374
### 🐛 Feilsøking
375
375
376
376
**Q: Får jeg 401 Unauthorized-feil?**
377
-
A: Sjekk at Application Password er riktig konfigurert og at brukeren har `edit_posts`-rettigheter.
377
+
A: Sjekk at Application Password er riktig konfigurert og at brukeren kan redigere det konkrete innlegget eller produktet.
378
378
379
379
**Q: Får jeg 404 Not Found-feil?**
380
380
A: Verifiser at plugin-et er aktivt og at WordPress REST API er tilgjengelig.
@@ -403,7 +403,7 @@ A: Ja, webhook-støtte er planlagt for fase 3.
403
403
1.**401 Unauthorized**
404
404
405
405
- Sjekk at Application Password er riktig konfigurert
406
-
- Verifiser at brukeren har `edit_posts`-rettigheter
406
+
- Verifiser at brukeren kan redigere det konkrete innlegget eller produktet
Copy file name to clipboardExpand all lines: README.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@
10
10
## 📋 Overview
11
11
12
12
**Plugin Name**: Rank Math API Manager
13
-
**Version**: 1.0.8
13
+
**Version**: 1.0.9
14
14
**Author**: [Devora AS](https://devora.no/)
15
15
**Description**: WordPress extension that exposes REST API endpoints to update [Rank Math](https://rankmath.com/) SEO metadata programmatically.
16
16
@@ -68,13 +68,13 @@ Replace `USERNAME` and `APPLICATION_PASSWORD` with your WordPress username and [
68
68
69
69
### 1. Plugin Installation
70
70
71
-
1. Upload `rank-math-api-manager.php` to `/wp-content/plugins/rank-math-api-manager/`
71
+
1. Upload the plugin ZIP or extracted plugin folder to `/wp-content/plugins/rank-math-api-manager/`
72
72
2. Activate the plugin in WordPress admin panel
73
73
3. Verify that the plugin is active
74
74
75
75
### 2. Permissions
76
76
77
-
The plugin requires users to have `edit_posts` permissions to update metadata.
77
+
The plugin requires users to be authenticated and able to edit the specific target post or product via `current_user_can( 'edit_post', $post_id )`.
78
78
79
79
### 3. REST API Access
80
80
@@ -111,13 +111,13 @@ This plugin is specifically designed to work with Devora's n8n workflow "Write w
111
111
### Authentication
112
112
113
113
- Requires WordPress Application Password or Basic Auth
114
-
- Validates user permissions (`edit_posts`)
114
+
- Validates object-level user permissions (`edit_post` on the requested post or product)
115
115
- Sanitizes all input parameters
116
116
117
117
### Validation
118
118
119
119
- Validates that `post_id` exists
120
-
- Sanitizes text fields with `sanitize_text_field()`
120
+
- Sanitizes SEO text fields with `wp_filter_nohtml_kses()`
121
121
- Validates URLs with `esc_url_raw()`
122
122
123
123
## 🔧 Technical Details
@@ -324,18 +324,18 @@ POST /wp-json/rank-math-api/v1/multisite-update
324
324
A: Rank Math API Manager is a WordPress plugin that allows you to update Rank Math SEO metadata programmatically via REST API endpoints. It's specifically designed to integrate with automation like n8n workflows.
325
325
326
326
**Q: Which WordPress versions are supported?**
327
-
A: The plugin requires WordPress 5.0 or newer and PHP 7.4 or newer.
327
+
A: The plugin requires WordPress 5.0 or newer and PHP 7.4 or newer. It has been verified on WordPress 6.9.3 during local runtime testing.
328
328
329
329
**Q: Is Rank Math SEO plugin required?**
330
330
A: Yes, the Rank Math SEO plugin must be installed and activated for this plugin to work.
331
331
332
332
### 🔧 Installation and Setup
333
333
334
334
**Q: How do I install the plugin?**
335
-
A: Upload the plugin file to `/wp-content/plugins/rank-math-api-manager/` and activate it in the WordPress admin panel.
335
+
A: Upload the plugin ZIP through **Plugins → Add New → Upload Plugin**, or place the extracted plugin folder in `/wp-content/plugins/rank-math-api-manager/`, then activate it in WordPress admin.
336
336
337
337
**Q: What permissions do I need?**
338
-
A: You must have `edit_posts` permissions to use the API endpoints.
338
+
A: You must be authenticated and have permission to edit the specific target post or product.
339
339
340
340
**Q: How do I set up authentication?**
341
341
A: Use WordPress Application Passwords or Basic Auth. See the installation section for details.
@@ -352,7 +352,7 @@ A: Yes, the plugin automatically supports WooCommerce products if WooCommerce is
352
352
A: See the n8n integration section in the documentation for example configuration.
353
353
354
354
**Q: Is there rate limiting on the API endpoints?**
355
-
A: The plugin uses WordPress's built-in rate limiting. For high-traffic sites, additional rate limiting is recommended.
355
+
A: The plugin does not currently add a dedicated endpoint rate limiter. The route is authenticated and permission-checked, and additional rate limiting can be added at the site or infrastructure layer if needed.
356
356
357
357
### 🛡️ Security
358
358
@@ -379,7 +379,7 @@ A: Test the API endpoint with a simple POST request to `/wp-json/rank-math-api/v
379
379
### 🐛 Troubleshooting
380
380
381
381
**Q: I get 401 Unauthorized errors?**
382
-
A: Check that the Application Password is correctly configured and that the user has `edit_posts` permissions.
382
+
A: Check that the Application Password is correctly configured and that the user can edit the specific target post or product.
383
383
384
384
**Q: I get 404 Not Found errors?**
385
385
A: Verify that the plugin is active and that the WordPress REST API is available.
@@ -408,7 +408,7 @@ A: Yes, webhook support is planned for phase 3.
408
408
1.**401 Unauthorized**
409
409
410
410
- Check that Application Password is correctly configured
411
-
- Verify that the user has `edit_posts` permissions
411
+
- Verify that the user can edit the specific target post or product
412
412
413
413
2.**404 Not Found**
414
414
@@ -482,7 +482,7 @@ If you discover a bug or have other problems with the plugin, you can:
0 commit comments