2019-11-07, 13:38:25
(This post was last modified: 2019-11-07, 13:44:33 by puncakpass.)
(2019-11-07, 03:17:58)Carlos Wrote: Check the wiki:
http://get-simple.info/wiki/config:htaccess -> .html instead of slash (/)
Hi carlos
Can you post the complete htaccess code?
Im trying to merge htaccess code for alway use www and redirect to non https version while keeping the fancy url
====edit
in case someone need it , heres my working htaccess code
Code:
# Redirect HTTPS to HTTP
RewriteEngine On
RewriteCond %{HTTPS} on
RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
#url fancy
RewriteRule ([A-Za-z0-9-]+).html index.php?id=$1 [QSA,L]
#
AddDefaultCharset UTF-8
Options -Indexes
Options +FollowSymLinks
DirectoryIndex index.php