In the fall of 2018, I was about a year into my web development journey, all of which was focused around Wordpress. My background in programming up until getting into web development was 100% native Android development. I decided to embark on creating something that, to be fair, was probably out of my league as far as complexity goes, and it definitely showed with my end product. The website, MovingLocal.org, was riddled with simple, avoidable errors that I couldn’t imagine making now.
Development Errors I Made
- Using a UI framework and jQuery slowed the website down to a crawl. In a world where your 40% of potential users are going to leave your site if it takes longer than 3 seconds to load, speed is always essential.
- My responsiveness was all out of wack. I can’t tell you how many times I would scratch my head not being able to figure out why it was that elements would overflow the viewport. After finally fixing this I had probably added about 750 lines of purely media-query-centric CSS.
- The design, absolutely terrible. I learned a valuable lesson in this though, either follow a design system, spend time learning enough design to put something halfway decent looking up or HIRE A DESIGNER/BUY A DESIGN. If you are as inept at design as I am, paying someone else to do it, or putting in some serious work to build minimal skill with it will pay off in the end.
- Accessibility had never crossed my mind at this point. I didn’t put a single aria label on the entire site. I didn’t have tab indexes. Structured markup was out of wack for how a document should be structured. Contrast ratios were all out of wack and I definitely wasn’t passing any WCAG specifications for accessibility.
SEO Errors That I Made
- Like I mentioned above, my site was slow as can be. I know this isn’t a direct ranking factor. But the thing is, if your user experience is crap users WILL leave and Google does not like sites with crappy UX as much as they like sites with good UX.
- Duplicate H1 tags, unacceptable. Don’t make the mistake of having duplicate H1 tags.
- Missing meta descriptions, make sure that every page you post has a meta description.
- 404ing pages. Anything that ever indexes on your site should be redirected if you delete it or change the slug.
- Broken breadcrumbs, if you are going to put breadcrumbs on your site, make sure they work.
- No structured data. Schema is an easy-win when it comes to extra SEO that you can do for your site. Its the number one way that you’re going to pull featured snippets, and I can’t recommend adding appropriate structured data enough.
What has changed over the past 12-18 months
Six months ago I accepted a position at a different company. This company was hundreds of times larger in terms of scale from where I came from. They also had a largely different focus than digital marketing, they were focused on creating great user experiences in web applications. The start of this job felt somewhat rocky for me, I was constantly plagued with imposter syndrome, but if there’s one thing that I’m good at, its rolling with the punches, adapting and learning QUICK. This was also my first experience working on an agile team that had all the facets of a production team. I had to have my code pass peer-review for the first time ever, and I also had to have it pass rigorous QA testing.
The rate I was growing at this new company compared to my last is incomparable. It also opened my eyes to a few key facts:
- Don’t shortchange your work, saying good enough is never part of my vocabulary any more. If I’m going to do something or write some code, I’m going to do it to the best of my ability and try to learn something along the way.
- TEST TEST TEST. Test your code in order to avoid headaches down the road.
- Design is not something you always have to take on. I have learned that I would much rather have/hire a designer than do it myself as the difference will most definitely show in the end product.
- Always be learning. You can never be good enough or know enough when it comes to development. Get out of your comfort zone and learn something new. It will have a direct impact in all other areas of your work.
The benefit of the changes
The most significant benefit that I found after going back and working on old code again is to not take shortcuts. Always do things the right way from the beginning as it will make your life that much easier in the end. Testing my code and making sure that it meets my requirements before I launch it is super important. It’s much easier to change code locally, and get it perfect(well as perfect as possible) before you deploy. Going back and changing things as a patch is going to be necessary sometimes, but it doesn’t have to be a regular occurance.
Working with a QA team, and really just a team in general, really helped with my code quality. I no longer ship bugs that I would have shipped 18 months ago. More often than not I now look at the website that I’m going to ship through the lense of the end user that is going to be experiencing the product that I ship. I’ll go through the entire site before I ship and make sure that it is something that I personally would use. If I wouldn’t use it, who will?
Optimizing for perfomance and abandoning all usage of a UI/CSS framework helped me be more efficient in what I’m writing, and the end product is smaller and faster. Over the last year I’ve become much better with using vanilla CSS and SCSS. I honestly prefer it much more this way. I no longer have to lean on the crutch of a framework to achieve my end goal. I can typically write code that will make something look the way I want it to, and if I can’t there is a good chance that I can figure it out given enough time.
Would I willingly use Wordpress again?
Now this is a tricky question. After being exposed to so many leaner, faster and more enjoyable dev experiences (in my opinion) it would be tough for me to willingly use Wordpress in its entirety again. Would I use it as a headless CMS to power a frontend of my choosing, sure…
The website now
The style and UX of the site is much better in my opinion now than it was from my build 18 months ago. I expect the conversion rate will be significantly higher than the 1-2% I was capturing prior to the rebuild. The bounce rate should drop as well. It is easier to navigate the site. It is much better looking than it was prior. Pretty much everything about the website is better than it was 18 months ago.
The SEO of the site is leagues ahead of where it was. The breadcrumbs work. There is appropriate structured data in the form of json+ld. The redirects are done properly. There aren’t any duplicate H1 tags. Meta descriptions are present on every single page. I anticipate that my indexing coverage will skyrocket after Google gets over the massive overhaul that the site underwent.
None of these benefits/upsides would have been possible without the growth that I’ve undergone the last year or so. I went out of my way to push my limits, better myself and improve my craft and I believe it shows. If you want to take a look at the old version of the site, you can may be able find it on wayback machine, but I’m not sure they have a copy. The updated site can be found here.
2020-01-08 00:00 +0000