sorry.
I’m very sorry, I could already solve. I have my local wordpress installation in a site.test/wordpress/ subfolder and in the ajax I make the request without the subfolder.
I still have the doubt about the numbers that are added at the end of the url. :/
Related Posts:
- What’s the preferred method of writing AJAX-enabled plugins?
- How to pass JavaScript variable to PHP in wordpress widget?
- AJAX Call Via Vanilla JavaScript In WordPress Plugin Development
- Custom plugin giving: wp-admin/admin-ajax.php 400 (Bad Request)
- Execute a function using ajax
- Errors while using ajax from external wordpress page
- Built in admin ajax hooks?
- Ajax call doesn’t work in frontend but it’s working in backend (when I’m logged in)
- Why is my ajax call refreshing the page?
- Admin-ajax.php is dying “0” without processing function
- how to use ajax to display from database and load more in wordpress plugin
- How to remove an Ajax action
- How to create popup same as wordpress popup feature
- Only execute jQuery function(on document ready) on the page has shortcode from plugin [duplicate]
- $wpdb working with ajax but showing ajax error instead of success
- Ajax gives 400 error
- Check if email address exists front end with AJAX in a plugin
- WordPress Plugin Page is Loading in Admin Content Container Instead of Separate Page
- WooCommerce get_price returning wrong price when used via ajax
- Simple ajax call not working in wordpress plugin
- AJAX search posts and pages
- __callStatic method handler passed to add_action causes bug in PHP
- Using a custom plugin to capture input data via Ajax and PHP
- Ajax contact form widget plugin data not insert in database
- Best place for if/else piece of code related to custom plugin?
- Ajax call returning 0
- Create tabs in admin options page from custom post type loop
- What are the Best Practises When Using AJAX in Plugin Development?
- Admin AJAX doesn’t work in plugin admin page – Even though code is copied verbatim from WordPress Codex
- Submit Form data to another page via Ajax (WordPress Way)
- WordPress front end AJAX. Return 0 :?
- Using WordPress to build membership Page
- Asynchronous request in wordpress
- Is there a better way of handling AJAX requests in WordPress?
- WordPress API functions not working at AJAX functions.php call
- Calling a class method instantiated by ajax call in wordpress [closed]
- Ajax request sends url rather than data
- best way to run a php script away from the template?
- can’t unzip file
- wp_query ‘s’ parameter does not work with WC_AJAX
- wc_get_template_part doesnt display the content [duplicate]
- How to use Datatable with Ajax when creating plugin on WordPress?
- AJAX update fails for public/non-admin users
- WordPress Ajax request “Failed to load resource: the server responded with a status of 400 ()”
- WordPress ajax error 400 bad request for sending data to remote site [duplicate]
- ajax voting for custom post type
- Custom plugin giving: wp-admin/admin-ajax.php 400 (Bad Request)
- Overwriting Plugin’s Ajax callback function from theme
- My ajax request don´t work and return 0
- WordPress environment not loading properly
- wordpress ajax pagination object value does not change
- How can I use wp_ajax_response for front-end error reporting?
- How to limit each front-end user to view just his own uploaded files on Amazon S3?
- WordPress ajax not working in registration
- What’s the preferred method of writing AJAX-enabled plugins?
- Ajax, jQuery and WordPress
- How to get site homepage from plugin?
- Capturing POST data
- Help me with my first very basic plugin
- Load css classes after using ajax calls
- wordpress Ajax success doesn’t return the value
- Jquery post responses 500 error after some time and lastly an 503 error
- Inline AJAX script passing variables to PHP
- wordpress admin-ajax bad request 400
- update_meta_user difference in i:1 and b:1, how to write b:1
- Registration Form Validation in wordpress
- Dequeue / Deregister script and replace it with a new plugin
- Hide Theme options and Customize Admin menu
- Custom form action to handle data inside a plugin
- Map Custom Registration Fields to WordPress User Roles
- custom payment gateway in woocommerce failed to connect to remote api server
- Plugin options page with live preview?
- WordPress plugin admin html being shown in Customizer iframe
- Ordering taxonomies by rank
- Plugin Options not being output
- Extending a theme: build new features as plugin or core modules?
- Plugin generating unexpected output – on WP mysql dump import
- How to embed a new string in url?
- help intercepting save_post through plugin
- Add hook after content without formatting
- User loggedin as Subscriber form not sending
- Prevent WordPress from sending set-cookie http header
- admin_post hook not firing function inside class
- Problem with checked box on wp car manager plugin
- In a plugin, How to update a json file using ajax
- Create a link that calls our custom function in WordPress
- Update a previous version of plugin when the new plugin is built from the scratch
- Woocommerce list variations that are added already to cart in Single Product
- Plugin json page
- search into subcategories plugin subcategory value not come
- Ajax call fails and returns [object Object]
- Why isn’t my plugin seeing other classes?
- How Can the_post Be Hooked Like the_content and the_excerpt?
- How to tell which Plugin is displaying?
- wp_insert_post_data filter to set category
- How to provide access to specific plugin to all the user roles except subscriber in wordpress
- Output pure JSON wordpress
- how to remove a rel=”nofollow” using call to action plugin
- WP Elementor Pro causing crtical failure on website
- Display Any Field fromAdmin Panel in Frontend via Shortcode?