php - Opencart enabling SEO url leads to 404 error -


i'm using opencart version 1.5.5.1 our website.

when enable seo in admin section urls lead 404. site url https://www.domain.com/dev/. .htaccess file content follows:

# 1.to use url alias need running apache mod_rewrite enabled.   # 2. in opencart directory rename htaccess.txt .htaccess.  # support issues please visit: http://www.opencart.com  options +followsymlinks  # prevent directoy listing  options -indexes  # prevent direct access files <filesmatch "\.(tpl|ini|log)">  order deny,allow  deny </filesmatch>  # seo url settings rewriteengine on # if opencart installation not run on main web folder make sure folder run in ie. / becomes /shop/   rewritebase /dev/ rewriterule ^sitemap.xml$ index.php?route=feed/google_sitemap [l] rewriterule ^googlebase.xml$ index.php?route=feed/google_base [l] rewriterule ^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) rewriterule ^([^?]*) index.php?_route_=$1 [l,qsa] #rewriterule ^(.*)\?*$ index.php?route=$1 [l,qsa]  ### additional settings may need enabled servers  ### uncomment commands removing # sign in front of it. ### if "internal server error 500" after enabling of following settings, restore # means host doesn't allow that.  # 1. if cart allows add 1 item @ time, possible register_globals on. may work disable it: # php_flag register_globals off  # 2. if cart has magic quotes enabled, may work disable it: # php_flag magic_quotes_gpc off  # 3. set max upload file size. hosts limit , not allow overridden can try # php_value upload_max_filesize 999m  # 4. set max post size. uncomment line if have lot of product options or getting errors forms not saving fields # php_value post_max_size 999m  # 5. set max time script can take. uncomment line if have lot of product options or getting errors forms not saving fields # php_value max_execution_time 200  # 6. set max time input recieved. uncomment line if have lot of product options or getting errors forms not saving fields # php_value max_input_time 200  # 7. disable open_basedir limitations # php_admin_value open_basedir none 

i know topic posted solutions provided didn't work me.

please me. in advance!

check list search errors:

  1. renamed .htaccess.txt -> .htaccess

  2. enabled mod_rewrite on apache2:a2enmod rewrite service apache2 restart

  3. changed apache2.conf file, located @ /etc/apache2/ :

<directory /var/www/your-store> options indexes followsymlinks allowoverride none require granted </directory> change to

<directory /var/www/your-store> options indexes followsymlinks allowoverride require granted </directory>


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -