Wordpress api is not working, getting 401 error - wordpress

I was trying to integrate ship rocket with WordPress,
But when I try to access the URL endpoint to integrate it, getting an error just like below.
*The requested URL /wc-auth/v1/login/ was not found on this server..*
I have updated Permalink structure to
https://hapso.in/sample-post/ and still getting the same error.
Thanks in advance.

For what it's worth, REST API endpoint URLs for WooCommerce often start with /wp-json/wc/v3/ or something similar. Yours starts with /wc-auth/.
And, make sure your web server implements mod_rewrite. If other permalinks work correctly, that is already done.

Related

Firebase Site - Invalid Dynamic Link

I had not setup Dynamic Link on the site, but I had just added a custom domain and connected it to have the SSL.
Today when i tried to access my site, i notice that is append ?_imcp=1 to it and have the following message
Invalid Dynamic Link. Any help?
Addition some updates. After spending the evening trying to figure out what's wrong.
I am able to do a www.xxx.com -> redirect to xxx.com. This works perfectly
But if i were to hit xxx.com directly, its append ?_imcp=1 to it.
Ok this is probably a patch solution.
I basically did a redirect of xxx.com to www.xxx.com.
And i did a redirect of www.xxx.com to xxx.com
This bring up the website. But if anyone have proper solution. Please post here.

Mixed Content Error on wordpress causing site unsecured

I am experiencing difficulties with having facebook login working on my website. I suspect it is caused by my site not being fully secure as per results from whynopadlock.
The site is wordpress based. The only error I am left with is "A file with an insecure url of "http://fonts.googleapis.com/css?family=Open+Sans%3A300italic%2C400italic%2C600italic%2C700italic%2C800italic%2C400%2C300%2C600%2C700%2C800&subset=latin-ext%2Clatin&ver=4.9.8" was loaded on line: 76 of https://patateacher.com/."
Any idea how to deal with it? Many thanks
Hi I will recommend to use a plugin which will send your all requests as https instead of http
WORDPRESS HTTPS
you are able to map URL's you want specifically to map with their https source as well.
For more info please read its instructions, you can easily figure out its usage.

Wordpress User Name Password Issue

I am new in wordpress. I have set up my domain with wordpress all are working well. My site have added /wp-admin.php but when i am trying to login URL changed to /wp/wp-login.php and erroe message display.
Error is :
(Not Found
The requested URL /wp/wp-login.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.)
Please help as soon as possible.
Actually, maybe you forgot one of the steps, for instance step 5: https://codex.wordpress.org/Installing_WordPress#Step_5:_Run_the_Install_Script
It seems that you installed the site at yoursite.com/wp/ and then moved it to yoursite.com
The config values are incorrect in the database.
You can correct if by using one of the fixes on this page
https://codex.wordpress.org/Changing_The_Site_URL

Wordpress blog post url not redirecting to posts

I am not very sure if this is the right place to post the problem since it may not be programmatic thing. My site which is a blog at windowsvj.com has some weird error. When i click on any post url, it says
The requested URL /wpblog/2012/07/resolve-cisco-anyconnect-vpn-client-error-on-windows-8/ was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Can anyone suggest what must be wrong ?
Thanks
Seems this is SEF urls problem. In the Dashboard, under Settings, check out permalinks options.
Also, playing with .htaccess could cause the problem.

WordPress RSS Feed Returning 404

We have an RSS feed (or we should have) via wordpress but it is just giving using a 404 Page Not Found on load - http://www.warrenaccess.co.uk/feed/rss2
We have tried changing back to default theme and deactivating all plugins to see if we could find an issue but it still didn't work.
Does anyone have any idea what could be causing this?
My hunch is that you don't actually have any blog posts, but you are using WP as a pseudo-CMS. From having looked at the feed and network conditions (CDN / cloud hosting can sometimes ignore feed content), things are working as they should.
Your 404 does provide some useful information about the feed:
<lastBuildDate>Fri, 11 May 2012 10:14:42 +0000</lastBuildDate>
Which is awhile ago, relatively speaking. I'm guessing that your site content is all based on pages, which don't and shouldn't actually show up in RSS feeds.
To fix the problem, you'd have to make some blog posts or try this plugin or its variant:
http://wordpress.org/extend/plugins/rss-includes-pages/
Edit: turns out WP syndication setting was set to show -1 posts. Fixed by setting it > 0.
I was using custom post type for my primary website content, so to include more post types use this in your functions file:
function customfeed_request( $request ) {
if ( isset($request['feed']) && !isset($request['post_type']) ) {
$request['post_type'] = array('post', 'my_custom_post_type');
}
return $request;
}
add_filter('request', 'customfeed_request');
I spent a lot of time fixing this; I hope this helps someone.
The scenario: when Permalinks is off, I can access the RSS Feed url "/?feed=rss2" without error, but enabling the Permalinks the above returns the feed content and after this, an 404 error code. It is possible see the error code response under network browser inspection tools, like "Web Developer" plugin of Chrome.
Well, the feed client does not understand this error code and raises an exception, breaking the consumption page.
I traced the problem to the WP Super Cache. I think the cache does not generate the feed response content, but it tries to get the cache file and it donĀ“t exist, resulting in error 404.
The simple solution, disable feed cache in "Advanced" topic of the "WP Super Cache Settings", checking "Feeds (is_feed)" options and save.
Perhaps your issue is in WP Super Cache.
I just had a similar issue happen to me but perhaps the cause could be a bit different. I made a custom RSS feed. I was getting the page 404 error.
The reason is that I was not doing a flush rewrite (https://codex.wordpress.org/Function_Reference/flush_rewrite_rules). Can do this by going to settings > permalinks and then just updating it. Then feed is available.
Was the solution for me anyhow.
have you checked your .htaccess
Turn it off by renaming it to something jibberish
If that doesn't help check your wp-config.php
What are we suppose to do if the product URLs are returning 404 i.e. www .abc .com/product /name/feed/ Rest everything is fine on web but only product feed URLs are 404. Also can it cause any performance issues and rank my website down?

Resources