Jump to content

Search the Community

Showing results for tags 'htaccess'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News and Annoucement
    • Latest news for community
  • ClicShoppingV3
    • Documentation
    • Installation & Configuration & Operation
    • Community Developement
    • Best pratices / tip / trips and training
  • General
    • Optimization / Marketing
    • General discussions
    • Archives

Blogs

  • E-commerce General
  • ClicShopping

Product Groups

  • Ambassador
  • Partnership
  • Hosting plan

Categories

  • Apps
    • Apps Payment
    • Apps Configuration
    • Apps Shipping
    • Apps Catalog
    • Apps Communication
    • Apps Customers
    • Apps Marketing
    • Apps Orders
    • Apps Order Total
    • Apps Report
    • Apps Social Network
    • Apps Tools
    • Apps Web Service
  • Design
  • Template
    • modules_boxes
    • modules_products_info
    • modules_front_page
    • modules_footer
    • modules_header
    • modules_index_categories
    • modules_account_customers
    • modules_products_featured
    • modules_products_heart (favorites)
    • modules_blog
    • modules_blog_content
    • modules_checkout_confirmation
    • modules_checkout_payment
    • modules_checkout_shipping
    • modules_checkout_success
    • modules_tell_a_friend
    • modules_contact_us
    • modules_create_account
    • modules_create_account_pro
    • modules_advanced_search
    • modules_login
    • modules_products_listing
    • modules_products_new
    • modules_products_reviews
    • modules_products_search
    • modules_products_special
    • modules_shopping_cart
    • modules_sitemap
    • Autres modules
  • Hooks
    • Hooks Admin
    • Hooks Shop
  • Languages
  • Modules
    • Modules Export
    • Modules Imports
    • Modules Others
    • Modules Dashboard

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 3 results

  1. The version 3.323 allows to use htaccess to rewrite the url. To use this function you must activate in Shop/SEO urls this 2 options 1 - Use Search-Engine Safe Native URLs this option rewrites the url like this : https://demo.clicshopping.org/index.php/Products/Description/logitech-trackman-marble-mouse/Id-12 and 2- Use Search-Engine Safe URLs Pro (with htaccess) This option rewrites the url like this : https://demo.clicshopping.org/Products/Description/logitech-trackman-marble-mouse/Id-12 To use the last option, you must include inside your root an htaccess with this syntax. Of course, it can updated in function of your server. note : This option works only on the catalog without customer, if your are logged you will see the url above. It's optimized only for the search engine. For apache 2.4 ################################## # url rewiting #improve url rewriting #work fine without directory https://mydomain.com/test/index.php #the rewriting must be activated inside the application # uncomment ################################## <IfModule mod_rewrite.c> RewriteEngine On DirectorySlash Off # # Remove WWW # RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC] RewriteRule ^ https://%1%{REQUEST_URI} [R=302,L] # # Remove Trailing Slashes # RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{THE_REQUEST} \s(.+?)//+[?\s] RewriteRule ^ %1 [R=302,L] # # Reroute to index.php # RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L] </IfModule>
  2. Hello, A little tutorial to help you to include some interesting element inside your .htaccess and increase the website security. I take also, the ClicShopping .htaccess inside this tutorial. Link can help you : https://htaccessbook.com/increase-security-x-security-headers/ ################################## # Security # Be carefull approach is different : Linux, Ngix, IIS # Below for linux ################################## <IfModule mod_headers.c> # prevent mime based attacks Header set X-Content-Type-Options "nosniff" # XSS Protection Header set X-XSS-Protection "1; mode=block" #X Frame Header always set X-FRAME-OPTIONS "DENY" </IfModule> About the bot ################################## # Bot ################################## ##Rules to block bad bods from accessing web pages on your site. ##Remove or add more rules as per your needs. BrowserMatchNoCase "Baiduspider" bots BrowserMatchNoCase "SemrushBot" bots BrowserMatchNoCase "Yandex" bots BrowserMatchNoCase "BLEXBot" bots BrowserMatchNoCase "AhrefsBot" bots BrowserMatchNoCase "DotBot" bots BrowserMatchNoCase "Exabot" bots BrowserMatchNoCase "SeznamBot" bots BrowserMatchNoCase "aiHitBot" bots BrowserMatchNoCase "spbot" bots BrowserMatchNoCase "MJ12bot" bots BrowserMatchNoCase "oBot" bots BrowserMatchNoCase "DeuSu" bots BrowserMatchNoCase "ia_archiver" bots BrowserMatchNoCase "MetaURI" bots BrowserMatchNoCase "FlipboardProxy" bots Order Allow,Deny Allow from ALL Deny from env=bots caching schema ################################## #Caching schema ################################## <IfModule mod_headers.c> Header unset ETag Header unset Last-Modified </IfModule> ## EXPIRES CACHING ## ## https://gtmetrix.com/leverage-browser-caching.html ## <IfModule mod_expires.c> ExpiresActive On ExpiresDefault "access plus 1 month" ExpiresByType image/gif "access plus 1 month" ExpiresByType image/jpeg "access plus 1 month" ExpiresByType image/png "access plus 1 month" ExpiresByType image/webp "access plus 1 month" ExpiresByType text/css "access plus 1 week" ExpiresByType text/javascript "access plus 1 week" ExpiresByType application/javascript "access plus 1 week" ExpiresByType application/x-javascript "access plus 1 week" ExpiresByType image/x-icon "access plus 1 year" ExpiresByType image/svg+xml "access plus 1 year" ExpiresByType image/vnd.microsoft.icon "access plus 1 year" ExpiresByType application/font-woff "access plus 1 year" ExpiresByType application/x-font-woff "access plus 1 year" ExpiresByType font/woff2 "access plus 1 year" ExpiresByType application/vnd.ms-fontobject "access plus 1 year" ExpiresByType font/opentype "access plus 1 year" ExpiresByType font/ttf "access plus 1 year" ExpiresByType font/otf "access plus 1 year" ExpiresByType application/x-font-ttf "access plus 1 year" ExpiresByType application/x-font-otf "access plus 1 year" ExpiresByType text/css "access plus 1 year" ExpiresByType application/javascript "access plus 1 year" </IfModule> Apache 2.4 ################################## #apache 2.4 ################################## <IfModule mod_version.c> <IfModule mod_filter.c> <IfVersion >= 2.4> FilterDeclare COMPRESS FilterProvider COMPRESS DEFLATE "%{Content_Type} = 'text/html'" FilterProvider COMPRESS DEFLATE "%{Content_Type} = 'text/css'" FilterProvider COMPRESS DEFLATE "%{Content_Type} = 'text/plain'" FilterProvider COMPRESS DEFLATE "%{Content_Type} = 'text/xml'" FilterProvider COMPRESS DEFLATE "%{Content_Type} = 'text/x-component'" FilterProvider COMPRESS DEFLATE "%{Content_Type} = 'application/javascript'" FilterProvider COMPRESS DEFLATE "%{Content_Type} = 'application/json'" FilterProvider COMPRESS DEFLATE "%{Content_Type} = 'application/xml'" FilterProvider COMPRESS DEFLATE "%{Content_Type} = 'application/xhtml+xml'" FilterProvider COMPRESS DEFLATE "%{Content_Type} = 'application/rss+xml'" FilterProvider COMPRESS DEFLATE "%{Content_Type} = 'application/atom+xml'" FilterProvider COMPRESS DEFLATE "%{Content_Type} = 'application/vnd.ms-fontobject'" FilterProvider COMPRESS DEFLATE "%{Content_Type} = 'image/svg+xml'" FilterProvider COMPRESS DEFLATE "%{Content_Type} = 'image/x-icon'" FilterProvider COMPRESS DEFLATE "%{Content_Type} = 'application/x-font-ttf'" FilterProvider COMPRESS DEFLATE "%{Content_Type} = 'font/opentype'" FilterChain COMPRESS FilterProtocol COMPRESS DEFLATE change=yes;byteranges=no </IfVersion> </IfModule> </IfModule>
  3. For moment, some badbots can very aggressive. There a solution to block this elements via your htaccess ################################## # Bot ################################## #Rules to block bad bods from accessing web pages on your site. #Remove or add more rules as per your needs. BrowserMatchNoCase "Baiduspider" bots BrowserMatchNoCase "SemrushBot" bots BrowserMatchNoCase "Yandex" bots BrowserMatchNoCase "BLEXBot" bots BrowserMatchNoCase "AhrefsBot" bots BrowserMatchNoCase "DotBot" bots BrowserMatchNoCase "Exabot" bots BrowserMatchNoCase "SeznamBot" bots BrowserMatchNoCase "aiHitBot" bots BrowserMatchNoCase "spbot" bots BrowserMatchNoCase "MJ12bot" bots BrowserMatchNoCase "oBot" bots BrowserMatchNoCase "DeuSu" bots BrowserMatchNoCase "ia_archiver" bots BrowserMatchNoCase "MetaURI" bots BrowserMatchNoCase "FlipboardProxy" bots Order Allow,Deny Allow from ALL Deny from env=bots
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use