I have been banging my head but please tell me where I am going wrong with my code. I am trying to rediret to a another directory and .html splash page as you will see:
1.To use URL Alias you need to be running apache with mod_rewrite enabled.
- In your opencart directory rename htaccess.txt to .htaccess.
# For any support issues please visit: http://www.opencart.com
DirectoryIndex
Options +FollowSymlinks
# SEO URL Settings
RewriteEngine On
# If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/
RewriteBase /site_begin/trial.html
RewriteRule sitemap.xml /index.php?route=feed/google_sitemap
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
# Prevent Directoy listing
Options -Indexes
# Prevent Direct Access to files
<FilesMatch "\\.(tpl|ini|log)">
Order deny,allow
Deny from all
</FilesMatch>
[QUOTE=dklynn;5162570]areol,
You need to review a few things:
-
The placement of the hyphen in a range definition makes it a metacharacter - e.g., to define a-d (a, b, c and d). To specify a hyphen character, it must be first (although last seems to be acceptable, too).
-
The characters allowed with a URI are enumerated in a paper by Sir Tim Berners-Lee entitled Uniform Resource Identifiers (URI): Generic Syntax and you are attempting to use reserved characters. Clearly, if you violate the long-established rules for URIs, you will fail - as you have already proved.
Do you need the list of characters I use at http://wilderness-wally.com?
Regards,
DK[/QUOTE]