r/reactjs • • 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:

  1. Headless WP with a next.js/react front end using Contentfull ??

3 Upvotes

76 comments sorted by

90

u/Alellujah8 Jan 27 '23

Avoid future headaches, go with wordpress or just tell him you’re not going to do it.

-86

u/norcalWebCreative Jan 27 '23

the thing is :

  1. I need react for my portfolio 💼 going full WP doesn’t serve my portfolio/skills goals

  2. there’s a chance to long term relation with this client so in my interest to find a solution that works for me . Even if that means struggling at first to find a system that works in this situation.

  3. I’m not in a position to pick which clients I accept as I’m looking to first build testimonials to build trust and help earn future clients.

Although I do agree with your comment , sometimes it’s best to say no for our own mental health.

68

u/Drevicar Jan 27 '23

Items #1 and #3 contradict each other. You should really give them wordpress or find other work. Even if your product is objectively better, they will never be happy with it because they paid money for it and didn't get what they asked for.

-42

u/norcalWebCreative Jan 27 '23

You have a point. Clients pay for what they want. However, this is a partnership work, I’m willing to sacrifice margin to meet in the middle as long as they’re happy of course. I’m in the middle of negotiating this matter; otherwise I’ve already said yes to go full WP. I’m just wanting to explore this option to help me expand my learning and also personal benefit.

40

u/akie Jan 27 '23

The customer is asking for a blue family car. You’re trying to tell them you like the green sports car better, so they should buy that instead. Good luck.

8

u/tigie11 Jan 27 '23

I believe you should, as someone who know more than the client (most of the time), let them know when a technology look nice and all, but introduce more problems in the end.

But in your case, react is not the solution. You would have to basically create a new app that does exactly what yoast did for years. You can find all the positive and negative points, it's better for the client.

For your portfolio, it doesn't have to be a project made at work. They generally just want proof that you know how to code in that language. Do some random side project and test new things. Do a CMS/template where it's easy to change SEO options. You could even use it in a future project.

2

u/Drevicar Jan 27 '23

To do this you are going to need buy-in from two groups of people:

  1. The end users of the product

  2. The people with the money

If you have already identified them both try putting together some tech demos to show them what you can do, what technology is out there, and how it is better or more cost effective than what they are asking for.

52

u/landisdesign Jan 27 '23

Item 1 screams "My portfolio is more important than my client." That's a mindset that will ensure you have no clients.

If you can't appreciate the perspective of the people paying you, you're not going to get far.

-30

u/norcalWebCreative Jan 27 '23

i don’t view it as that . It’s a matter of talking , negotiating terms and conditions including price. If you read the other texts “I’ve already agreed to go full WP.” Just exploring this option that could serve me best , while making them happy with how the SEO wants their workflow. Other than that they got no other issue with the technology , they don’t care it it’s PHP or react . …. Although not gonna lie and say it’s easy mentally to dialogue about terms and conditions specially when starting out . All I can say is : I’m genuinely listening to their concerns , finding a solution , or pivoting with what they want since I can also provide that option . I’m not gonna force them and make them unhappy -that would kill relationships. But I also don’t wanna give in to WP without finding and attempting to negotiate my best option.(which importantly doesn’t sacrifice their happyness/money)

3

u/Thaaleo Jan 27 '23

I think “negotiating” Is the issue here. It’s helpful for you to explain pros & cons of different ways to achieve what they want, but that shouldn’t look like “negotiating” what they want.
Honestly, the best thing for your portfolio at this point is happy clients who find you easy to work with and not pushy. If you’ve already built the tract version, you’ve already got something for your portfolio, what you need are happy clients who trust you, and will recommend you.
You are likely to run into some version of this issue with 99% of your clients/projects, no matter how big your portfolio is or how free you are to be selective.

12

u/[deleted] Jan 27 '23

Which solution will serve the customer’s need the best? That’s the framework you should use. Don’t force some solution only to serve personal interests. Not a good strategy for many reasons.

Instead, grind it out until you’re good enough with React and have a portfolio, then contract with companies that use React.

1

u/artnos Jan 29 '23

I dont know how to say this but you need to be able to develop on anything. This tests your fundamentals. I may be wrong but most of the work out there is old tech. Doing what you want is easy, you gotta do what the team wants or what your lead wants.

18

u/[deleted] Jan 27 '23

Hey can you let your client know about me? When they drop you I'll come implement WP for them...

1

u/norcalWebCreative Jan 28 '23

How can I get in touch with you ?

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

u/[deleted] 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

u/[deleted] Jan 27 '23

It won’t help you but I proper tech > seo optimization since 2016

2

u/[deleted] 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

u/[deleted] 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

u/[deleted] Feb 18 '23

my point is, if you’re a dev, you are a tech person. Goes hand in hand.

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

u/Wolfr_ Jan 27 '23

Well. Your client is right. The workflow in WP is better.

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

u/Formal-Connection-80 Jan 27 '23

he literally said he's using next

3

u/[deleted] 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

u/melvereq Jan 27 '23

bUt I wAnT tO uSe ReAcT. Please, don’t be that guy.

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

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

u/12tfGPU Jan 27 '23

Lmao did you really just type "per say"

1

u/[deleted] Jan 27 '23

Strong Latin

/s

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

u/karmagedan Jan 27 '23

Gatsby them

0

u/[deleted] Jan 27 '23

Just do headless Wordpress

-1

u/laCroixCan21 Jan 27 '23

Wow that company is stuck in the past

-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

u/[deleted] 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

u/alikumayl Jan 27 '23

Can I get 1 copy of that ?

3

u/rprih Jan 27 '23

And 1 for me, please 😃