Skip to content

Logic Bytes

Spread Your Knowledge

  • Home
  • How To
  • PHP
    • Cakephp
    • WordPress
    • CodeIgniter
    • Laravel
  • Python
    • Django
    • Flask
  • Contact

Htaccess

General / Htaccess / WordPress

Redirect a WordPress site from non-WWW to WWW

September 29, 2018October 8, 2018 Chandan SharmaComment on Redirect a WordPress site from non-WWW to WWW

How to redirect your WordPress site’s domain from non-www to www or vice versa. If you go to https://www.wordpress.org, you’ll see the URL changes a …

Read More
CodeIgniter / Htaccess / HTML / PHP

Disable cache in server using htaccess

February 5, 2018 Chandan SharmaComment on Disable cache in server using htaccess

Disable cache in server using htaccess after refreshing showing same page in Codeigniter, after logout in showing active sessions again in codeigniter, stores in caching …

Read More
CodeIgniter / Htaccess / PHP

PageSpeed: Leverage browser caching

November 30, 2017 Chandan SharmaComment on PageSpeed: Leverage browser caching

PageSpeed: Leverage browser caching Find your .htaccess file in the root of your domain. This file is a hidden file but should show up in …

Read More
CodeIgniter / Htaccess / PHP

.htaccess redirect http to https

November 8, 2017 Chandan SharmaComment on .htaccess redirect http to https

use the following to redirect all pages of my domain from http to https: RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

Read More
CodeIgniter / Htaccess / PHP

Redirect all url with a query string in php

October 29, 2017 Chandan SharmaComment on Redirect all url with a query string in php

<IfModule mod_rewrite.c>     RewriteEngine On     RewriteCond %{QUERY_STRING} !(^|&)testing=true(&|$) [NC]     RewriteRule ^ %{REQUEST_URI}?testing=true [L,QSA,R]     RewriteCond %{REQUEST_FILENAME} !-f     …

Read More
CodeIgniter / Htaccess / PHP

Append a query string to any url requested from my website in Codeigniter

October 12, 2017 Chandan SharmaComment on Append a query string to any url requested from my website in Codeigniter

Append a query string to any url requested from my website in Codeigniter. Example. Url will look LikeExample. Url will look Like example.com example.com/product example.com/search?q=string …

Read More
CodeIgniter / Htaccess / PHP

Routing using htaccess

May 20, 2017 Chandan SharmaComment on Routing using htaccess

RewriteEngine on RewriteBase / ###Maintainance ## RewriteRule ^maintainanace/$ maintain.php RewriteRule ^logout/$ logout.php RewriteRule ^logout$ logout.php RewriteRule ^products/([^/]*)/([^/]*)/$ products.php?slug=$1&id=$2 [L]

Read More
Article / Htaccess

Htaccess help

May 17, 2017 Chandan SharmaComment on Htaccess help

http://serverfault.com/questions/99050/how-do-you-do-wildcard-subdomains/99051 https://www.google.co.in/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=wild+card+subdomain+htaccess&*

Read More

Recent Posts

  • Python Automation Framework-PyUnit (Unittest) Framework
  • Python Automation Framework-TestProject Framework
  • Python Automation Framework-Pytest Framework
  • Python Automation Framework-Lettuce Framework
  • Python Automation Framework-Behave Framework:
  • Top Python Testing Automation Frameworks in 2024
  • Visual Studio Code Keyboard Shortcut Editor
  • Visual Studio Code Keyboard Shortcuts
  • How to Remove Sidebar from Category Pages in WordPress?
  • Best Practices for API Responses

Automation Frameworks Automation Testing Behave Framework Blogger Blogspot Cakephp Cheat Sheets Code Editor CodeIgniter Code Navigation Collaborative Coding Debugging Tools Disable Mouse Right Click Domain Extension Editor Extension Full form Facebook Facebook Video Download IDE JavaScript JQuery Lettuce Framework Microsoft Code Editor Open-Source Code Editor PHP Pytest Framework Python Python-3.x Python Automation Python Automation Frameworks Python Automation Testing Python Pytest Framework Python Testing Frameworks Python TestProject Framework Python Unittest Framework Syntax Highlighting Testing Frameworks Text Editor for Developers Visual Code Visual Code Editor Visual Studio Code Visual Studio Code Cheat Sheet VSCode VSCodeEditor WordPress

Copyright © 2026 Logic Bytes.
Powered by WordPress and PridMag.