Score:0

Using Rank Math REgex for subfolder redirects to home

qa flag

So short summary: im a SEO specialist working on a website that has over 1000 404 pages due to a translator app. The subfolders /de/ /fr/ /es/ /en/ and URL's within the subfolder need to be redirected to the homepage. Because it is not possible to load up a CSV file in Rank Math I thought why not use REgex... however I don't know what to place in Rank Math.

So please anyone write the REgex code for me :) Example: website.shop/de/ needs to redirect to website.shop/ and website.shop/de/example/ also

Thanks in advance

HBruijn avatar
in flag
Using WordPress plugins, SEO and SEO tools will be much more on topic on the https://webmasters.stackexchange.com/help sister site
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.