Jump to content
Latest News: (loading..)

yomama360

Members
  • Content count

    96
  • Joined

  • Last visited

2 Followers

Profile Information

Recent Profile Visitors

6,421 profile views
  1. yomama360

    SSL on every page.

    Thanks... In your second example, what would https://www.example.com trigger?
  2. yomama360

    SSL on every page.

    Awesome, thanks again. (I probably could have guessed that, but wanted to be sure). Another ignorant question: you are using {HTTP_HOST}, is there a difference from {HTTPS_HOST} ? If I want to make everything https and non-www I assume my code in the .htaccess should look like this: (and put it before other rewrites) RewriteEngine On # switch all to https RewriteCond %{HTTPS} !on RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] # Remove www from any URLs that have them: RewriteCond %{HTTPS_HOST} ^www\. RewriteRule ^(.*)$ https://example.com/$1 [R=301,L] Is this correct? Should I remove www first before switching to the https? Would this kill subdomains?
  3. yomama360

    SSL on every page.

    Very awesome thanks. @frankl the linked forum also talked about forcing a redirect to www. Incidentally I want to force a redirect to non-www. How do I do that? Thanks.
  4. yomama360

    SSL on every page.

    I'm a little late in the game on this one. What is the easiest way to make every page switch to https? It switches fine when people go to log in, just wondering if there is a quick, easy way to do it for all pages. Thanks
  5. Strange, so it must be a server setting somewhere. It's the same server, only thing we changed was the PHP version and it worked on PHP 5.3 but not 5.4. As far as I can tell mod_rewrite is enabled. Do you know what other settings need to be on? Thanks -------- @@Tsimi The catalog is in the root of our public_html directory. My RewriteBase path is: RewriteBase / Anything else breaks it. Again, it works file like this if PHP version is 5.3 Arigato gozaimashita -------------- Upon re-reading PHP.net makes the distinction that "call-time pass-by-reference" is deprecated. So apparently a parameter received by reference by a function is still ok.
  6. Is this not in the latest version of seo.class.php? Do a search in seo.class.php for "passed by reference" or "&$" and there are about 8 or 9 references to it. We would love to be able to use PHP 5.4. Is there something else we're doing wrong? Missing a library perhaps? On the same server we run php 5.4, and it only gives the "yourwebsite.com/-p-27.html" URLs. Switching our php to 5.3 makes it work correctly producing "yourwebsite.com/product-name-p-27.html" URLs. The category URLs also do not work on the new PHP. Thanks
  7. Might have something to do with the PHP version. So if the new server is running PHP 5.4 then you will have problems because it looks like quite a few of the functions in the seo.class.php are doing pass-by-reference which is now deprecated. We rolled our Apache server from PHP 5.4 to PHP 5.3 and it works now. We are going to update the seo.class code and see if we can make it work on PHP 5.4
  8. yomama360

    ULTIMATE Seo Urls 5 - by FWR Media

    Update: for anyone in the same boat as me above. I went with the "Ultimate SEO URLs" (by Chemo) mod that this (FWR Media) mod is based on. It's found here: http://addons.oscommerce.com/info/2823 The latest version of Chemo's mod (16 Jan, 2015) installed smoothly on my osC 2.3.4 cart with no conflicts. I'd still be interested if anyone makes this FWR Media work with 2.3.4 in the future.
  9. yomama360

    ULTIMATE Seo Urls 5 - by FWR Media

    Searched and scoured this forum and surprised no one else has this question / concern (or I couldn't find it). I have a 2.3.4 cart. On step 5 of the install for catalog/includes/application_top.php it says to find this code: // set php_self in the local scope $PHP_SELF = (((strlen(ini_get('cgi.fix_pathinfo')) > 0) && ((bool)ini_get('cgi.fix_pathinfo') == false)) || !isset($HTTP_SERVER_VARS['SCRIPT_NAME'])) ? basename($HTTP_SERVER_VARS['PHP_SELF']) : basename($HTTP_SERVER_VARS['SCRIPT_NAME']); But in my version all I can find is this: // set php_self in the local scope $req = parse_url($HTTP_SERVER_VARS['SCRIPT_NAME']); $PHP_SELF = substr($req['path'], ($request_type == 'NONSSL') ? strlen(DIR_WS_HTTP_CATALOG) : strlen(DIR_WS_HTTPS_CATALOG)); I did a site wide search and cannot find anything that matches the "find this" code. I do have some mods, but they don't affect this code. I even checked a vanilla install of 2.3.4 and don't see that "find this" code. Should I just override it and move forward, or are there things I need to change so it works with 2.3.4? Anyone got this working error free on 2.3.4? Thanks
  10. yomama360

    Master Products - MS2

    @@Tsimi Konnichawa, Thanks for your concern. I am good now. I solicited help in the commercial forums and someone smarter and faster than me got it taken care of.
  11. Is there a better form for asking about a combination of mods? (note: we are using this bootstrap mod as our base, hence the reason for posting here.) Thanks
  12. Anyone try to install Master Products with bootstrap? First off, thanks to Burt et.all for this awesome contribution. We are doing a fresh install of an old site then porting everything over. So far we have no mods yet, but am trying to install Master Products: http://addons.oscommerce.com/info/7738 Running into a lot of issues. Been trouble shooting since last week. Just wondering if anyone's pulled it off and if you have tips.
  13. yomama360

    Master Products - MS2

    With Bootstrap Anyone try to install this with Burts Bootstrap version of OSC? http://forums.oscommerce.com/topic/396152-bootstrap-3-in-2334-responsive-from-the-get-go/ (were actually using his v2.3.4) Running into a lot of issues. Been trouble shooting since last week. Just wondering if anyone's pulled it off and if you have tips.
×