CustomMadeCasino Posted January 22 Share Posted January 22 (edited) I noticed on my website Custom Made Casino that when we moved from universal analytics to GA4, it now shows 2 versions of my homepage. custommadecasino.com/ and custommadecasino.com/index.php?route=common/home. I tried to fix this with a redirect but it messed up my entire website. Is there a reason that ga4 shows it this way, does it effect seo? If so, how can it be fixed? We use opencart for our site and it seems to use these php directories but we much prefer the seo friendly urs. Edited January 22 by requinix removing link Quote Link to comment Share on other sites More sharing options...
requinix Posted January 22 Share Posted January 22 It'll be finding two versions because you do have two versions: it can't tell that the index.php one is "the homepage" and you're (I assume) using URL rewriting in the backend to map / to /index.php?route=common/home. Redirects are the answer, however they have to be very carefully done: redirect from the ?route= thing if that was the actual URL requested. Because if you don't have that little condition at the end, your server will redirect back and forth between them. How are your redirects set up now? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.