Thread: slow loading

Results 1 to 10 of 28

Threaded View

  1. #19
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,205
    Plugin Contributions
    11

    Default Re: slow loading

    Sorry, you are using CEON URL rewriter which has nothing to do with 301 redirect making your site become http and either www or non-www.

    You have nothing in your .htaccess that does a 301 redirect AND your certificate is STILL non-www.

    You have us chasing in circles as you are changing things that have nothing to do with where we are trying to get you.

    In your .htaccess file where it says
    Code:
    ###############################################################################
    # Add any custom 301 redirects
    ###############################################################################
    # Notes:#
    # In general these should be few and far between. If you use a RewriteRule
    # be sure to add the L flag to let Apache mod_rewrite know to stop processing
    # and skip any RewriteRules defined later in the .htaccess file.#
    #############################################################################################################################################################
    # Redirect if request was for index.php (with or without query)#
    ##############################################################################
    # Notes:#
    # This is a performance optimization. If the request is for index.php simply
    # pass the request on and do not process any other mod_rewrite directives in
    # this file.#
    # Basically this avoids the overhead of checking if index.php is a real file
    # or directory (used in subsequent mod_rewrite rules) before sending the
    # request to index.php.
    replace it with
    Code:
    ###############################################################################
    # Add any custom 301 redirects#
    ##############################################################################
    # Redirect HTTP with www to HTTPS without wwwRewriteCond %{HTTPS} off
    RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
    RewriteRule .* https://%1%{REQUEST_URI} [R=301,L]
    # Redirect HTTP without www to HTTPS without www
    RewriteCond %{HTTPS} off
    RewriteCond %{HTTP_HOST} !^www\. [NC]
    RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
    # Redirect HTTPS with www to HTTPS without www
    RewriteCond %{HTTPS} on
    RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
    RewriteRule .* https://%1%{REQUEST_URI} [R=301,L]
    
    ## 301 Redirects
    Last edited by dbltoe; 26 May 2021 at 12:54 AM.

 

 

Similar Threads

  1. v155 Slow loading website
    By KGL Racing in forum General Questions
    Replies: 5
    Last Post: 7 Dec 2018, 05:30 PM
  2. v154 Slow loading sites
    By Siem in forum General Questions
    Replies: 5
    Last Post: 23 Jul 2015, 10:08 AM
  3. Slow Loading
    By oewdirect in forum General Questions
    Replies: 2
    Last Post: 18 Jun 2009, 09:14 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR