I signed up for a free WordPress account with the intent of integrating their blogging capabilities as a 'feature' into my React-based app. However, after signing up for the WP account and creating a few blog posts, I attempted to acccess the API by appending "/wp-json" to my WP account, as per the official documentation.
Everytime I use this method to access, however, all I get is a 404 error. I've seen elsewhere on Stack Overflow that this might have to do with Permalinks not being set properly. However, Permalinks cannot be altered in 'free' accounts, only in 'Pro' accounts. I therefore suspect that WP has disabled the API capabilities for the free accounts. I can understand why they would do this, since they want to get people pay to use their platform (and not get everything for free via an API). Am I correct in this?
Or can anyone who has a free account who has access to the API correct me here?
Thanks in advance,
On the WordPress.com platform the REST API is actually hosted and structured at https://public-api.wordpress.com/wp/v2 for all sites. In addition, there's a /sites/ endpoint that will namespace your specific site.
For example, the root endpoint for your site would be https://public-api.wordpress.com/wp/v2/sites/dsgasdgfsa.wordpress.com/. The other endpoints behave the same way as they would on a self hosted platform.
For example, your pages would be found under https://public-api.wordpress.com/wp/v2/sites/dsgasdgfsa.wordpress.com/pages
More info https://developer.wordpress.com/2016/11/11/wordpress-rest-api-on-wordpress-com/
Related
I tried to use one plugin called "WP Data Sync". I am also going through its documentation/ support for the same. I am also having wpbakery page builder in my website. So is there any way that we sync with that also?
Note - We have to sync data in the form of images, image gallery, events listing, and the blog posts.
Did you check out WP Data Syncs website at https://wpdatasync.com/ and create an account to check out an API key?
I'm not sure about all APIs, but the ones I've used in the past would require me to register with the API's website, get issued an API key and maybe even designate the key to a specific website (your WordPress site in this case) for security reasons. After that, you would then go to your WP site and setup the API there via WP DataSyncs plugin.
I hope I understood your question and that this helps.
I'm pretty new to firebase hosting and wanted to know if the static websites hosted using firebase will show up in search results with the domain name provided by Firebase. For example the website hosted as 'abc.firebaseapp.com' or 'abc.web.app' will show in the search results after getting a good number of hits or should I go for a custom domain?
Yes they will show up in search results. There is not much difference than other hostings you could use beside the free website URLs abc.firebaseapp.com and abc.web.app.
Your SEO has not much to do if it is hosted on Firebase or elsewhere. Just try to do your best following the Google instructions.
I would also recommend a custom domain because it would improve your overall SEO performance.
I have been building a WordPress website and I am using Google Cloud Hosting as my hosting solution. I am very new in using the Google cloud hosting and I found it's not easy to understand things as I'm even not anyone with IT skill but previously worked with Cpanel hosting several times.
I am trying to establish similarities between GCloud and CPanel hosting but still failing. Researching a lot and I have a way to setup GCloud in CPanel but not sure if it will work and I am not doing that.
However, I want to create and access webmails (eg. yourname#domainname.com) for my personal and business uses. I am aware that I can create them with Zoho or any other mail servers with some costs but I am looking for a single tap solution keeping everything in one place. Hence, I am preferring Google cloud itself.
I am going to use MailWizz for Newsletters which will be also hosted in my own storage/server. It's just that MailChimp gives us email server but we need our own for email list/templates and data. But how can do all these? Can I create and access all these in Google cloud hosting?
If there is anyone to give me a solution regarding all these considering the preferences (I am not likely to use any other email hosting) this will be awesome and help me to make a decision for my upcoming websites. Thanks in advance.
R. K. Mahin
GCP by default does not allow outbound connections for the port 25. 1
However there other approaches to achieve this too:
You got SendGrid, MailGun and Google Apps. They provide solutions which doesn't require SMTP access from a GCE instance.
There is also an alpha feature you can try to request called Cloud Mail. You can request to get your project whitelisted through Google Cloud Support.
If you can configure MailWizz to use other port than 25, you wont get into any trouble. You can create your own instance groups with a MailWizz server and a Load Balancer. GCP even got a Marketplace where you can find a lot of solutions to work with Wordpress and automatically create your own environment.
We are currently trying to use Concrete5 to create an internal Intranet for the company I work for (this is a web-based server). What we would like to do is allow our employees to sign in using their Gmail and be able to see their personal calendars amongst other things on sign in.
I would like the employees to just sign in once, get automatically asked for granting permissions during the login, and then be taken to the home page.
I'm having trouble figure out how to modify Concrete5's built-in Google login to request these scopes. I am pretty bare-bones in my PHP knowledge and no amount of Google searching has really answered my question specifically for modifying the authentication for Concrete5.
So to sum up my question:
How would someone go about modifying Concrete5's Google authentication to request additional permissions? We are using 5.8.3 and are always updating as necessary, so modifying the core is not really an option to prevent overwrites in the future.
The best way to do that would be to copy the core Google login system to create a new one. You could call it Google Custom or anything you want. You could include it in the folder application/authentication or in a package, with the appropriate modifications.
But to be honest, if you're bare-bones in your PHP knowledge, it all might be a bit too difficult to achieve
I've found out about new Google Firebase Hosting recently and I was wondering if that would work for Wordpress website?
I got a bit confused them talking about static websites & web apps even though as far as I know Wordpress is dynamic...right? on their website it says:
https://firebase.google.com/docs/hosting/#key_functions
Whether you are deploying a simple app landing page or a complex Progressive Web App, Hosting gives you the infrastructure, features, and tooling tailored to deploying and managing static websites.
It looks like a nice Hosting platform for web, especially that they provide SSL certificates, but is it good for Wordpress?
Thanks!
I THINK it would be possible, you still need your SQL+PHP server and you should use it as WordPress backend, you need the WordPress REST API and a plugin with hooks in transition_post_status, comments... and whatever you want to show in your front end, use WordPress API endpoints to send the JSON to the firebase database... after your template should use a Javascript framework in order to make JSON requests to the firebase database and show the data in the browser... It would be difficult but I think it could be the cheaper and best solution ever for a high traffic website (plus all the benefits of firebase).
Nope. Firebase doesn't provide any of the requirements necessary for Wordpress, that being MySQL and PHP on the server side. Firebase provides a JSON store accessible via an API, and static hosting for apps that can access said API.