WordPress: First letter of Slug redirecting?
A few weeks back, we came upon a seemingly common WordPress issue. A customer approached us with an issue on their website. Their website was redirecting the first letter of the Slug to a full url.
E.G – www.domain.com/s was redirecting to www.domain.com/spiral-media
After spending some time; submitting support tickets, sifting through .htaccess, checking redirects, checking SEO plugin settings etc…
Still; no explanation. Eventually, with some help from another developer friend the problem was solved.
All we needed to do was add this function to our functions.php file
Have you come across this issue? Did you wreck your hair to bits? If so, leave us a comment below with more information :)