<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Drew Griffiths MSc</title>
    <description>The latest articles on DEV Community by Drew Griffiths MSc (@mmatraining1980).</description>
    <link>https://dev.to/mmatraining1980</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F638117%2F020cbc02-2383-4986-a8a6-fbf9e8477332.jpg</url>
      <title>DEV Community: Drew Griffiths MSc</title>
      <link>https://dev.to/mmatraining1980</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mmatraining1980"/>
    <language>en</language>
    <item>
      <title>How I Converted My Trust Pilot Review into a Rap Video Using AI</title>
      <dc:creator>Drew Griffiths MSc</dc:creator>
      <pubDate>Mon, 01 Jan 2024 08:37:20 +0000</pubDate>
      <link>https://dev.to/mmatraining1980/how-i-converted-my-trust-pilot-review-into-a-rap-video-using-ai-4c8k</link>
      <guid>https://dev.to/mmatraining1980/how-i-converted-my-trust-pilot-review-into-a-rap-video-using-ai-4c8k</guid>
      <description>&lt;p&gt;I had a very bad experience buying a used car from wrexham.&lt;/p&gt;

&lt;p&gt;In order to promote and rank the video on the brand's SERPS, I decided to take advantage of youtubes domain authority and create a video. &lt;/p&gt;

&lt;p&gt;A rap video - which you can see &lt;a href="https://youtu.be/ENC86tg3TgM?si=10yktako1m9EclcG"&gt;here&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;I did this on my mobile phone.&lt;/p&gt;

&lt;p&gt;First thing was to get lyrics for the rap, I asked bard.google.com:&lt;br&gt;
"Using the following copy from my review posted below, please create a rap song that rhymes and emphasis anger"&lt;/p&gt;

&lt;p&gt;Second - convert text to voice. I used elevenlabs.io to accomplish this.&lt;/p&gt;

&lt;p&gt;Third- the tricky part, creating the music itself.&lt;br&gt;
I used soundtrap.com to do this. &lt;/p&gt;

&lt;p&gt;To add the AI rapper voice, I had to press the purple "plus" button near the bottom of the GIU and select the sound file.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--TYYh8BQr--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9yqrsde6eyt7duaityav.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--TYYh8BQr--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9yqrsde6eyt7duaityav.jpg" alt="music studio" width="800" height="1542"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;To create the video itself, I used stock videos from pixabay and pixels. I also added a few images and screenshot to the videos using the canva video creator.&lt;/p&gt;

&lt;p&gt;In 36hours, the video so far has 2,200 views - which is pretty good a d about 2,000 more than my [lookers vauxhall review blog post!&lt;/p&gt;

</description>
      <category>ai</category>
    </item>
    <item>
      <title>Single Page Applications &amp; SEO</title>
      <dc:creator>Drew Griffiths MSc</dc:creator>
      <pubDate>Tue, 22 Jun 2021 11:09:31 +0000</pubDate>
      <link>https://dev.to/mmatraining1980/single-page-applications-seo-2g4b</link>
      <guid>https://dev.to/mmatraining1980/single-page-applications-seo-2g4b</guid>
      <description>&lt;p&gt;Hi, this is my first post. I don't have a background in coding, I actually have a MSc in Nutrition and fell into digital marketing after making my own company website using Dreamweaver. &lt;/p&gt;

&lt;p&gt;I've tried learning to code many times. In fact, back in 2012 I was fortunate enough to sit next to a front-end developer and learnt all about aliens, e-cigs (before they were cool) and CSS. Great times.&lt;/p&gt;

&lt;p&gt;I can get by as an SEO, I know the fundamentals of jQuery, JavaScript, CSS and a bit of PHP - although what goes into a Wordpress CMS still baffles me.&lt;/p&gt;

&lt;p&gt;Well, now us hapless SEOs have Single Page Applications (SPAs) to deal with. &lt;/p&gt;

&lt;p&gt;As you probably know, SPAs have been around a while and are used to create platforms like Gmail, Twitter and Facebook. However, they are now popping up as company websites with the likes of &lt;a href="https://blackbeltwhitehat.com/"&gt;BlackbeltWhitehat&lt;/a&gt;, KitKat and &lt;a href="http://thinkpixellab.com/"&gt;PixelLab&lt;/a&gt; using SPAs instead of multiple page websites, coded or "marked up" primarily in CSS and HTML.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;SEO &amp;amp; Single Page Applications&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Having called upon the power of the internet, and every YouTube video and article I could find about SPAs and SEO, here is a summary of what to look out for. I'll write it in a way that SEOs can understand, so sorry for any Devs who may feel patronised by any of the content to follow...&lt;/p&gt;

&lt;p&gt;A SPA, is different to a regular website in that it uses JS to control the page's "lifecycle". JS is used to create the HTML and it uses JS to allow users to interact with the website, for example navigated to different views/page on the website.&lt;/p&gt;

&lt;p&gt;SPAs often use the "app shell model". Using this model, shared content or elements, across the entire website - such as menus, footers and headers are loaded on the first landing page - the different pages or "views" don't need to reload these ever-present elements.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Test SPAs with the Mobile Friendly Tool&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A good way to start an SEO audit on a SPA website, is to enter the homepage URL into Google's &lt;a href="https://search.google.com/test/mobile-friendly"&gt;Mobile Friendly Test&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The Mobile Friendly Test will pick up many of the rendering issues that can occur with SPAs. In the example used on Google Search Central's &lt;a href="https://www.youtube.com/watch?v=l-JWN2x_Na0"&gt;YouTube Channel&lt;/a&gt; by examining the JavaScript Console Messages section of the Mobile Friendly test, it was possible to identify a problem with the code that prevented the SPA from rendering correctly on mobile devices - an unsupported feature was being used. In this instance the SPA's code was dependent on acquiring the geolocation of the user, and the SPA didn't handle instances when the location was not provided.&lt;/p&gt;

&lt;p&gt;You can also test all URLs in Search Console, using the URL inspection tool to check if Google can render pages properly. Also, make sure that URLs are SEO-friendly, in that they are not long or full of code etc - example.com/our-services/ for example is better than example.com/our-services-324t9450%6&amp;amp;./&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;URL Problems&lt;/strong&gt;&lt;br&gt;
One common issue with SPAs, concerning SEO, is that URLs in the browser and when crawled by a search engine bot, don't change when a user navigates to a new page/view. &lt;br&gt;
This would mean that if Googlebot visited a SPA website with this issue, only a single page would get indexed, instead of the whole site.&lt;/p&gt;

&lt;p&gt;This can be fixed using the &lt;a href="https://stackoverflow.com/questions/15042695/history-api-with-ajax-single-page-application-and-virtual-urls"&gt;history API&lt;/a&gt; and proper link markup using "a href" and not "onclick".&lt;/p&gt;

&lt;p&gt;Another issue with SPAs using views, rather than multiple pages, is that even if all pages do get indexed, the same meta title and meta description can be shown for each page. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Error Handling&lt;/strong&gt;&lt;br&gt;
As an SEO, my technical knowledge expands about as far as knowing what a 404, 301 and 500 http status code represent.&lt;/p&gt;

&lt;p&gt;An interesting and annoying issue with SPAs, can be that instead of returning a 404 http status code when a page cannot be found - they generate 200 status codes, indicating to Google that everything has loaded correctly - resulting in a "soft 404".&lt;/p&gt;

&lt;p&gt;As the server typically no longer handles the errors, additional JS is required to read the URL, fetch the data - then display an error message if that fails. The server then needs to be configured to respond with an error code for a specific URL. For example, you could redirect any not found pages to example.com/not-found and configure the server so that this page returns a 404.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Sitemaps for SPAs&lt;/strong&gt;&lt;br&gt;
Any website should have a sitemap, if you want it indexed. The sitemaps tell search engine bots which URLs to crawl and index. You can use a tool such as [Screaming Frog]9&lt;a href="https://www.screamingfrog.co.uk/"&gt;https://www.screamingfrog.co.uk/&lt;/a&gt;) to create a SPA-optimized sitemap for you.&lt;/p&gt;

&lt;p&gt;As well as an XML sitemap, ensure that canonical tags are used and rendered in the HTML of each view/page.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Campaign Tracking &amp;amp; SPAs&lt;/strong&gt;&lt;br&gt;
As well as actually getting indexed, SPAs can create problems for SEOers, attempting to track the effectiveness of their SEO or even PPC or social campaigns.&lt;/p&gt;

&lt;p&gt;Google Analytics 4 has some built in features under the "Enhanced Measurement" section, that can help. Activate “Page changes based on browser history events”. If this does not work, you may have to play around with/fight with Google Tag Manager and the "history change" trigger.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;In a Nutshell&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Every loves a list, so here's some issues to check when conducting an SEO Audit on a SPA&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;SEO Checklist&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Test app with the Mobile Friendly Test &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Test app with Structured Data Tool&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Test individual URLs in Google's URL Inspection Tool in Search Console &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Do not block JavaScript or CSS files for Googlebot&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Unique Meta Title &amp;amp; Meta Description in the HTML of each view&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;open graph social sharing meta markup is added to each view&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Check indexation in Search Console &amp;amp; with site: search&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Usea site: search with a specific URL and a snippet of text to check indexation across search engines&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Add a sitemap and robots.txt file&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Ensure correct internal linking markup is used&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Use the history API so that googlebot can find each URL&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Ensure that URLs are clean / SEO Friendly &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Use canonical URLs&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Errors and redirects are handled correctly and that no soft 404s are reported in Search Console&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Ensure URL tracking is in place&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Use Lazy below the fold rendering and a CDN to speed up the initial page load speed&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In addition, be sure to check all of the standard SEO stuff with a &lt;a href="https://businessdaduk.com/2020/12/23/seo-technical-audit-checklist-advanced/"&gt;technical seo checklist&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Have fun! &lt;/p&gt;

</description>
      <category>seo</category>
      <category>singlepageapps</category>
      <category>javascript</category>
      <category>google</category>
    </item>
  </channel>
</rss>
