Example .htaccess Code Snippets

1 ano atrás
Here are some specific examples taken from the Htaccess Guide. Redirect Everyone Except IP address to alternate page [crayon-5a31e265c96b7090087619/] When developing sites This lets google crawl the page, lets me access without a password, and lets my client access the page WITH a password. ...

VirtualMin WordPress Nginx Permalinks

1 ano atrás
VirtualMin WordPress Nginx Permalinks If you want to use Virtualmin with nginx, there are two nice tutorials (Using Nginx with Virtualmin and Virtualmin with NGINX+PHP-FPM+OPCACHE). To get the WordPress permalinks to work, do the following: Go to Virtualmin > Services > Configure ...

9 Tips for Improving WordPress Performance

2 anos atrás
WordPress is the single largest platform for website creation and web application delivery worldwide. About a quarter of all sites are now built on open source WordPress software, including sites for eBay, Mozilla, RackSpace, TechCrunch, CNN, MTV, the New York Times, the Wall Street ...

Moving to HTTPS on WordPress

3 anos atrás
I just recently took CSS-Tricks “HTTPS everywhere”. That is, every URL on this site enforces the HTTPS (SSL) protocol. Non-secure HTTP requests get redirected to HTTPS. Here’s some notes on that journey. Why do it? General security. When you enforce HTTPS, you’re ...

How to Create a Custom Error 404 page for WordPres

3 anos atrás
This tutorial will teach you how to create an error 404 page for your WordPress powered site. If you already have an error 404 page you will learn how to make it a bit more user-friendly and dynamic. An error 404 is when a visitor tries to access a page that does not exist. Sometimes people ...

60 brilliant WordPress tutorials

3 anos atrás
Want to build a new website, or add something new to your existing one? Then check out these awesome WordPress tutorials… WordPress is the world’s most popular publishing platforms, and it’s currently estimated to power 17.6 per cent of all websites. It’s highly customisable, very easy to ...

6 truques básicos do functions.php do WordPress

4 anos atrás
O functions.php é o arquivo de funções do seu tema. É nele que você habilita os menus, cria widgets e define uma série de configurações dos temas de WordPress. Essas são 5 pequenos truques que uso nos meus projetos em WordPress. Como tirar a barra de admin Eu odeio aquela barra de ...

14 WORDPRESS COMING SOON & MAINTENANCE MODE PL

4 anos atrás
When you start developing a WordPress site – no matter if for a client or a private project – chances are you want to see how your site may look in a real environment but without letting regular users see your unfinished work. This is where ‘Coming Soon’ pages come into play. So here are 14 ...

Why custom post types belong in plugins

4 anos atrás
Just to be clear before continuing, this article specifically deals with publicly-distributed themes and plugins, whether free or commercial. It may not apply to some custom work. What’s best for your client will have to be decided on a case-by-case basis. I and others in the WordPress ...

The Complete Guide to Proper JavaScript Usage With

4 anos atrás
I remember thinking “What the heck do we need JavaScript for, when we have Flash?” when I was fourteen. Although I still remember how I enjoyed coding stuff with ActionScript 2.0 back then, I saw how much one can achieve with JavaScript and fell in love with it. I’m not an expert on ...

The WordPress Coding Standards: Bringing It All To

4 anos atrás
When it comes to writing a series of blog posts, one of the most challenging aspects as a reader is actually keeping up with every post that is published. Even if you do manage to try and keep up, posts that are in excess of 1,000 words – especially those that include code – can take time ...

The WordPress Coding Standards: Database Queries a

4 anos atrás
Aside from the summary that we’re going to be providing as the last article in this series, this is the last explication of the WordPress Coding Standards that we’re going to be covering in this series. We’re going to be covering the nuances of database queries and how to format SQL within ...

The WordPress Coding Standards: The Ternary Operat

4 anos atrás
At this point in the series, we’ve covered a lot of ground. Up to now, we’ve discussed the following topics: Naming Conventions and Function Arguments The Use of Single Quotes and Double Quotes Indentation, Space Usage, and Trailing Spaces Brace Style, Regular Expressions, and PHP Tags Lots ...

The WordPress Coding Standards: Braces, Regular Ex

4 anos atrás
In this series, we’ve been taking a deep dive into the WordPress Coding Standards in order to get the word out about them, understand them, and begin to practically apply them in our day-to-day work. If you’re just joining the series, so far we’ve covered the following topics: Naming ...

The WordPress Coding Standards: Indentation, Space

5 anos atrás
The entire purpose of this series to help expose the WordPress Coding Standards, why they matter, and how to write quality WordPress code. In order to do this, we’re taking an in-depth look at each section of the WordPress Coding Standards. So far, we’ve covered: Naming Conventions and ...

The WordPress Coding Standards: Single Quotes and

5 anos atrás
In this series, we’re taking a look at the WordPress PHP Coding Standards in order further understand how quality WordPress code should be written. Sure, all of this is documented in the WordPress Coding Standards and it’s a site that every WordPress developer should have bookmarked and on ...

The WordPress Coding Standards: Naming Conventions

5 anos atrás
In this series, we’re taking a deep dive into the WordPress Coding Standards – specifically, the PHP coding standards – in order to evangelize and understand how quality WordPress code should be written. Despite the fact that this is documented within the WordPress Developer Handbook, I ...

The WordPress Coding Standards: An Introduction

5 anos atrás
When it comes to building WordPress-based products, we’re somewhat cursed (or blessed, depending on how you see it), with a double-edged sword: Because WordPress is written in PHP, it’s relatively easy to get WordPress – or the project itself – to do whatever it is we want to do all the ...

10 Elegant AJAXED WordPress Themes

5 anos atrás
Ajax (Asynchronous JavaScript And XML) is a valuable tool becoming more and more popular within web design. Its effective, exciting for users, and works well with responsive designs. The purpose of Ajax is to allow a web page to update without having to reload the page which speeds up your ...

WordPress Cheat Sheets: Template Heirarchy Map

6 anos atrás
Next in line for our WordPress Cheat Sheet series, The Template Hierarchy Mapl! If you haven’t seen the first posts in this series, this is a new batch of these quick pocket guides that you guys n’ gals can download, save to your phones for a fast reference, or even print out and keep next ...