How To Redirect Non-WWW To WWW In Joomla - Template Shaper_travelia_dynamic - Question | JoomShaper
🎃 Halloween Sale is Live! Get 35% OFF on all plans. Sale ends soon! Get Offer

How To Redirect Non-WWW To WWW In Joomla - Template Shaper_travelia_dynamic

B

BOURDON

General 3 years ago

Hello,

I have a problem when I want to use the htaccess file to redirect my no-www url to www. I use the following code that I add to the file after the "RewriteEngine On" line:

RewriteCond %{HTTP_HOST} ^florilege-sante.fr [NC]

RewriteRule ^(.*)$ www.florilege-sante.fr/$1 [L,R=301]

unfortunately following the modification my site is no longer accessible.

Can you help me configure my htaccess file?

In addition, I also noticed that when I use the htaccess file taking into account the gzip compress by default, my admin interface no longer has graphics, as if the CSS was no longer applied. The only solution found is to comment out the lines of code relating to compression in the htaccess file.

Thanks in advance

My website : http://florilege-sante.fr/

0
1 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #71581

Hi,

install plugin : rkWWWredirect (J3 and J4) OR aiRedirectWww (J3)

But in general - problems are on your server, Joomla code is OK.


Can you help me configure my htaccess file?

We support only Joomshaper products, not Joomla nor htaccess file. Beyond support. This kind of information you can find on forum.joomla.org and on many French IT blogs, also about wordpress, the rules are this same for all CMS. That's all I can help.

0