2019-11-06, 23:09:20
(This post was last modified: 2019-11-06, 23:10:33 by puncakpass.)
(2009-10-29, 20:10:54)ccagle8 Wrote: try this:
Code:AddDefaultCharset UTF-8
RewriteEngine on
RewriteBase /getsimple2/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?([A-Za-z0-9-]+)/?$ index.php?id=$1 [L]
hello admin
what is the correct htacces for using URL Fancy
i use this slug
Code:
%parent%/%slug%.html
and htaccess
#Force www:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^yanaponsel.my.id [NC]
RewriteRule ^(.*)$ http://www.yanaponsel.my.id/ $1 [L,R=301,NC]
#
Code:
AddDefaultCharset UTF-8
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?([A-Za-z0-9-]+)/?$ index.php?id=$1 [L]
# GetSimple CMS htaccess ROOT file
# apache 2.4
#
# The following require certain allow overrides, if getting 500 error comment them out one by one
# can be resolved in apache httpd.conf to ensure security alternatives
# override charset
AddDefaultCharset UTF-8
# prevent directory listings
Options -Indexes
# Follow symbolink links, This is required for rewrites on some hosts
Options +FollowSymLinks
# Set the default handler.
DirectoryIndex index.php
but my post is 404 not found