ÿØÿà JFIF ` ` ÿþxØ
| Server IP : 109.234.164.53 / Your IP : 216.73.216.110 Web Server : Apache System : Linux cervelle.o2switch.net 4.18.0-553.32.1.lve.el8.x86_64 #1 SMP Thu Dec 19 13:14:03 UTC 2024 x86_64 User : computer3 ( 1098) PHP Version : 7.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/computer3/atlanticswim.fr/ |
Upload File : |
RewriteEngine On
## no duplicate www + http
### A activer une fois le site en production si pas de https
#### ATTENTION : refaire la clé
#RewriteCond %{HTTP_HOST} !^www.atlanticswim.computer3.fr$
#RewriteRule ^(.*) http://www.atlanticswim.computer3.fr/$1 [QSA,L,R=301]
########################
## no duplicate www + http + https
### A activer une fois le site en production si https
RewriteCond %{HTTP_HOST} !^www.atlanticswim.fr$
RewriteRule ^(.*) http://www.atlanticswim.fr/$1 [QSA,L,R=301]
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
########################
#RewriteRule ^index\.html$ index.php
RewriteRule ^index$ index.php
RewriteRule ^accueil$ index.php
ErrorDocument 404 /404.php
RewriteRule ^404$ 404.php
ErrorDocument 404 /404.php
RewriteRule ^404$ 404.php
#clon#############
RewriteRule ^accueil-1$ index-1.php
RewriteRule ^accueil-2$ index-2.php
RewriteRule ^accueil-3$ index-3.php
RewriteRule ^accueil-4$ index-4.php
RewriteRule ^accueil-5$ index-5.php
# Réécriture des URL des événements
RewriteRule ^evenements$ events.php
RewriteRule ^evenements-archives$ events-archives.php
RewriteRule ^evenement-([a-zA-Z0-9\-\%]+)$ event.php?seo=$1 [L]
RewriteRule ^copyright$ copyright.php
RewriteRule ^nous-contacter$ contact.php
RewriteRule ^contact$ contact.php
RewriteRule ^google-map$ google-map.php
RewriteRule ^mentions-legales$ legal.php
RewriteRule ^maintenance$ maintenance.php
RewriteRule ^bottom$ bottom.php
RewriteRule ^plan-du-site$ plan-du-site.php
RewriteRule ^conditions-generales$ conditions-generales.php
RewriteRule ^dictionnaire$ faq.php
RewriteRule ^foire$ faq2.php
#Module Gallery
RewriteRule ^galerie-photos$ gallery.php
#RewriteRule ^galerie-photos-([a-zA-Z0-9\-\%]+)$ gallery.php?seo=$1 [L]
RewriteRule ^([0-9]+)-galerie-photos-([a-zA-Z0-9\-\%]+)$ gallery.php?seo=$1 [L]
# Réécriture des URL des pages
#RewriteRule ^([a-zA-Z0-9\-\%]+)$ page.php?seo=$1 [L]
RewriteRule ^([0-9]+)-([a-zA-Z0-9\-\%]+)$ page.php?seo=$1&seo_org=$2 [L]
#annonces
RewriteRule ^annonce-([0-9]+)\.html$ annonces.php?seo=$1 [L,NS,NE,NC]