Can I remove index.php from seo links? - Joomla! Forum - community, help and support
hi guys,
no matter xml site map builder use (xmap, jsitemap etc.) output includes index.php in each link, how out?
for example:
code:
http://www.example.ie/index.php/about-us/job-seekers.html
should be...
code:
http://www.example.ie/about-us/job-seekers.html
i've noticed have...
in .htaccess already, i'm not sure why have...
seo settings
search engine friendly urls = yes
use url rewriting = yes
adds suffix url = yes
unicode aliases = yes
if remove additional htaccess code links change to:
code:
http://www.example.ie/index.php/about-us/whatever.html
really stuck on , client getting anxious.
anyone clue?
no matter xml site map builder use (xmap, jsitemap etc.) output includes index.php in each link, how out?
for example:
code:
http://www.example.ie/index.php/about-us/job-seekers.html
should be...
code:
http://www.example.ie/about-us/job-seekers.html
i've noticed have...
code: select all
rewritecond %{the_request} ^[a-z]+\ /index\.php(/[^\ ]*)?\ http/
rewriterule ^index\.php(/(.*))?$ /$2 [r=301,l]
in .htaccess already, i'm not sure why have...
seo settings
search engine friendly urls = yes
use url rewriting = yes
adds suffix url = yes
unicode aliases = yes
if remove additional htaccess code links change to:
code:
http://www.example.ie/index.php/about-us/whatever.html
really stuck on , client getting anxious.
anyone clue?
i don't know why have these lines:
in .htaccess file. don't think should there @ all.
you should download fresh copy of joomla , replace current .htaccess file .htaccess file in copy (rename htaccess.txt).
code: select all
rewritecond %{the_request} ^[a-z]+\ /index\.php(/[^\ ]*)?\ http/
rewriterule ^index\.php(/(.*))?$ /$2 [r=301,l]
in .htaccess file. don't think should there @ all.
you should download fresh copy of joomla , replace current .htaccess file .htaccess file in copy (rename htaccess.txt).
Comments
Post a Comment