Jump to content
Latest News: (loading..)

Search the Community

Showing results for tags 'htaccess'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • News and Announcements
    • News and Announcements
    • Partner Announcements
    • Ambassadors
  • Commercial Support
    • Developer Feedback
  • osCommerce Online Merchant v2.x
    • General Support
    • Installation and Configuration
    • Upgrading from Earlier Versions (v2.x to v2.x)
    • Add-Ons
    • Tips and Tricks
    • Security
  • Development
    • osCommerce Online Merchant v2.4
    • osCommerce Online Merchant Community Bootstrap Edition
    • osCommerce Online Merchant v3.x
    • Development Proposals
  • General
    • Next Steps / Optimizations / Marketing
    • Live Shop Reviews
    • E-Commerce Laws
    • General Discussions
    • PHP / SQL / Web Design
  • Club osC's Announcements
  • PayPal's Announcements
  • Sage Pay's Announcements
  • Solomono - new level osCommerce templates's Announcements
  • German Community's OSCOM v2.x
  • German Community's Allgemein
  • German Community's OSCOM v3.x

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



Real Name





Found 3 results

  1. Hi there i am looking for some help with how to combine parts of the below htaccess to make it more efficient At the moment any traffic to my site is redirected to https ... www, nonwww, etc So that all works fine. At the end of the code it redirects index.php to home All works just fine but if someone comes to index.php from nonwww or www or http it first redirects to https://www.mydomain/index.php and redirects again to https://www.mydomain i am trying to find a way to avoid the second hop. Doug :-> RewriteEngine On RewriteCond %{HTTPS} !on RewriteCond %{HTTP_USER_AGENT} !facebookexternalhit/[0-9] RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv $RewriteCond %{REQUEST_URI} !^/\.known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)? $RewriteRule ^(.*)$ https://www.domain/$1 [R=301,L] RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv $RewriteCond %{REQUEST_URI} !^/\.known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)? $RewriteRule ^(.*)$ https://www.domain/$1 [R=301,L] RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/ RewriteRule ^index\.php$ https://www.domain/ [R=301,L]
  2. Tsimi

    Shop redirect, htaccess

    What should go into my htaccess file if I need to have the following redirects. 1. From example.com to https:// www.example.com/store/ (added space after // to prevent showing it as URL link) and 2. From www.example.com to https:// www.example.com/store/ (added space after // to prevent showing it as URL link) and 3. force SSL on the whole store. I think #3 can be done by adding https on HTTP_SERVER and HTTPS_SERVER inside the configure.php file.
  3. zefeena

    Website gone strange!

    The website is doing all sorts of strange things. Customers are being constantly logged out, and the site is freezing all the time.I am also finding that if I delete an item it doesn't delete, so suspect this is a database issue. I got in touch with the host and the advice was as below. I have no idea where to find the file they are talking about, I cannot see anything called that, and why all of a sudden is there a problem, it was fine last week and I haven't touched the coding in years! any help would be appreciated, thanks I would suggest to disable the cache.You need to add in the root directory of the website the following code in the .htaccess file to disable mod security:<IfModule mod_security.c>SecFilterEngine OffSecFilterScanPOST Off</IfModule>Please put in your .htaccess file this code to disable the cache:<IfModule LiteSpeed>CacheDisable public /CacheDisable private /</IfModule>