r/reactjs • u/norcalWebCreative • Jan 27 '23
Client doesnt want react, they want WordPress
I got the chance to show my worth to a marketing agency and i build them a react/nextjs website.
However, its tie they focus on SEO.
The marketing department wants to use a plugin/integration called : YOAST SEO.
Reasons:
Its easy to edit live and click a button to publish.
Steps:
Login WP, open blog, edit, hit enter.
Whereas using React with a CMS(Contentfull).
Log into CMS, copy the text into a SEO tool, edit, and paste back into CMS, then hit enter in the CMS to publish edits.
Edits such as:
suggestions of Keywords/ text in the content.
page meta data, etc.
How can i integrate something to my CMS, in this case Contentfull, to replicate YOAST SEO functionality in my next.js app?
the only hints or possible solutions i have at the moment are:
Headless WP with a next.js/react front end using Contentfull ??
18
Jan 27 '23
Hey can you let your client know about me? When they drop you I'll come implement WP for them...
1
12
u/middlebird Jan 27 '23
Use WordPress for the admin side, React for the public facing content.
-18
u/norcalWebCreative Jan 27 '23
Based on the comments Including yours . I will figure out how to feed my nextjs with the yoast SEO data + page data. Which I assume will just come all together in the http response and I’ll have to pick what I wanna render . 🤔 That means I’ll have to migrate my contentfull cms to WP so I can use the todo their . And then feed it all to my app.
I’ll research and test tomorrow and I’ll get back on this tread to update.
8
u/fii0 Jan 27 '23
You think the most popular website framework in the world doesn't know about pagination? Haha just ribbin ya cause you already got a lot of downvotes but don't underestimate the OG
5
u/emotyofform2020 Jan 27 '23
Look for a plug-in that gives you the seo tags via an api, and call it like you would get the blog data from your react app. I like wp-graphql.
-5
u/norcalWebCreative Jan 27 '23
Based on the comments Including yours . I will figure out how to feed my nextjs with the yoast SEO data + page data. Which I assume will just come all together in the http response and I’ll have to pick what I wanna render . 🤔 That means I’ll have to migrate my contentfull cms to WP so I can use the todo their . And then feed it all to my app.
I’ll research and test tomorrow and I’ll get back on this tread to update.
1
u/emotyofform2020 Jan 27 '23
Some other plugins that help are Advanced custom Fields and acf to wp graphql
4
Jan 27 '23
Your focusing on the wrong argument, however you’ll still fail to convince.
Next can optimize seo from the tech side which is weighted more, however a good seo/ marketing campaign can still do a lot of not as much as next.
Is there a tech focused person on their team? Can the replace you?
2
u/norcalWebCreative Jan 27 '23
Replace me : yes , or course. I’m just a dev . I do have their trust but I mean that doesn’t make me un-replaceable.
1
u/norcalWebCreative Jan 27 '23
Focusing on the wrong argument ? 🤔💬
2
2
Jan 27 '23
Again, I’d you have fantastic seo and a team behind it, doesn’t really matter as far as business goes. And this isn’t a good portfolio project for technical implementation, just shows you can work with business and product teams (which I’ll wager they do not have) and deliver via your tech based off recommendations.
For the record I’d never take a project working in WP cause it won’t get you a job or paid. Tell them to call you when then have a more mature product and need you. Otherwise, advise their current implementation
1
u/norcalWebCreative Jan 27 '23
Not a tech person . I’m the only and new dev partner tryna settle in . I already built their site using nextjs and they love it. We’ve been working for a few months . It’s just the SEO issue I mentioned - the SEO person they got is requesting yoast SEO for future projects . It’s a new company so they’re still figuring things out. Originally a marketing agency wanting to offer SEO and Websites.
1
Jan 27 '23
You’re just a dev… not a tech person? With all do respect what are you doing? What are you asking? Im dev and sure as shit a tech person…. You will not the find the answer you seek here.
The business of building a site for sales and marketing is the bare minimum a marketing firm should do.
I’ve seen (and sold as a freelance software engineer) a marketing site go minimum 30k. You don’t pay that for word press. I’d suggest understanding your business better. Feel free to DM but I suggest not posting publicly anymore.
3
u/norcalWebCreative Jan 27 '23
You asked if they had a tech person , and I replied no .
and the Dev is me , they don’t have any other dev or tech person . Just the SEO person in their marketing team that uses yoast.
And In response to the answer , that’s a strong inclination(might be a mindset issue due to scarcity and adaptability due to lack of inching down on a skill) … however I think that saying not to post is a bit odd since I get to learn from others here which is positive for my growth.
You nailed it with the : understanding my business better . That’s a question I ask myself daily… in order to make a good next move that helps me move a step forward to my goals.
I’m in the middle of niching down. If your established , this sounds hectic and I hear the advice your mentioning . But as someone not positioned well enough , it’s stuff everyone goes through. (At least what I’ve heard ) (it’s the learning phase : dev and communication skills )
1
4
u/portra315 Jan 27 '23
Do what the client wants or find another job. That being said, the client wants wordpress and yoast. If you are able to find some tooling that allows you to integrate with the WordPress API and get all the data you need to achieve the same SEO results using wordpress + yoast, then do it in react. At the end of the day, doing either will be good experience, PHP is a language that will never go away and will absolutely come in handy if you know a trick or two about it.
1
u/norcalWebCreative Jan 28 '23
Yes! 👏🙌🙌that’s what I’m saying… that’s why I’m looking for a solution or I’ll just use WP . but other ppl don’t read it all 😅just get triggered lol .
1
u/portra315 Jan 28 '23
Precisely. Perhaps start looking at the SDK tooling that yoast has with PHP, which I presume will be as easy as popping some config on one of the main PHP templates (been a while since I touched a wordpress website). Then, compare the steps to integrate it in PHP against any react SDK's or libraries that may be available. Just had a quick look and there's a handful of Yoast components that fit into wordpress nicely, when the wordpress instance is set up in headless mode (I think there's a GraphQL API now?).
Anyway, just make sure that React is a suitable tool and not a square peg that you're trying to fit into a round hole just because you like the colour of it.
2
u/TTuserr Jan 27 '23
Your first and only error is not to define the tech and requirements for job before actually doing coding, if you wanna freelance you need to get a hang of acting like a bussiness.
1
u/norcalWebCreative Jan 28 '23
I did build them their business website in nextjs , they didn’t care . Except till now because they got an SEO person now , which wasn’t there before . Now she wants Yoast, (the issue) so I’m finding a solution because it’s in my and their best interest too , however , I can also do it on WP . I just prefer the former... and yes, the initial was WP , then I got approval for Nextjs , but now their SEO wants to go back to WP. I’m in the middle of negotiating terms(if I can find a solution , else just WP ) so I did have set tech before agreeing .
34
u/wonky_dev Jan 27 '23
Your client is not wrong he rather have 100k in his bank account than a site built with NextJs + Rust Backend lol
51
8
u/rasmuswoelk Jan 27 '23
Use the WP GraphQL and Yoast graphql plugin to fetch data from Wordpress in your next.js app. The Client gets Wordpress and you get next.js. Win/win!
8
u/Lidinzx Jan 27 '23
I think you're overthinking and not using react for what it is, actually the WP solution maybe the best choice for what the client is asking. React is for a web application that it's not targeting SEO, even if you use nextjs for better SEO, doesn't matter if the final page is not going to be use as a web application with a lot of interactions. As a software engineer you should give the best and fast solution to a problem.
1
u/Formal-Connection-80 Jan 27 '23
What SEO does Wordpress offer over a well implemented Next app? A million link backs from spam bots?
1
u/Lidinzx Jan 27 '23
Doesn't matter, they want a specific solution that WP offer that is YOAST SEO, so why offer another solution that it's isn't similar or a better solution, or cost more time to implement?
2
u/Formal-Connection-80 Jan 28 '23
It absolutely does. You don't tell your plumber or HVAC technician how to do their job you hire them because you can't. Leave the tech decisions to the tech people. If OP as a tech professional feels the best solution is next then you trust it. Now if OP said they were charging more etc then that's a valid argument but that's not the case.
1
u/Lidinzx Jan 28 '23
You're right about the part where you don't tell a professional how to do their job, because they are professionals that know what it's the best choice, you don't just "trust" the tech people, they have to give evidence of why they're are going to use these technologies and what it's the benefits comparing WP with nextjs, in this case.
2
u/Formal-Connection-80 Jan 28 '23 edited Jan 28 '23
I don't know why you would hire someone if you don't trust them that seems wild to me. I don't pull that shit with my accountant why are you pulling it with your developer.
I would think of it like this if you are a CPO you do not get to tell the CTO how to implement the general requirements. If this client was so hellbent on a WP site they have already fucked up by hiring a company who doesn't want to do that type of work and at this point to get the best work done will not be a WP site
4
u/Fine_Escape_396 Jan 27 '23
Here I would like to invoke Maslow’s hammer: “If the only tool you have is a hammer, it is tempting to treat everything as if it were a nail.”
Looks like NextJS is your hammer.
4
u/Kaptengrek Jan 27 '23
Do what they ask for, for many reasons but most of all because you are gonna have a huge head ache in the future if you are building with something because you want to, and the customer doesn't care about it and don't want it.
Also, react isn't really useful for a marketing site, and if you insist on using it, atleast use nextjs or something that is way easier and better for SEO purposes
3
3
Jan 27 '23
Yeah I’m sorry but you’re wrong. React isn’t a solution to Wordpress. Wordpress in a perfectly fine blogging solution that meets most people’s needs. I mean I can’t imagine what solutions react addresses that Wordpress and php templates don’t already address.
Maybe it’s because I’m used to cloud enterprise level UI’s, but I don’t see why if someone wants a simple blog / CMS that you wouldn’t just use Wordpress and make adjustments to the theme.
4
u/Formal-Connection-80 Jan 27 '23
Performance matters a lot for SEO nowadays Wordpress out of the box absolutely does not offer the performance of SSG with next. If you have the right developer a headless CMS + Next is 10 out of 10 better than Wordpress.
2
u/fingernaildust Jan 27 '23
I would suggest using next js feature for static rendered pages. I've used ssr for seo and it adds complexity.
We use toast plug-in to power our headless react pages. We ended up using a custom theme but maybe u can use GraphQL instead? Then, u get what u want and the client.
The YouTube above should point u in the right direction.
2
u/N3rdy-Astronaut Jan 27 '23
Don’t let your ego get in the way, building a flashy site with elegant code will impress developers but clients don’t care. What they want is a solution, not a bunch of tech jargon. This will make your life easier too, Wordpress is very easy and very basic so you can charge your full price, deliver what the client wants and in half the time it would normally take you. Be smart!
2
1
u/VigilianceAurelious Jan 27 '23
Jesus christ, that's too much and complicated, even wanted to implement Yoast SEO in your React on NextJS.
Just do it in Wordpress, probably faster and easier and less hassle to implement, boom easy money.
Then find a client that you want to showcase on. In your case React using NextJS. Problem solved. It's not like that will be your first and last client.
1
u/Pleisteichon Jan 27 '23
Contentful has custom apps that you can create using their tools, which then will be transparent for the editors, just like WordPress., you can simply build your own app within contentful that parses the other fields in the page and returns a hint of keywords or whatever yoast SEO plugin does
1
1
u/bassta Jan 28 '23
Look, just build a modern WP theme with Gutenberg blocks - it’s all react components. Headless WP can be a bitch sometimes. I’ve build a lot of sites with WP / vanilla js and also I develop some large scale react app. If you stop updating a project, in two years it will be very easy to update and modify WP theme and almost impossible for non-trivial react project. Also a lot of content editors are familiar with WP , but if you use Contentful they have to learn another tool. Not mentioning all existing WP integrations and tools the market guys demand.
1
u/StrangerThanGene Jan 29 '23
The marketing department wants to use a plugin/integration called : YOAST SEO.
Run away.
-3
u/fix_dis Jan 27 '23
I don’t want to sound like “that guy” but if a client is ever telling you What technology to choose to accomplish the goal, you don’t want to work with them. They apparently already have expertise. If they somehow know they need Wordpress,tell them Fiverr is full of WP devs.
If they hire me for my experience, I’m not going to play, “but my 15 year old nephew said…. And he builds websites too”
8
u/mattbeck Jan 27 '23
According to OP, this was an agency, so yeah. Seems pretty reasonable for them to respond with "We're a WordPress shop."
0
u/norcalWebCreative Jan 27 '23
There aren’t exactly a WP shop since they are barely expanding their services to include SEO and websites. So that’s why I have some early bird negotiating leverage , per say.
4
2
u/webdevguyneedshelp Jan 27 '23
It's not unreasonable for a small business to want a commonly used CMS.
0
u/Ratatoski Jan 27 '23
I'd generally say that customers arguing what tech to use is a problem. But being aware that you're already familiar with wordpress and want to use that is fine. It's like wanting a Ford 150 that you and being told the dealership being "Yeah but a Cybertruck would be way better for our image"
1
u/fix_dis Jan 27 '23
It's a huge problem. Same goes for folks writing JIRA tickets for those of us working in enterprises. Be DESCRIPTIVE about your problem. Let me figure out how to solve that problem.
In this case, I can see the downvotes trending way down all day. So maybe I'm in the minority and people actually WANT to work for places that allow non-tech people to make tech decisions. That sounds like misery. Any time you have non-tech making tech-decisions, they're probably making the wrong decision.
If this place truly knows that they just want Wordpress (maybe they're part of a cohort of marketing firms that has a ton of in-house WP experience) then it's an easy call for me to say, "sorry, I don't do WP".
2
u/Ratatoski Jan 27 '23
Be DESCRIPTIVE about your problem. Let me figure out how to solve that problem.
Very relatable. Worst is when they don't even know what (or if) they have a problem but is insistent on a specific solution.
2
u/fix_dis Jan 27 '23
Exactly. We don’t even know exactly what our business model is, but we know we need microservices, Kubernetes, and Dark Mode.
I wish I were being hyperbolic.
0
0
-1
-1
u/Personal_Cost4756 Jan 27 '23
Tell him that time has changed and there is newer technologies than wordpress and you should think to upgrade to another headless cms, and that’s in the future headless cms will be the focus and wordpress will die over time
43
Jan 27 '23
[removed] — view removed comment
52
u/BananafestDestiny Jan 27 '23
“React For Your Ego” is the title of the book I’m writing about how to choose the wrong tool for the job, fight with clients, and go bankrupt as a freelance web developer.
5
3
90
u/Alellujah8 Jan 27 '23
Avoid future headaches, go with wordpress or just tell him you’re not going to do it.