Results 1 to 10 of 5054

Hybrid View

  1. #1
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Simple SEO URL [support thread]

    okie, here is an update:
    cleverpork's site was using shared ssl, so when you click on the https link it will direct you to different domain, in our case we have
    normal link:
    http://thesite.com/catalog
    https link:
    https://some_shared_ssl_link.com/~subfolder/catalog

    And here is the fix which appears to be working fine:
    Code:
    #### BOF SSU
    Options +FollowSymLinks -MultiViews
    RewriteEngine On
    # Make sure to change "test_site" to the subfolder you install ZC. If you use root folder, change to: RewriteBase / 
    RewriteBase /~subfolder/catalog/
    
    # Deny access from .htaccess
    RewriteRule ^\.htaccess$ - [F]
    
    RewriteCond %{SCRIPT_FILENAME} !-f
    RewriteCond %{SCRIPT_FILENAME} !-d
    RewriteRule ^(.*) index.php?/$1 [E=VAR1:$1,QSA]
    
    # STRIP THE REWRITEBASE RULE FROM NON-SSL CONNECTIONS.
    RewriteCond %{SERVER_PORT} 80
    RewriteCond %{REQUEST_URI} ^/~subfolder/
    RewriteRule ^(.*) /catalog/index.php?/$1 [E=VAR1:$1,QSA,L]
    #### EOF SSU
    On a side note, I notice that when ZC is placed under subfolder, some of you set configure.php like this:

    Code:
      define('HTTP_SERVER', 'http://www.site.com/subfolder');
      define('HTTPS_SERVER', 'https://secure.site.com/~username/subfolder');
    This may work in the normal ZC setting, but it will cause SSU to malfunction. You need to set like this:
    Code:
      define('HTTP_SERVER', 'http://www.site.com');
      define('HTTPS_SERVER', 'https://secure.site.com');
    
      define('DIR_WS_CATALOG', '/subfolder/');
      define('DIR_WS_HTTPS_CATALOG', '/~username/subfolder/');
    So basically, the http ones should contain only the domain name, no sub folders at all.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  2. #2
    Join Date
    Apr 2007
    Location
    Washington
    Posts
    115
    Plugin Contributions
    0

    Default Re: Simple SEO URL [support thread]

    Quote Originally Posted by yellow1912 View Post
    On a side note, I notice that when ZC is placed under subfolder, some of you set configure.php like this:

    Code:
      define('HTTP_SERVER', 'http://www.site.com/subfolder');
      define('HTTPS_SERVER', 'https://secure.site.com/~username/subfolder');
    This may work in the normal ZC setting, but it will cause SSU to malfunction. You need to set like this:
    Code:
      define('HTTP_SERVER', 'http://www.site.com');
      define('HTTPS_SERVER', 'https://secure.site.com');
    
      define('DIR_WS_CATALOG', '/subfolder/');
      define('DIR_WS_HTTPS_CATALOG', '/~username/subfolder/');
    So basically, the http ones should contain only the domain name, no sub folders at all.
    Good information!

    Also, wanted to give a quick reason why some of us set it up that way. I found the zen-cart tutorial that guided me toward that. It's found here, if that matters.

    https://www.zen-cart.com/tutorials/index.php?article=14

    I just have to say thanks a billion for spending hours on helping me out with all this. Seriously, amazing support on this.

    cris
    Cris

 

 

Similar Threads

  1. v151 Simple SEO URLs for ZC 1.5.x [Support Thread]
    By cvhainb in forum All Other Contributions/Addons
    Replies: 46
    Last Post: 8 Jun 2022, 09:42 AM
  2. Simple SEO URL, Ultimate SEO URLs, Ceon URI Mapping SEO
    By pizza392 in forum All Other Contributions/Addons
    Replies: 13
    Last Post: 21 Jan 2015, 10:49 AM
  3. How do I tell what version my Simple SEO URL addon mod, and others, are?
    By kevinmc3 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 6 May 2010, 01:32 AM
  4. Can't create new thread in Simple SEO URL forum
    By gseiber in forum General Questions
    Replies: 1
    Last Post: 3 Apr 2010, 01:56 PM
  5. Re: Simple SEO URL [support thread]
    By creamcrackers in forum General Questions
    Replies: 2
    Last Post: 16 Aug 2009, 03:02 PM

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