Testing shipping rates

It’s just sample addresses I copy-paste when testing shipping rates. Ireland St. James’s Gate, Dublin 8, D08 VF8H, Ireland United Kingdom – Northern Ireland Titanic Queen’s Road, The Titanic Quarter, 1 Olympic Way, Belfast BT3 9EP, United Kingdom United Kingdom – Scotland Castlehill, Edinburgh EH1 2NG, United Kingdom United Kingdom – England London SW1A 0AA,… Continue reading Testing shipping rates

Deploying old WordPress sites

I am primarily a Drupal developer but from time to time, I work on older WordPress websites. WordPress sites (5 years +), built and often maintained by different agencies or freelancers tend to be difficult to work with. There is a number of reasons for it, including various plugins, different coding and architectural standards, lack… Continue reading Deploying old WordPress sites

How to avoid duplicates on Views using Search API and translations in Drupal 9

Standard Drupal Views (not using Search API) allow specifying the “Rendering Language”: to “Interface text language selected for the page” and I encountered a problem.This way, if the page is set to Irish let’s say, the View displays the items in Irish and falls back to the default language if the translation is not present.… Continue reading How to avoid duplicates on Views using Search API and translations in Drupal 9

pa11y

The last few projects I worked on required to pass WCAG2A accessibility standards. I used a Node tool https://github.com/pa11y/pa11y to generate reports and identify issues. The following command will generate a report.html report listing identified issues. pa11y –reporter html https://pawelbogucki.com/ > report.html –standard=”WCAG2A”

WordPress wp-admin redirects to https on local

I was deploying a WordPress website locally to perform some changes. I didn’t build it so I’m not sure how it was configured. I found and replaced all instances of https://example.com to http://example.com cleared all caching but http://example.com/wp-admin was redirecting to https://example.com/wp-admin and creating an infinite loop. I also checked the there are redirects on… Continue reading WordPress wp-admin redirects to https on local