Content of the page

admin

CEO
Website

All posts by admin

.htaccess 301 redirect

If you changed a post permalink and you want to let old one works fine, in your WordPress site .htaccess file add next line:

Where ‘/about’ is old relative URL and ‘http://example.com/about-me’ new URL  

Memory and time limits for wordpress

Using next code in wp-config.php file is possible to allow WordPress use more memory for its processes and increase the process performance time:

Wrap all items of array in quotes – PHP

If we have associative PHP array and its necessary print it in JavaScript array, we ca use next PHP code: