Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 1484

Search Engine Optimization (Joomla! SEO) in Joomla! 3.x • Re: SEO and Google Analytics and index.php

$
0
0
Ugh, dealing with that /index.php issue in URLs is such a headache, right? I ran into the exact same problem a while back. My solution? I fiddled with the .htaccess file, setting up a redirect to change /index.php to just /. It cleaned up the URLs beautifully and really helped with making the site more SEO-friendly.
Joomla's htaccess already does that
Hi,
I don't see this in htaccess file. We are using J4. I have added this to htaccess to solve this Google Analytics /index.php thing.
RewriteEngine On
RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\s(.*)/index\.php [NC]
RewriteRule ^ %1 [R=301,L]

Statistics: Posted by ptrouw — Fri Nov 01, 2024 8:14 am



Viewing all articles
Browse latest Browse all 1484

Trending Articles





<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>