# 1.To use URL Alias you need to be running apache with mod_rewrite enabled.

# 2. In your opencart directory rename htaccess.txt to .htaccess.

# For any support issues please visit: http://www.opencart.com

Options +FollowSymlinks

# Prevent Directoy listing
Options -Indexes

# Prevent Direct Access to files
<FilesMatch "(?i)((\.tpl|\.ini|\.log))">
 Require all denied
## For apache 2.2 and older, replace "Require all denied" with these two lines :
# Order deny,allow
# Deny from all
</FilesMatch>

# 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 /
RewriteCond %{HTTPS} !^on [OR]
RewriteCond %{HTTP_HOST} ^www\.outdoorchef\.ro [NC]
RewriteRule ^(.*)$ https://outdoorchef.ro/$1 [R=301,L]
RewriteRule ^sitemap.xml$ index.php?route=extension/feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=extension/feed/google_base [L]
RewriteRule ^system/download/(.*) index.php?route=error/not_found [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css|txt)
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]

RewriteCond %{QUERY_STRING} _route_=gratare-outdoorchef/sistem-de-gratar-cu-gaz-cu-palnie
RewriteRule ^index\.php$ sistem-de-gratar-cu-gaz-cu-palnie? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=gratare-outdoorchef/sistem-gratar-cu-gaz-australian-line
RewriteRule ^index\.php$ sistem-gratar-cu-gaz-australian-line? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=gratare-outdoorchef/sistem-gratar-cu-carbune
RewriteRule ^index\.php$ sistem-gratar-cu-carbune? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=gratare-outdoorchef/sistem-grill-gratar-electric
RewriteRule ^index\.php$ sistem-grill-gratar-electric? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=gratare-gaz-dualchef/sistem-gratar-gaz-dualchef
RewriteRule ^index\.php$ sistem-gratar-gaz-dualchef? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=gratare-gaz-dualchef
RewriteRule ^index\.php$ sistem-gratar-gaz-dualchef? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=gratare-carbune-gratare-gaz-grill-electric
RewriteRule ^index\.php$ gratare-outdoorchef? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=accesorii-gratare-outdoorchef
RewriteRule ^index\.php$ accesorii-outdoorchef? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=backupcron.php
RewriteRule ^index\.php$ /? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=wp-cron.php
RewriteRule ^index\.php$ /? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=wp-login.php
RewriteRule ^index\.php$ /? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=shop
RewriteRule ^index\.php$ gratare-outdoorchef? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=promotii/
RewriteRule ^index\.php$ promotii-gratare? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=gratar-gaz-outdoorchef-canberra-4g_1903x500/
RewriteRule ^index\.php$ gratar-gaz-australia-415-g? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=t/gratare-cu-carbune/
RewriteRule ^index\.php$ gratare-carbuni-outdoorchef? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=produse/sistemul-de-gratar-cu-gaz-cu-palniesistem-gaz
RewriteRule ^index\.php$ sistem-de-gratar-cu-gaz-cu-palnie? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=gratare-outdoorchef/gratar-gaz-hamilton-3-g
RewriteRule ^index\.php$ gratar-gaz-australia-325-g? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=gratare-outdoorchef/gratar-gaz-canberra-4g
RewriteRule ^index\.php$ gratar-gaz-australia-415-g? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=accesorii-outdoorchef/set-royal-ustensile-gratar
RewriteRule ^index\.php$ set-starter-ustensile-gratar? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=accesorii-outdoorchef/huse-pentru-gratare-si-grill-uri
RewriteRule ^index\.php$ huse-gratare-outdoorchef? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=gratare-outdoorchef/gratar-gaz-perth-4-g
RewriteRule ^index\.php$ gratar-gaz-australia-425-g? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=accesorii-outdoorchef/set-suport-peste-la-gratar
RewriteRule ^index\.php$ suport-de-inox-pentru-costite? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=produse/gratar-gaz-hamilton-3-g
RewriteRule ^index\.php$ gratar-gaz-australia-325-g? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=produse/huse-pentru-gratare-si-grill-uri
RewriteRule ^index\.php$ huse-gratare-outdoorchef? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=produse/forma-coacere-briose-trandafir
RewriteRule ^index\.php$ forma-coacere-briose-trandafir? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=produse/pensula-de-uns-din-silicon
RewriteRule ^index\.php$ pensula-de-uns-din-silicon? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=produse/presa-hamburger
RewriteRule ^index\.php$ presa-hamburger? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=produse/plita-rotunda-fonta-39-cm
RewriteRule ^index\.php$ plita-rotunda-fonta-39-cm? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=shop/page/3
RewriteRule ^index\.php$ gratare-outdoorchef? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=shop/page/2
RewriteRule ^index\.php$ gratare-outdoorchef? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=shop/page/4
RewriteRule ^index\.php$ gratare-outdoorchef? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=accesorii-outdoorchef/sac-brichete-de-carbuni-gratar-5-kg
RewriteRule ^index\.php$ accesorii-outdoorchef? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=cana-aprindere-carbune-_sistem-tip-semineu-aprindere-brcihete-carbuni-outdoorchef-3
RewriteRule ^index\.php$ cana-aprindere-carbuni-gratar? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=-outdoorchef/forma-coacere-briose-trandafir
RewriteRule ^index\.php$ forma-coacere-briose-trandafir? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=-outdoorchef/huse-pentru-gratare-si-grill-uri
RewriteRule ^index\.php$ huse-gratare-outdoorchef? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=-outdoorchef/gratar-gaz-p-420g
RewriteRule ^index\.php$ gratar-gaz-p-420g? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=-outdoorchef/plita-rotunda-fonta-39-cm
RewriteRule ^index\.php$ plita-rotunda-fonta-39-cm? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=-outdoorchef/presa-hamburger
RewriteRule ^index\.php$ presa-hamburger? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=wok-fonta
RewriteRule ^index\.php$ accesorii-din-fonta-outdoorchef? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=t/plite-gratar-fonta
RewriteRule ^index\.php$ accesorii-din-fonta-outdoorchef? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=t/gratare-terasa
RewriteRule ^index\.php$ gratare-gaz-outdoorchef? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=t/curatire
RewriteRule ^index\.php$ curatare-gratare-outdoorchef? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=t/pizza
RewriteRule ^index\.php$ pizza-la-gratar-outdoorchef? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=t/ustensile
RewriteRule ^index\.php$ ustensile-gratare-outdoorchef? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=t/gratare-electrice
RewriteRule ^index\.php$ gratare-electrice-outdoorchef? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=t/carbune
RewriteRule ^index\.php$ gratare-carbuni-outdoorchef? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=gratare-outdoorchef/gratar-carbune-classic-570c
RewriteRule ^index\.php$ gratar-carbune-chelsea-570c? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=gratare-outdoorchef/gratar-carbune-rover-480c
RewriteRule ^index\.php$ gratar-carbune-chelsea-480c? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=gratare-outdoorchef/gratar-gaz-ascona-570g-blue
RewriteRule ^index\.php$ gratar-gaz-ascona-570g-gri? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=accesorii-outdoorchef/tocator-bambus
RewriteRule ^index\.php$ ustensile-gratare-outdoorchef? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=produse/aprinzatoare-carbuni-gratar
RewriteRule ^index\.php$ aprinzatoare-carbuni-gratar? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=produse/gratar-de-fonta-45-cm
RewriteRule ^index\.php$ gratar-de-fonta-45-cm? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=produse/gratar-gaz-paris-deluxe-570g
RewriteRule ^index\.php$ gratar-gaz-montreux-570g? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=produse/sistem-grill-gratar-electric
RewriteRule ^index\.php$ sistem-grill-gratar-electric? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=akzidgrtskprolig-3
RewriteRule ^index\.php$ /? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=accesorii-outdoorchef/set-gratare-fonta-dreptunghiulare
RewriteRule ^index\.php$ set-gratare-fonta-dreptunghiulare? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=portfolio_categories/gratare-cu-carbune
RewriteRule ^index\.php$ gratare-carbuni-outdoorchef? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=gratare-outdoorchef/sistemul-de-gratar-cu-gaz-cu-palniesistem-gaz
RewriteRule ^index\.php$ sistem-de-gratar-cu-gaz-cu-palnie? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=gratar-gaz-outdoorchef-ascona-570g-black-3-1024x377_web2-min
RewriteRule ^index\.php$ gratar-gaz-ascona-570g-negru? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=t/gratare-cu-gaz/page/2
RewriteRule ^index\.php$ gratare-gaz-outdoorchef? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=gratare-carbuni/
RewriteRule ^index\.php$ gratare-carbuni-outdoorchef? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=gratar-electric-outdoorchef-city-420e_grill-p-420e-1-1024x377_web2-min
RewriteRule ^index\.php$ gratar-electric-city-420e? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=termometru-de-fripturi-gourmet-check-1-2
RewriteRule ^index\.php$ termometru-de-fripturi-la-gratar? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=sistem-gratar-gaz-outdoorchef-dual-chef-2/
RewriteRule ^index\.php$ sistem-gratar-gaz-dualchef? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=gratare-outdoorchef/gratar-carbune-easy-570c
RewriteRule ^index\.php$ gratar-carbune-chelsea-570c? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=politica-de-confidentialitate
RewriteRule ^index\.php$ conditii-de-utilizare-si-confidentialitate? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=portfolio_categories/gratare-electrice/feed
RewriteRule ^index\.php$ gratare-electrice-outdoorchef? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=accesorii-outdoorchef/sac-carbuni-gratar-4-kg
RewriteRule ^index\.php$ accesorii-outdoorchef? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=portfolio_categories/gratare-electrice
RewriteRule ^index\.php$ gratare-electrice-outdoorchef? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=produse/set-gratare-fonta-dreptunghiulare
RewriteRule ^index\.php$ set-gratare-fonta-dreptunghiulare? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=tigaie-fonta-38-cm
RewriteRule ^index\.php$ accesorii-din-fonta-outdoorchef? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=-outdoorchef/sistem-grill-gratar-electric
RewriteRule ^index\.php$ sistem-grill-gratar-electric? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=gratar-gaz-paris-deluxe-570g
RewriteRule ^index\.php$ gratar-gaz-montreux-570g? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=portfolio_categories/gratare-cu-carbune/feed
RewriteRule ^index\.php$ gratare-carbuni-outdoorchef? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=gratare-outdoorchef/sistemul-australian-de-gratar-cu-gaz
RewriteRule ^index\.php$ gratar-gaz-australia-415-g? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=magazine-partenere/
RewriteRule ^index\.php$ contact-gratare-outdoorchef? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=produse/aprinzatoare-carbuni-gratar/aprinzatoare-de-carbune-din-ceara-si-lemn-3
RewriteRule ^index\.php$ aprinzatoare-carbuni-gratar? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=electro
RewriteRule ^index\.php$ gratare-electrice-outdoorchef? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=ro-ro
RewriteRule ^index\.php$ /? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=en-gb
RewriteRule ^index\.php$ /en? [R=301,L]

#RewriteCond %{QUERY_STRING} _route_=black-friday-outdoorchef
#RewriteRule ^index\.php$ promotii-gratare? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=aprinzatoare-carbuni-gratar
RewriteRule ^index\.php$ ustensile-gratare-outdoorchef? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=aschii-afumare-lemn-anin
RewriteRule ^index\.php$ afumare-la-gratar? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=aschii-afumare-lemn-cires
RewriteRule ^index\.php$ afumare-la-gratar? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=aschii-afumare-lemn-mar
RewriteRule ^index\.php$ afumare-la-gratar? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=gratar-carbune-rover-570-c
RewriteRule ^index\.php$ gratar-carbune-kensington-570c? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=gratar-gaz-venezia-570g
RewriteRule ^index\.php$ bucatarie-exterioara-lugano-570g? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=gratar-rover-570c-cu-gratar-fonta
RewriteRule ^index\.php$ gratar-carbune-kensington-570c-chef-edition? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=perie-silvy-curatare-gratar
RewriteRule ^index\.php$ perie-curatare-gratar? [R=301,L]

RewriteCond %{QUERY_STRING} _route_=planse-afumare-lemn-anin
RewriteRule ^index\.php$ planse-afumare-lemn-cedru? [R=301,L]

### Additional Settings that may need to be enabled for some servers
### Uncomment the commands by removing the # sign in front of it.
### If you get an "Internal Server Error 500" after enabling any of the following settings, restore the # as this means your host doesn't allow that.

# 1. If your cart only allows you to add one item at a time, it is possible register_globals is on. This may work to disable it:
# php_flag register_globals off

# 2. If your cart has magic quotes enabled, This may work to disable it:
# php_flag magic_quotes_gpc Off

# 3. Set max upload file size. Most hosts will limit this and not allow it to be overridden but you can try
# php_value upload_max_filesize 999M

# 4. set max post size. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
# php_value post_max_size 999M

# 5. set max time script can take. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
# php_value max_execution_time 200

# 6. set max time for input to be recieved. Uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
# php_value max_input_time 200

# 7. disable open_basedir limitations
# php_admin_value open_basedir none

# BEGIN cPanel-generated php ini directives, do not edit
# Manual editing of this file may result in unexpected behavior.
# To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
# For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
<IfModule php7_module>
   php_value default_charset "utf-8"
   php_value memory_limit 64M
   php_value max_execution_time 36000
   php_value upload_max_filesize 999M
   php_value mysql.connect_timeout 20
   php_flag session.auto_start Off
   php_flag session.use_only_cookies On
   php_flag session.use_cookies On
   php_flag session.use_trans_sid Off
   php_value session.cookie_httponly "On;"
   php_value session.gc_maxlifetime 3600
   php_flag display_errors Off
   php_value max_input_time 60
   php_value max_input_vars 1000
   php_value post_max_size 8M
#   php_value session.save_path "/var/cpanel/php/sessions/ea-php71"
   php_flag zlib.output_compression On
</IfModule>
# END cPanel-generated php ini directives, do not edit

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “alt-php73” package as the default “PHP” programming language.
<IfModule mime_module>
  AddHandler application/x-httpd-alt-php73 .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
