AlegroCart open source E-commerce
Web hosting by Host1Plus

no .htaccess file

Issues when installing or upgrading AlegroCart

no .htaccess file

Postby dawwoz » Sun Feb 14, 2010 12:44 pm

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.
dawwoz
 
Posts: 2
Joined: Sun Feb 14, 2010 12:40 pm

Re: no .htaccess file

Postby Brent » Sun Feb 14, 2010 4:16 pm

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. ?
User avatar
Brent
Site Admin
 
Posts: 4371
Joined: Sat Dec 12, 2009 3:35 pm
Location: Canada eh

Re: no .htaccess file

Postby dawwoz » Mon Feb 15, 2010 3:23 pm

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]
dawwoz
 
Posts: 2
Joined: Sun Feb 14, 2010 12:40 pm

Re: no .htaccess file

Postby Brent » Mon Feb 15, 2010 4:19 pm

The .htaccess is located inside the upload folder just above common.php

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]
User avatar
Brent
Site Admin
 
Posts: 4371
Joined: Sat Dec 12, 2009 3:35 pm
Location: Canada eh

Re: no .htaccess file

Postby Rankexperts » Wed Jan 04, 2012 2:38 am

can you explain this problem. I can not the understand your problem with the details that you have provide.
Rankexperts
 
Posts: 1
Joined: Wed Jan 04, 2012 2:31 am


Return to Installation & Upgrade Support

Who is online

Users browsing this forum: No registered users and 2 guests

cron