mubiesam
Forum Replies Created
-
Got it, thanks
So it;s not possible to use block theme for eb, but are you planning to convert to block design in the near future?
All the 3 themes you recommended are paid theme, is there any free theme we can use ?
Meanwhile, we are evaluating eb pro to work with n8n automation workflow, one key issue is the user login synchronization…when a user login to WordPress, will they be automatically login to Moodle if they choose a free course. But how it will be handled with the paid course?
Thanks
Forum: Plugins
In reply to: [Redirection] Does redirection work with n8n?Hi @johnny5
If redirect a REST API route is not possible, any other method or suggestion that can help to redirect from n8n as a external?agent?
Thanks
Forum: Plugins
In reply to: [Redirection] Does redirection work with n8n?Hi @johnny5
Below is the answer from ChatGPT when I asked “Is it possible to redirect a REST API route?” Can you help me to clarify whether it is possible or just AI hallucination? Thank you!
Yes, it’s possible to redirect a REST API route, but it depends on how the redirection should be handled and the specific environment. Here are a few options:
- Server-side Redirect: In server-side applications, you can configure the API endpoint to respond with a
3xx
status code (like301
for permanent redirection or302
for temporary redirection) along with aLocation
header pointing to the new URL. This will tell the client to make a request to the new route.Example in Express.js:javascript複製程式碼app.get('/old-route', (req, res) => { res.redirect(301, '/new-route'); });
- Client-side Handling: If your API client can handle redirects, then you could include the redirect logic directly in the client. You could use a
3xx
status response and aLocation
header, or return a JSON response with information on where to go next. This approach might be useful if you’re working with single-page applications or have restrictions on direct redirects. - Reverse Proxy: If you’re using a reverse proxy like NGINX or a load balancer, you can configure it to redirect specific routes to new endpoints without modifying the application code. This is particularly useful if you want the redirection to happen transparently for clients.
- Middleware Redirects: For frameworks that support middleware (e.g., Express, Django), you can set up middleware that checks the requested route and redirects to the appropriate endpoint before it reaches the main handler.
Forum: Plugins
In reply to: [Redirection] Does redirection work with n8n?FYR, I had added a Basic Redirect with the Redirection Plugin (No Custom Endpoint)
Source URL: Set a URL pattern that doesn’t involve the REST API, such as /precourse-check
Tested in browser, https://see.architdz.tempurl.host/precourse-check it redirected to
Target URL: https://see.architdz.tempurl.host/http-responses2wpn/
correctly.But tested with https://see.architdz.tempurl.host/wp-json/custom/v1/precourse-redirect got 404 error, so sounds REST API issue.
While tested with the default WordPress REST API endpoint by visiting https://see.architdz.tempurl.host/wp-json/ , responded correctly without 404 error.
Really got confused, any idea?
ThanksForum: Plugins
In reply to: [Redirection] Does redirection work with n8n?https://n8n.io/ is a workflow automation platform
Redirection created:
Source URL: /wp-json/custom/v1/precourse-redirect
Query Parameters: Exact match in any order
Match: URL only
When matched: Redirect to URL
Target URL: https://see.architdz.tempurl.host/http-responses2wpn/
Ticket submitted, thanks
I do have all 5 options checked in Locale override settings, but it seems can not change anything in “CheckOut” page if I choose High-performance order storage (recommended) instead of WordPress posts storage (legacy) in Order data storage.
So the shortcode [woocommerce_checkout] only work with legacy ?
Thanks
Any update for this issue?
Since using the shortcode [woocommerce_checkout] is only for adding fields, but is it possible to remove or disable “Required” fields in the billing address?
Thanks
Forum: Plugins
In reply to: [Potent Donations for WooCommerce] Some labels are not in PO file.“Amount:” is also translated.
Thanks
Forum: Plugins
In reply to: [Potent Donations for WooCommerce] Some labels are not in PO file.Hi?@aspengrovestudios
Thanks, it works. The “Donate” button is displayed as we wish, how about “Amount:” I had translated in the Loco Translate plugin, but still displayed as “Amount:”
Forum: Themes and Templates
In reply to: [BizGrove] Can not Swap template in the page editingGot it, thanks for the reply.
Forum: Themes and Templates
In reply to: [BizGrove] Can not Swap template in the page editingI had deactivated all the plugins, but still can not use “Swap template”, while changed to theme 2024, “Swap template” works as normal.
Please take a look at the screen recording?https://screenrec.com/share/UvyxF5Mu1X
I like to use BizGrove very much, but if this can not be resolved, it’s a pitty.
Thanks
Forum: Plugins
In reply to: [Potent Donations for WooCommerce] Some labels are not in PO file.Forum: Plugins
In reply to: [Potent Donations for WooCommerce] Some labels are not in PO file.Thank you for providing the filter, I had updated to version 1.1.14, but there is nothing changed in Donations Settings, where can I modify ‘Custom Donate’ text?
- Server-side Redirect: In server-side applications, you can configure the API endpoint to respond with a