# Remove index.php$
if ($request_uri ~* "^(.*/)index\.php$") {
return 301 $1;
}
location / {
try_files $uri $uri/ /index.php?$query_string;
# Remove from everywhere index.php
if ($request_uri ~* "^(./)index.php(/?)(.)") {
| /** @type {import('tailwindcss').Config} */ | |
| module.exports = { | |
| content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'], | |
| theme: { | |
| extend: { | |
| animation: { | |
| fade: 'fadeIn .5s ease-in-out', | |
| }, |
| <?php | |
| /** | |
| * Remove Divi sidebar from all WooCommerce Product pages (as well as Shop and Category pages) | |
| */ | |
| function mytheme_divi_output_content_wrapper_end() { | |
| echo ' | |
| </div> <!-- #left-area --> | |
| </div> <!-- #content-area --> | |
| </div> <!-- .container --> |
| RewriteRule "(^|/)\.(?!well-known\/)" - [F] |
# Remove index.php$
if ($request_uri ~* "^(.*/)index\.php$") {
return 301 $1;
}
location / {
try_files $uri $uri/ /index.php?$query_string;
# Remove from everywhere index.php
if ($request_uri ~* "^(./)index.php(/?)(.)") {
type below:
brew update
brew install redis
To have launchd start redis now and restart at login:
brew services start redis
| # ------------------------------------------------------------ | |
| # Set paths | |
| # ------------------------------------------------------------ | |
| export PATH=/usr/local/bin:$PATH | |
| export WP_CLI_PHP="/Applications/MAMP/bin/php5.2/bin/php" | |
| # ------------------------------------------------------------ | |
| # Add color to the terminal | |
| # ------------------------------------------------------------ | |
| export CLICOLOR=1 |