Jump to content
thirty bees forum
  • 0

category page non accessible


Saha

Question

I have enabled ssl on my site . Everything works except the category page https://www.abc.com/?controller=category&id_category=3

When the friendly url is on it says 404 not found when it is switched off it redirects to non ssl link http://www.abc.com/?controller=category&id_category=3 and says too many redirects

As far as i know i don't think their is a problem with seo settings or .htaccess seems like ssl might be configured wrong

Plz help me In an environment without ssl everything works normal.

Link to comment
Share on other sites

11 answers to this question

Recommended Posts

  • 0

@yaniv14 ServerAdmin webmaster@localhost DocumentRoot /var/www/html

        # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
        # error, crit, alert, emerg.
        # It is also possible to configure the loglevel for particular
        # modules, e.g.
        #LogLevel info ssl:warn

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined

        # For most configuration files from conf-available/, which are
        # enabled or disabled at a global level, it is possible to
        # include a line for only one particular virtual host. For example the
        # following line enables the CGI configuration for this host only
        # after it has been globally disabled with "a2disconf".
        #Include conf-available/serve-cgi-bin.conf


        #   SSL Engine Switch:
        #   Enable/Disable SSL for this virtual host.
        SSLEngine on

        #   A self-signed (snakeoil) certificate can be created by installing
        #   the ssl-cert package. See
        #   /usr/share/doc/apache2/README.Debian.gz for more info.
        #   If both key and certificate are stored in the same file, only the
        #   SSLCertificateFile directive is needed.
        SSLCertificateFile      /etc/ssl/certs/ssl-cert-secret.pem
        SSLCertificateKeyFile /etc/ssl/private/secret.key

SSLOptions +StdEnvVars SSLOptions +StdEnvVars

Link to comment
Share on other sites

  • 0

@saha said in category page non accessible:

Need some urgent Help can somebody please help me.

Have you got access to webserver' logs? How you configured your system, i.e. which webserver version, php version, mysql, et c.?

I asking, because had similar problems, caused by more than one version of php were installed on my server.

UPD 1: Have you thought about nginx web-server? As for me its configs are much more clear and easy to understand.

Link to comment
Share on other sites

  • 0

I have apache server apache2 version : 2.4.25 build : 2017-07-27T14:32:31 php version : PHP 7.0.22-0ubuntu0.17.04.1

mysql : mysql Ver 15.1 Distrib 10.1.26-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2

I only have one php version installed

Link to comment
Share on other sites

  • 0

@daokakao Did not help having the same issue. Does Thirty bee have canonical redirection issue with ssl ? In the admin section Preference->seo Redirect to the canonical URL if i set this no redirection The category page works Displaying the link in non url friendly format like http://abc.com/?controller=category&id_category=3

Link to comment
Share on other sites

  • 0

Well, since i dont use apache, i can just advice few common steps to find the issue cause: 1. Check the logfiles. This should be very first thing you do in case of any issue (s) 2. Check webserver' and php' config files - oftenly it is root of most issues, especially when there're no similar questions described in the internet 3. Only if no result, it is highly probable the root of issue is software bug.

Link to comment
Share on other sites

  • 0

I don't know if can be any help but I got the "too many redirects" error too (on all pages, not only category pages) and I solved enabling:

Configure -> Shop Parameters -> General: enable "SSL" enable "SSL on all pages" options

p.s. I'm using nginx and not apache

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...