Weird links

Hi,
I have noticed that when adding /?plusanything after my site address, the homepage loads instead of an error page.

For example : www.mendo.ch/?testthisweirdfeature
Is this normal ?
Shouldn’t this kind of link redirect to the 404 page ?

After investigation, I also found that in google it seems that my site has been hacked as you can see here :

But when clicking this link, the homepage of my site mendo.ch is showing.

I scanned the site on several security checks, but no malware or anything was found…

Do you have any idea of what the cause may be ?

Also, from the German homepage, when clicking on the French menu, a slug is added at the end of the link, redirecting to another page instead of mendo.ch/fr I get : https://www.mendo.ch/fr/inscription-seminaire-ef-refresh-lpp-en-lien-avec-la-prevoyance-et-la-coordination-des-3-piliers/ (which is a page in my drafts).

For this last issue I contacted WPML support, but maybe this is linked to the permalink issue…

Thanks for your help.

Hi @baysquentin,

Thank you for writing in, this ?plusanything does not throw an error because you’re simply adding a parameter to your URL (even if that parameter is in no use). That means you’re still accessing this page (www.mendo.ch) with an added parameter. So that’s normal.

While this www.mendo.ch/plusanything means you’re trying to access an actual page, and if that page does not exist then the site will throw a 404 not found error.

Regarding the second issue, please navigate to Settings > Permalinks and try saving it without changing anything. That should reindex your permalinks.

Also, please clear all your caching plugins and features you may have on the site.

And lastly, please re-submit a site map to Google.

How to Create a Sitemap in WordPress?

Hope it helps,
Cheers!

Thanks,
Il will try this and will let you know.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.