Hey!!!
I would like to activate seo urls, but i haven't go correct .htaccess file. Has it anybody? I'm waiting for help.
Greetings from Poland.
no .htaccess file
Re: no .htaccess file
The .htaccess file in the upload should work.
Have you enable url alias in the admin/settings.
That must be enabled first.
If so, what kind of error or problem are you having.
Also, mod rewrite must be enabled. ?
Have you enable url alias in the admin/settings.
That must be enabled first.
If so, what kind of error or problem are you having.
Also, mod rewrite must be enabled. ?
Re: no .htaccess file
In the zip package I couldn't find an example of .htaccess file. Thus my problem, but I've resolved it. I downloaded the .htaccess from opencart and after small change it works with alegrocart.
RewriteRule ^(.*)\?*$ index.php?controller=$1 [L,QSA]
RewriteRule ^(.*)\?*$ index.php?controller=$1 [L,QSA]
Re: no .htaccess file
The .htaccess is located inside the upload folder just above common.php
Here is the code if you have any other questions.
Here is the code if you have any other questions.
Code: Select all
# Uncomment this to ensure that register_globals is Off
#php_flag register_globals Off
# URL Alias - see install.txt
# Prevent access to .tpl
<Files ~ "\.tpl$">
Order allow,deny
Deny from all
</Files>
Options +FollowSymlinks
<IfModule mod_rewrite.c>
RewriteEngine On
# Uncomment this if your URL is not directly related to the physical file paths.
# RewriteBase /store/ if store is directory cart is in, eg: www/store/cart
RewriteBase /
#AlegroCart REWRITES START
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php/$1 [L,QSA]
#AlegroCart REWRITES END
</IfModule>
#Try if you have problems with url alias
#RewriteRule ^(.*) index.php [L,QSA]
# Focus on one domain - Uncomment to use
#RewriteCond %{HTTP_HOST} !^www\.example\.com$ [NC]
#RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L]
-
- Posts: 1
- Joined: Wed Jan 04, 2012 2:31 am
Re: no .htaccess file
can you explain this problem. I can not the understand your problem with the details that you have provide.