Can't access Wordpress admin login page (redirect error)

I’m working on a wordpress site, it’s almost finished. Left it lying on the server for a few weeks after the launch to gather user feedback, and now ready to make some minute adjustments. Loe...

Prevent redirect response with Alamofire in Swift

I'm looking for example code how to prevent redirect response (status code 3xx) when request web api. I'm using Swift with Alamofire 1.2. I have tried: delegate.taskWillPerformHTTPRedirection = {...

Can't see CSS style changes in Browser

Okay guys. I'm not new to coding, I'd like to think I'm not stupid, but I'm at my wits end with this issue, and am running out of things to try. Problem: Trying to update a Wordpress stylesheet. I...

Getting pages by url using Wordpress REST API

I'm attempting to using WP REST API on a site that uses pretty URLs, not ID's (which is typical in a REST scenario). All I have to query with is the requested URL. Lets say a user lands on...

Custom route endpoint for WP-REST API gives "code": "rest_no_route", error

I am following this tutorial to create custom end points to WP-API . I am always getting this error on hitting /wp-json/custom-plugin/v2/get-all-post-ids/ on postman to test : { "code":...

JWT Authentication for WP REST API: "No route was found matching the URL and request method"

My REST is beautifully working, i can get the result from the link: "172.18.52.78/bniforum451/wp-json/wp/v2/posts" and all combination REST link. But, i always get "No route was found matching the...

rest_api_init event not fired

I am trying to run custom plugin on wp 4.7.4 . Below is my simple plugin add_action( 'rest_api_init', 'register_routes'); function register_routes() { register_rest_route(...

React router delay untill redux has loaded data

I'm trying to make a WordPress theme, with React + Redux. I'm using this Wp + React + Redux theme as an example: https://github.com/jackreichert/a-wp-react-redux-theme. On the homepage I fetch all...

404 on http://localhost/wp-json/wp/v2/posts in wordpress using REST API V2

I am getting a 404 on http://localhost/wp-json/wp/v2/posts route. I changed permalink type to plain. Still got the same issue. If its useful, I am ubuntu 16.04 desktop recent upgrade from 15.10,...

using async/await with webpack-simple configuration throwing error: RegeneratorRuntime not defined

I am using webpack-simple template with following configurations: package.json { "name": "vue-wp-simple", "description": "A Vue.js project", "version": "1.0.0", "author": "v", ...

What could be causing forced SSL on WordPress Login page? (ERR_SSL_UNRECOGNIZED_NAME_ALERT)

I'm working on a site that is share hosted at ipower(dot)com. I went to login via Wordpress. But after I entered my login credentials, I got forwarded to an https login page with the error:...

On Synology DS218play, WordPress cannot connect to the user database, but phpmyadmin can

I am facing some issues while setting up my Synology DS218play. I hope you will be able to help me. Here is my current configuration : I have a virtual host set with the Web Station app Domain :...

React Router v4 and htaccess with wordpress

I made a simple React App with two components, which can route by links from one component to the other. If the page is standalone it works well. With the links inside the app the components can...

How to rewrite paths with Traefik when using path prefix rules?

My Traefik config for WordPress contains the following docker-labels: - "traefik.backend=wordpress" - "traefik.docker.network=web" - "traefik.frontend.rule=Host:MyHostName.net;PathPrefix:/blog" -...

opengraph tags not working on components [Vuejs, vue-meta]

The case: I'm working on a vuejs app that has a mid complexity route structure, there's a view on that system (i'm going to explain later on this question) that renders a news articles with data...

How to generate API endpoints for my Products from Wordpress using Woocommerce REST API?

I have created a Shopping Cart Website with Wordpress and Woocommerce Plugin. Now I want to access these products from my Ionic App. Now, whenever I try to access these endpoints using Woo REST...

Browser back button not working for gatsby.js project

Anyone know what would cause the back button to not work when using standard Link tags in a gatsby project? The url changes but the route doesn't update. This is a gatsby source wordpress project...

Getting error on react native "json parse error unexpected eof"

I have followed this code from the site "http://carlofontanos.com/user-login-with-wordpress-using-react-native/" I have done my Login.js like this import React, { Component } from 'react'; import...

Modifying API Base URL Prefix for WordPress REST API

I've examined this, this and this and more. The best example I found was replacing the "wp-json" slug (which I can't add code here right now). localhost/wp-json/wp/v2 localhost/api/wp/v2 While...

Replacing Wordpress Category with Static Page?

I'm rehashing a Wordpress question from 4 years ago that had an approved answer, but that solution no longer works in the current version of Wordpress. The original question:...

Can’t access admin when WordPress is in a subfolder

I installed WordPress using this Docker image. I installed WordPress in a sub-folder (https://thibault.vlacich.fr/blog). I’m using Traefik for routing. Here’s my docker-compose file: version:...

wordpress add_rewrite_rule() not showing expected page

I am trying to use the wordpress rewrite rule to configure routing for a plugin that I am developing. I am calling the code from within a class I have created for my plugin - the code that I am...

React redux state is not loading on production build

So i m having a very wired issue with react app its working fine in localhost but not working on production server. In detail im using react with redux and redux state is coming empty on...

Apache: RewriteCond %{QUERY_STRING} issue

I wished to block requests like http://anything.com/something.php?hack_attempt=select * from users. For this I do in .htaccess RewriteCond %{QUERY_STRING}...

Passing form data to API custom route with WordPress

Getting the following 500 code response when making my API call: PUT https://my-site.com/wp/wp-json/contact/v1/send 500 In functions.php my WP custom route is defined thus: function...

vuetify this.$vuetify.breakpoint is undefined

im want to build a table with vuetify and vue. Currently im receiving this error message: TypeError: this.$vuetify.breakpoint is undefined It appears when i use the v-data-table from...

Unable to set the Animated splash screen using Ionic 4+

What i need : Animated splash screen to be displayed when app is opening. What i did : i took the below video as ref https://www.youtube.com/watch?v=-c0htV-kfm8 and added in below code and...

Custom endpoint and X-WP-TotalPages (headers) headers are null

I created custom endpoint for products, now im geting my products from Wp Rest Api (/wp-json/wl/v1/products) and everything goes nice, my problem is that my custom endpoint or route(whatever)...

FetchError: invalid json response body reason: Unexpected token < in JSON at position 0 - nextjs

I am using getStaticProps and getStaticPaths, I used fetch API to call an API endpoint (which is Wordpress headless CMS in my case) and set the paths for dynamic routing. When I run npm dev it...

Notice: register_rest_route was called incorrectly. The REST API route definition for yoast/v1/get_head is missing the required permission_callback a

The site I'm working on is showing this issue on the posts/pages on the dashboard. "Notice: register_rest_route was called incorrectly. The REST API route definition for yoast/v1/get_head is...