Jump to content
  • Create New...

.HTACCESS - Forcer les WWW

Recommended Posts

  • Bot

Niveau requis Débutant

Temps estimé : 3 minutes



Je partage ce petit script PHP à mettre dans votre .htaccess, son utilité ? Forcer l'affichage du www devant l'url de votre site, par exemple : https://funky-emu.net > https://wwwfunky-emu.net même si vous n'avez pas précisé le www avant...





RewriteEngine on
RewriteCond %{HTTP_HOST} ^funky-emu.net [NC]
RewriteRule ^(.*)$ https://funky-emu.net/$1 [L,R=301,NC] 


Hey hey

090100logo.png 090149logo-4-bis.png

Link to comment
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • 11 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Flux d'Activité

    1. 1

      Site internet (CMS) compatible avec tous les emulateurs 1.29 (Azuriom)

    2. 1

      Site internet (CMS) compatible avec tous les emulateurs 1.29 (Azuriom)

    3. 7
    4. 84
    5. 32

      Rodnia.net | PVM | International | The Great Conqueror |

    6. 16

      Map The OpenWorld Metin2

    7. 0
    8. 6

      [V2]Gurgarath Resurgence

  • Recently Browsing

    • No registered users viewing this page.

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.