SlideShare ist ein Scribd-Unternehmen logo
1 von 23
Downloaden Sie, um offline zu lesen
WordPress!
You’re Doing
It Wrong
WordPress! You’re doing it wrong | 1/23 | www.pantso.gr | @pantso
Yet another WordPress guy! (who am I?)
WordPress! You’re doing it wrong | 2/23 | www.pantso.gr | @pantso
My name is Panagiotis Grigoropoulos (although I hear
to Panos and Pantso as well), I am a Front-End Designer
& Developerand I live in Athens,Greece.I studied Video
Game Programming,Application Programming,and I
also have a bachelor at Computer Science from
Roehampton University of London with amajor in Web &
Multimedia.
The tools of my trade are HTML, CSS, jQuery,Photoshop
and WordPress.I currentlyworkfor AtcomS.A and I
also maintain GreekTuts.net where I share parts of my
knowledge.
Enough about me I’m startingto blush!Let’s move on…
Things you’re doing wrong : 1. The Database Prefix
WordPress! You’re doing it wrong | 3/23 | www.pantso.gr | @pantso
ALWAYS change the Table Prefix.
And don’t be afraid to try somethinglike
ifyoucanfindthisthenyouarefreetohackme_
Prefixes can be 1000 bytes long !!!
Things you’re doing wrong : 2. PHPinfo
WordPress! You’re doing it wrong | 4/23 | www.pantso.gr | @pantso
Don’t allow visitors to see your phpinfo.php file.
HOW TO DO IT
Just open your .htaccess file
and write the following lines:
<Files php-info.php>
Order Deny,Allow
Deny from all
</Files>
To allow a specific IP just fill in:
Allow from 123.456.789
Things you’re doing wrong : 3. ReadMe.html
WordPress! You’re doing it wrong | 5/23 | www.pantso.gr | @pantso
Hide the readme.html file, so the visitors won’t know what version you’re running!
Even though most hacker attacks are deployed without scanning for the WordPress
version, it can’t hurt being cautious can it?
HOW TO DO IT
Just delete the file
readme.html that comes
with the WordPress
installation and voila!
HOW TO DO IT
Open your theme’s functions.php file and add the following line:
function remove_wp_version() {
return '';
}
add_filter('the_generator', remove_wp_version ');
If your theme for some reason comes without a functions.php file, just create it!
Things you’re doing wrong : 4. WordPress version
WordPress! You’re doing it wrong | 6/23 | www.pantso.gr | @pantso
For the same reason as the readme.html file, you should also hide the WordPress
version from the <head> of your site.
Things you’re doing wrong : 5. Kill the Admin (user)
WordPress! You’re doing it wrong | 7/23 | www.pantso.gr | @pantso
If you already have a WordPress website, and you are not up-to-date with the latest
WordPress version, consider removing the Admin user, or simply disable it.
NOTE: For v3.x users this is not necessary since during the installation, WordPress
asks for both username and password. Just avoid using the username Admin.
HOW TO DO IT
• To disable the admin user, you will need to first of all have an Administration
account (so you won’t get locked out) and then just go to Users panel in the
Administration panel, and turn the role of the user with username Admin to
subscriber.
• To completely remove the Admin user go to the Users panel in the Administration
panel, simply select the user with username Admin and delete it, attributing all
posts and links to your account.
Things you’re doing wrong : 6. Use the Editor correctly
WordPress! You’re doing it wrong | 8/23 | www.pantso.gr | @pantso
Many users believe that using WordPress is a walk in the park. And most of them are
kinda right! However, why not use WordPress in the way it was made to be used?
Things you’re doing wrong : 6. Use the Editor correctly
WordPress! You’re doing it wrong | 9/23 | www.pantso.gr | @pantso
One of the most annoying things for WordPress theme developers is the post
content formatting.
PERSONAL FAVORITE: THE MORE TAG
The more tag is used to create an excerpt of the full post content. Why not use the
actual excerpt that WordPress has for us?
Try developing this layout with a post that has
an image and some text followed by a more
tag in it’s content.
You will have to catch the image and save it,
parse and save the text, and then display it the
way you want.
NO! Simply open your screen options (right
top of the Administration Panel) and enable
the post excerpt! WordPress is not Word!
Things you’re doing wrong : 7. Don’t paste from Word
WordPress! You’re doing it wrong | 10/23 | www.pantso.gr | @pantso
WordPress (and almost every CMS on the planet) does not play well with Word
formatted text. So stop bringing all of Word’s garbage into your site!
Next time you need to
copy/paste content from a
Word file, think of using the
cute little Word icon in the
editor toolbar.
Paste, hit Insert, and you are
good to publish!
Things you’re doing wrong : 8. Not Using Featured Images
WordPress! You’re doing it wrong | 11/23 | www.pantso.gr | @pantso
Some people say that everything happens for a reason! In the Featured Images case,
that has been going along with WordPress from version 2.9 (known as Post
Thumbnail then) and later in version 3.X named Featured Image, the saying is
correct!
They do exists, so use them!
WHY USE THEM?
 One image to rule them all
 Easy resizing/cropping
 Easy upload
 Facebook friendly (with
og:image)
 Because it’s there!
Things you’re doing wrong : 9. Ugly permalinks
WordPress! You’re doing it wrong | 12/23 | www.pantso.gr | @pantso
In many cases users don’t mind the URL of their posts. Permanent links is one of the
best features in WordPress though! Make them readable, and user friendly!
First structure them correctly, in the Settings > Permalink Settings menu
Things you’re doing wrong : 9. Ugly permalinks
WordPress! You’re doing it wrong | 13/23 | www.pantso.gr | @pantso
And then take good care of them in every new post you make
Things you’re doing wrong : 10. Where is your Feed?
WordPress! You’re doing it wrong | 14/23 | www.pantso.gr | @pantso
WordPress offers the tools to spread the word of what’s going on in your website!
Why not harness that power? An RSS feed is the way and you should use it!
Make sure that one of the following URLs works
http://yourdomain.gr/?feed=rss
http:// yourdomain.gr /?feed=rss2
http:// yourdomain.gr /?feed=rdf
http:// yourdomain.gr /?feed=atom
When using custom permalinks, you should be able to find one of these:
http:// yourdomain.gr /feed/
http:// yourdomain.gr /feed/rss/
http:// yourdomain.gr /feed/rss2/
http:// yourdomain.gr /feed/rdf/
http:// yourdomain.gr /feed/atom/
The title of your pages is very important both to users and to search engines!
Give it a little facelift!
As an example, in your theme’s header.php file, try changing this:
<title><?php wp_title(''); ?></title>
to this:
<title>
<?php wp_title('&raquo;','true','right'); ?>
<?php if ( is_single() ) { ?> Blog Archive &raquo; <?php } ?>
<?php bloginfo('name'); ?>
</title>
Or you can try more combinations/information.
You can read more at http://codex.wordpress.org/Function_Reference/wp_title
Things you’re doing wrong : 11. Fix your site <title>
WordPress! You’re doing it wrong | 15/23 | www.pantso.gr | @pantso
Things you’re doing wrong : 12. Fix your image alt tags
WordPress! You’re doing it wrong | 16/23 | www.pantso.gr | @pantso
One of the things that people tend not to do, is bothering with image alt tags.
Apart from the fact that they are an HTML standard, so their absence instantly
means invalid code (for whoever cares), not using them means that you are not
helping crawlers “see” your images as part of your content.
Spend some seconds
into naming your
content images right
from the editor.
Just click on an image
in your content, click
the “Edit Image” icon,
and enter an
Alternative description.
Things you’re doing wrong : 13. Use the Media Gallery
WordPress! You’re doing it wrong | 17/23 | www.pantso.gr | @pantso
Don’t ever copy paste images from other websites right into the WordPress text
editor. First of all you are hot linking and secondly you are not using one of the best
features of WordPress! The media gallery.
WHY USE MEDIA GALLERY
 All your images in one place
 Easily create galleries
 Control image attributes
 Drag & Drop upload
 Edit image information
 Easily edit images
 Global media control
One of the best things about CDNed scripts is that because many people use them in
their websites, many of your visitors may have already downloaded them from visiting
another site.
Also the speed of a CDN is most of the times faster than your server. Deal with it!
So instead of sending your users the jQuery core file all over again, just give them:
<script type="text/javascript" src="http://code.jquery.com/jquery-2.0.2.min.js"></script>
and instead of making them download your webfont, let them get:
<link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
That way you gain, both speed, and you get a big load off your server!
Things you’re doing wrong : 14. Use CDNed Scripts
WordPress! You’re doing it wrong | 18/23 | www.pantso.gr | @pantso
Things you’re doing wrong : 15. Update WordPress
WordPress! You’re doing it wrong | 19/23 | www.pantso.gr | @pantso
We all know it and have
heard it many times!
Well don’t just stand there!
UPDATE NOW!
Things you’re doing wrong : 15. Update WordPress
WordPress! You’re doing it wrong | 20/23 | www.pantso.gr | @pantso
Why update?
 Keep up-to-date with bug fixes and security patches
 Get all the new cool WordPress features
 Keep hackers away (well at least have a good shot)
 Stay up-to-date with latest plugin functionality
 Close shut plugin security holes
 Because Google says you should!
More on codex.wordpress.org/Updating_WordPress
AND ALSO…
Things you’re doing wrong : 15. Update WordPress
WordPress! You’re doing it wrong | 21/23 | www.pantso.gr | @pantso
Each time an Admin ignores a WordPress
update notification, a kitten dies!
HOW CRUEL CAN YOU BE?
WordPress! You’re doing it wrong | 22/23 | www.pantso.gr | @pantso
THANK YOU
FOR YOUR TIME
…and remember!
Use WordPress and use it right!
Shameless Promotion
WordPress! You’re doing it wrong | 23/23 | www.pantso.gr | @pantso
www.greektuts.net
Also find me around the web
www.pantso.gr
fb.com/pantso
twitter.com/pantso
dribbble.com/pantso
linkedin.com/in/pantso

Weitere ähnliche Inhalte

Was ist angesagt?

Pimp my Blog - Wordpress für Fortgeschrittene
Pimp my Blog - Wordpress für FortgeschrittenePimp my Blog - Wordpress für Fortgeschrittene
Pimp my Blog - Wordpress für FortgeschritteneRobert Seyfriedsberger
 
Introducing asp.net web pages 2
Introducing asp.net web pages 2Introducing asp.net web pages 2
Introducing asp.net web pages 2Uh-meet Thapa
 
Prabhanjan Panigrahi
Prabhanjan PanigrahiPrabhanjan Panigrahi
Prabhanjan PanigrahiAnirban Saha
 
HTML5@电子商务.com
HTML5@电子商务.comHTML5@电子商务.com
HTML5@电子商务.comkaven yan
 
40 WordPress Tips: Security, Engagement, SEO & Performance - SMX Sydney 2013
40 WordPress Tips: Security, Engagement, SEO & Performance - SMX Sydney 201340 WordPress Tips: Security, Engagement, SEO & Performance - SMX Sydney 2013
40 WordPress Tips: Security, Engagement, SEO & Performance - SMX Sydney 2013Bastian Grimm
 
Avoiding Errors: Troubleshoot Wordpress like a Pro!
Avoiding Errors: Troubleshoot Wordpress like a Pro!Avoiding Errors: Troubleshoot Wordpress like a Pro!
Avoiding Errors: Troubleshoot Wordpress like a Pro!J_Cortes
 
GoCoding.Today For Rails - Episode1
GoCoding.Today For Rails - Episode1GoCoding.Today For Rails - Episode1
GoCoding.Today For Rails - Episode1Brian Hu
 
Complete WordPress Step-By-Step Training System In A WordPress Plugin
Complete WordPress Step-By-Step Training System In A WordPress PluginComplete WordPress Step-By-Step Training System In A WordPress Plugin
Complete WordPress Step-By-Step Training System In A WordPress PluginWPTrainMe.com
 
Stefan Judis "Did we(b development) lose the right direction?"
Stefan Judis "Did we(b development) lose the right direction?"Stefan Judis "Did we(b development) lose the right direction?"
Stefan Judis "Did we(b development) lose the right direction?"Fwdays
 
Conquering Code with hjc
Conquering Code with hjcConquering Code with hjc
Conquering Code with hjchjc
 
Hardening WordPress - Friends of Search 2014 (WordPress Security)
Hardening WordPress - Friends of Search 2014 (WordPress Security)Hardening WordPress - Friends of Search 2014 (WordPress Security)
Hardening WordPress - Friends of Search 2014 (WordPress Security)Bastian Grimm
 
Hardening WordPress - SAScon Manchester 2013 (WordPress Security)
Hardening WordPress - SAScon Manchester 2013 (WordPress Security)Hardening WordPress - SAScon Manchester 2013 (WordPress Security)
Hardening WordPress - SAScon Manchester 2013 (WordPress Security)Bastian Grimm
 
My Learning Style Presentation
My Learning Style PresentationMy Learning Style Presentation
My Learning Style Presentationguest16e403
 
JavaScript with Adobe applications - Acceleration web development!
JavaScript with Adobe applications - Acceleration web development!JavaScript with Adobe applications - Acceleration web development!
JavaScript with Adobe applications - Acceleration web development!shinobu tsutsui
 
5 things to know before updating word press version
5 things to know before updating word press version5 things to know before updating word press version
5 things to know before updating word press versionNishant Desai
 
The Death of Lorem Ipsum & Pixel Perfect Content
The Death of Lorem Ipsum & Pixel Perfect ContentThe Death of Lorem Ipsum & Pixel Perfect Content
The Death of Lorem Ipsum & Pixel Perfect ContentDave Olsen
 
Rails is not enough, by Javier Ramirez, at Conferencia Rails 2010 in Madrid, ...
Rails is not enough, by Javier Ramirez, at Conferencia Rails 2010 in Madrid, ...Rails is not enough, by Javier Ramirez, at Conferencia Rails 2010 in Madrid, ...
Rails is not enough, by Javier Ramirez, at Conferencia Rails 2010 in Madrid, ...javier ramirez
 

Was ist angesagt? (18)

Pimp my Blog - Wordpress für Fortgeschrittene
Pimp my Blog - Wordpress für FortgeschrittenePimp my Blog - Wordpress für Fortgeschrittene
Pimp my Blog - Wordpress für Fortgeschrittene
 
Introducing asp.net web pages 2
Introducing asp.net web pages 2Introducing asp.net web pages 2
Introducing asp.net web pages 2
 
Prabhanjan Panigrahi
Prabhanjan PanigrahiPrabhanjan Panigrahi
Prabhanjan Panigrahi
 
HTML5@电子商务.com
HTML5@电子商务.comHTML5@电子商务.com
HTML5@电子商务.com
 
40 WordPress Tips: Security, Engagement, SEO & Performance - SMX Sydney 2013
40 WordPress Tips: Security, Engagement, SEO & Performance - SMX Sydney 201340 WordPress Tips: Security, Engagement, SEO & Performance - SMX Sydney 2013
40 WordPress Tips: Security, Engagement, SEO & Performance - SMX Sydney 2013
 
Avoiding Errors: Troubleshoot Wordpress like a Pro!
Avoiding Errors: Troubleshoot Wordpress like a Pro!Avoiding Errors: Troubleshoot Wordpress like a Pro!
Avoiding Errors: Troubleshoot Wordpress like a Pro!
 
GoCoding.Today For Rails - Episode1
GoCoding.Today For Rails - Episode1GoCoding.Today For Rails - Episode1
GoCoding.Today For Rails - Episode1
 
Complete WordPress Step-By-Step Training System In A WordPress Plugin
Complete WordPress Step-By-Step Training System In A WordPress PluginComplete WordPress Step-By-Step Training System In A WordPress Plugin
Complete WordPress Step-By-Step Training System In A WordPress Plugin
 
Stefan Judis "Did we(b development) lose the right direction?"
Stefan Judis "Did we(b development) lose the right direction?"Stefan Judis "Did we(b development) lose the right direction?"
Stefan Judis "Did we(b development) lose the right direction?"
 
Conquering Code with hjc
Conquering Code with hjcConquering Code with hjc
Conquering Code with hjc
 
Hardening WordPress - Friends of Search 2014 (WordPress Security)
Hardening WordPress - Friends of Search 2014 (WordPress Security)Hardening WordPress - Friends of Search 2014 (WordPress Security)
Hardening WordPress - Friends of Search 2014 (WordPress Security)
 
Hardening WordPress - SAScon Manchester 2013 (WordPress Security)
Hardening WordPress - SAScon Manchester 2013 (WordPress Security)Hardening WordPress - SAScon Manchester 2013 (WordPress Security)
Hardening WordPress - SAScon Manchester 2013 (WordPress Security)
 
My Learning Style Presentation
My Learning Style PresentationMy Learning Style Presentation
My Learning Style Presentation
 
JavaScript with Adobe applications - Acceleration web development!
JavaScript with Adobe applications - Acceleration web development!JavaScript with Adobe applications - Acceleration web development!
JavaScript with Adobe applications - Acceleration web development!
 
5 things to know before updating word press version
5 things to know before updating word press version5 things to know before updating word press version
5 things to know before updating word press version
 
Wordpress Guide
Wordpress GuideWordpress Guide
Wordpress Guide
 
The Death of Lorem Ipsum & Pixel Perfect Content
The Death of Lorem Ipsum & Pixel Perfect ContentThe Death of Lorem Ipsum & Pixel Perfect Content
The Death of Lorem Ipsum & Pixel Perfect Content
 
Rails is not enough, by Javier Ramirez, at Conferencia Rails 2010 in Madrid, ...
Rails is not enough, by Javier Ramirez, at Conferencia Rails 2010 in Madrid, ...Rails is not enough, by Javier Ramirez, at Conferencia Rails 2010 in Madrid, ...
Rails is not enough, by Javier Ramirez, at Conferencia Rails 2010 in Madrid, ...
 

Ähnlich wie Word press!you're doing it wrong

Don't sh** in the Pool
Don't sh** in the PoolDon't sh** in the Pool
Don't sh** in the PoolChris Jean
 
How To Lock Down And Secure Your Wordpress
How To Lock Down And Secure Your WordpressHow To Lock Down And Secure Your Wordpress
How To Lock Down And Secure Your WordpressChelsea O'Brien
 
Introduction to WordPress Slides from WordCamp 2012 by Gary A. Bacon
Introduction to WordPress Slides from WordCamp 2012 by Gary A. BaconIntroduction to WordPress Slides from WordCamp 2012 by Gary A. Bacon
Introduction to WordPress Slides from WordCamp 2012 by Gary A. BaconGary Bacon
 
Wordpress 101 Guide Ebook Free
Wordpress 101 Guide Ebook FreeWordpress 101 Guide Ebook Free
Wordpress 101 Guide Ebook Freehuutienmmo
 
Types of Security Threats WordPress Websites Face: Part-1
Types of Security Threats WordPress Websites Face: Part-1Types of Security Threats WordPress Websites Face: Part-1
Types of Security Threats WordPress Websites Face: Part-1WPWhiteBoard
 
15 ways to improve your word press website performance in 30 minutes
15 ways to improve your word press website performance in 30 minutes 15 ways to improve your word press website performance in 30 minutes
15 ways to improve your word press website performance in 30 minutes World Web Technology Pvt Ltd
 
Securing Word Press Blog
Securing Word Press BlogSecuring Word Press Blog
Securing Word Press BlogChetan Gole
 
How I Learned to Stop Worrying and Love the Update Button
How I Learned to Stop Worrying and Love the Update ButtonHow I Learned to Stop Worrying and Love the Update Button
How I Learned to Stop Worrying and Love the Update Buttonchris-koerner
 
WordCamp Greenville 2018 - Beware the Dark Side, or an Intro to Development
WordCamp Greenville 2018 - Beware the Dark Side, or an Intro to DevelopmentWordCamp Greenville 2018 - Beware the Dark Side, or an Intro to Development
WordCamp Greenville 2018 - Beware the Dark Side, or an Intro to DevelopmentEvan Mullins
 
How to Create a Custom WordPress Plugin
How to Create a Custom WordPress PluginHow to Create a Custom WordPress Plugin
How to Create a Custom WordPress PluginAndolasoft Inc
 
Building a Professional Website for Your Business
Building a Professional Website for Your BusinessBuilding a Professional Website for Your Business
Building a Professional Website for Your BusinessDennis Hong
 
Introduction to web design
Introduction to web designIntroduction to web design
Introduction to web designFitra Sani
 
WordPress 3.0 at DC PHP
WordPress 3.0 at DC PHPWordPress 3.0 at DC PHP
WordPress 3.0 at DC PHPandrewnacin
 
Debugging - Figuring it out yourself (WordCamp Dublin 2019)
Debugging - Figuring it out yourself (WordCamp Dublin 2019)Debugging - Figuring it out yourself (WordCamp Dublin 2019)
Debugging - Figuring it out yourself (WordCamp Dublin 2019)Damien Carbery
 
Introduction to WordPress Class 6
Introduction to WordPress Class 6Introduction to WordPress Class 6
Introduction to WordPress Class 6Adrian Mikeliunas
 
Getting started with WordPress development
Getting started with WordPress developmentGetting started with WordPress development
Getting started with WordPress developmentSteve Mortiboy
 
Learn word press-from-scratch
Learn word press-from-scratchLearn word press-from-scratch
Learn word press-from-scratchEmma Page
 

Ähnlich wie Word press!you're doing it wrong (20)

Don't sh** in the Pool
Don't sh** in the PoolDon't sh** in the Pool
Don't sh** in the Pool
 
How To Lock Down And Secure Your Wordpress
How To Lock Down And Secure Your WordpressHow To Lock Down And Secure Your Wordpress
How To Lock Down And Secure Your Wordpress
 
Introduction to WordPress Slides from WordCamp 2012 by Gary A. Bacon
Introduction to WordPress Slides from WordCamp 2012 by Gary A. BaconIntroduction to WordPress Slides from WordCamp 2012 by Gary A. Bacon
Introduction to WordPress Slides from WordCamp 2012 by Gary A. Bacon
 
Wordpress 101 Guide Ebook Free
Wordpress 101 Guide Ebook FreeWordpress 101 Guide Ebook Free
Wordpress 101 Guide Ebook Free
 
Killer word press-checklist
Killer word press-checklistKiller word press-checklist
Killer word press-checklist
 
Types of Security Threats WordPress Websites Face: Part-1
Types of Security Threats WordPress Websites Face: Part-1Types of Security Threats WordPress Websites Face: Part-1
Types of Security Threats WordPress Websites Face: Part-1
 
15 ways to improve your word press website performance in 30 minutes
15 ways to improve your word press website performance in 30 minutes 15 ways to improve your word press website performance in 30 minutes
15 ways to improve your word press website performance in 30 minutes
 
Presentation1 renan
Presentation1 renanPresentation1 renan
Presentation1 renan
 
Securing Word Press Blog
Securing Word Press BlogSecuring Word Press Blog
Securing Word Press Blog
 
How I Learned to Stop Worrying and Love the Update Button
How I Learned to Stop Worrying and Love the Update ButtonHow I Learned to Stop Worrying and Love the Update Button
How I Learned to Stop Worrying and Love the Update Button
 
WordCamp Greenville 2018 - Beware the Dark Side, or an Intro to Development
WordCamp Greenville 2018 - Beware the Dark Side, or an Intro to DevelopmentWordCamp Greenville 2018 - Beware the Dark Side, or an Intro to Development
WordCamp Greenville 2018 - Beware the Dark Side, or an Intro to Development
 
How to Create a Custom WordPress Plugin
How to Create a Custom WordPress PluginHow to Create a Custom WordPress Plugin
How to Create a Custom WordPress Plugin
 
Building a Professional Website for Your Business
Building a Professional Website for Your BusinessBuilding a Professional Website for Your Business
Building a Professional Website for Your Business
 
Introduction to web design
Introduction to web designIntroduction to web design
Introduction to web design
 
WordPress 3.0 at DC PHP
WordPress 3.0 at DC PHPWordPress 3.0 at DC PHP
WordPress 3.0 at DC PHP
 
Debugging - Figuring it out yourself (WordCamp Dublin 2019)
Debugging - Figuring it out yourself (WordCamp Dublin 2019)Debugging - Figuring it out yourself (WordCamp Dublin 2019)
Debugging - Figuring it out yourself (WordCamp Dublin 2019)
 
Test ss 2
Test ss 2Test ss 2
Test ss 2
 
Introduction to WordPress Class 6
Introduction to WordPress Class 6Introduction to WordPress Class 6
Introduction to WordPress Class 6
 
Getting started with WordPress development
Getting started with WordPress developmentGetting started with WordPress development
Getting started with WordPress development
 
Learn word press-from-scratch
Learn word press-from-scratchLearn word press-from-scratch
Learn word press-from-scratch
 

Kürzlich hochgeladen

Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 

Kürzlich hochgeladen (20)

Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 

Word press!you're doing it wrong

  • 1. WordPress! You’re Doing It Wrong WordPress! You’re doing it wrong | 1/23 | www.pantso.gr | @pantso
  • 2. Yet another WordPress guy! (who am I?) WordPress! You’re doing it wrong | 2/23 | www.pantso.gr | @pantso My name is Panagiotis Grigoropoulos (although I hear to Panos and Pantso as well), I am a Front-End Designer & Developerand I live in Athens,Greece.I studied Video Game Programming,Application Programming,and I also have a bachelor at Computer Science from Roehampton University of London with amajor in Web & Multimedia. The tools of my trade are HTML, CSS, jQuery,Photoshop and WordPress.I currentlyworkfor AtcomS.A and I also maintain GreekTuts.net where I share parts of my knowledge. Enough about me I’m startingto blush!Let’s move on…
  • 3. Things you’re doing wrong : 1. The Database Prefix WordPress! You’re doing it wrong | 3/23 | www.pantso.gr | @pantso ALWAYS change the Table Prefix. And don’t be afraid to try somethinglike ifyoucanfindthisthenyouarefreetohackme_ Prefixes can be 1000 bytes long !!!
  • 4. Things you’re doing wrong : 2. PHPinfo WordPress! You’re doing it wrong | 4/23 | www.pantso.gr | @pantso Don’t allow visitors to see your phpinfo.php file. HOW TO DO IT Just open your .htaccess file and write the following lines: <Files php-info.php> Order Deny,Allow Deny from all </Files> To allow a specific IP just fill in: Allow from 123.456.789
  • 5. Things you’re doing wrong : 3. ReadMe.html WordPress! You’re doing it wrong | 5/23 | www.pantso.gr | @pantso Hide the readme.html file, so the visitors won’t know what version you’re running! Even though most hacker attacks are deployed without scanning for the WordPress version, it can’t hurt being cautious can it? HOW TO DO IT Just delete the file readme.html that comes with the WordPress installation and voila!
  • 6. HOW TO DO IT Open your theme’s functions.php file and add the following line: function remove_wp_version() { return ''; } add_filter('the_generator', remove_wp_version '); If your theme for some reason comes without a functions.php file, just create it! Things you’re doing wrong : 4. WordPress version WordPress! You’re doing it wrong | 6/23 | www.pantso.gr | @pantso For the same reason as the readme.html file, you should also hide the WordPress version from the <head> of your site.
  • 7. Things you’re doing wrong : 5. Kill the Admin (user) WordPress! You’re doing it wrong | 7/23 | www.pantso.gr | @pantso If you already have a WordPress website, and you are not up-to-date with the latest WordPress version, consider removing the Admin user, or simply disable it. NOTE: For v3.x users this is not necessary since during the installation, WordPress asks for both username and password. Just avoid using the username Admin. HOW TO DO IT • To disable the admin user, you will need to first of all have an Administration account (so you won’t get locked out) and then just go to Users panel in the Administration panel, and turn the role of the user with username Admin to subscriber. • To completely remove the Admin user go to the Users panel in the Administration panel, simply select the user with username Admin and delete it, attributing all posts and links to your account.
  • 8. Things you’re doing wrong : 6. Use the Editor correctly WordPress! You’re doing it wrong | 8/23 | www.pantso.gr | @pantso Many users believe that using WordPress is a walk in the park. And most of them are kinda right! However, why not use WordPress in the way it was made to be used?
  • 9. Things you’re doing wrong : 6. Use the Editor correctly WordPress! You’re doing it wrong | 9/23 | www.pantso.gr | @pantso One of the most annoying things for WordPress theme developers is the post content formatting. PERSONAL FAVORITE: THE MORE TAG The more tag is used to create an excerpt of the full post content. Why not use the actual excerpt that WordPress has for us? Try developing this layout with a post that has an image and some text followed by a more tag in it’s content. You will have to catch the image and save it, parse and save the text, and then display it the way you want. NO! Simply open your screen options (right top of the Administration Panel) and enable the post excerpt! WordPress is not Word!
  • 10. Things you’re doing wrong : 7. Don’t paste from Word WordPress! You’re doing it wrong | 10/23 | www.pantso.gr | @pantso WordPress (and almost every CMS on the planet) does not play well with Word formatted text. So stop bringing all of Word’s garbage into your site! Next time you need to copy/paste content from a Word file, think of using the cute little Word icon in the editor toolbar. Paste, hit Insert, and you are good to publish!
  • 11. Things you’re doing wrong : 8. Not Using Featured Images WordPress! You’re doing it wrong | 11/23 | www.pantso.gr | @pantso Some people say that everything happens for a reason! In the Featured Images case, that has been going along with WordPress from version 2.9 (known as Post Thumbnail then) and later in version 3.X named Featured Image, the saying is correct! They do exists, so use them! WHY USE THEM?  One image to rule them all  Easy resizing/cropping  Easy upload  Facebook friendly (with og:image)  Because it’s there!
  • 12. Things you’re doing wrong : 9. Ugly permalinks WordPress! You’re doing it wrong | 12/23 | www.pantso.gr | @pantso In many cases users don’t mind the URL of their posts. Permanent links is one of the best features in WordPress though! Make them readable, and user friendly! First structure them correctly, in the Settings > Permalink Settings menu
  • 13. Things you’re doing wrong : 9. Ugly permalinks WordPress! You’re doing it wrong | 13/23 | www.pantso.gr | @pantso And then take good care of them in every new post you make
  • 14. Things you’re doing wrong : 10. Where is your Feed? WordPress! You’re doing it wrong | 14/23 | www.pantso.gr | @pantso WordPress offers the tools to spread the word of what’s going on in your website! Why not harness that power? An RSS feed is the way and you should use it! Make sure that one of the following URLs works http://yourdomain.gr/?feed=rss http:// yourdomain.gr /?feed=rss2 http:// yourdomain.gr /?feed=rdf http:// yourdomain.gr /?feed=atom When using custom permalinks, you should be able to find one of these: http:// yourdomain.gr /feed/ http:// yourdomain.gr /feed/rss/ http:// yourdomain.gr /feed/rss2/ http:// yourdomain.gr /feed/rdf/ http:// yourdomain.gr /feed/atom/
  • 15. The title of your pages is very important both to users and to search engines! Give it a little facelift! As an example, in your theme’s header.php file, try changing this: <title><?php wp_title(''); ?></title> to this: <title> <?php wp_title('&raquo;','true','right'); ?> <?php if ( is_single() ) { ?> Blog Archive &raquo; <?php } ?> <?php bloginfo('name'); ?> </title> Or you can try more combinations/information. You can read more at http://codex.wordpress.org/Function_Reference/wp_title Things you’re doing wrong : 11. Fix your site <title> WordPress! You’re doing it wrong | 15/23 | www.pantso.gr | @pantso
  • 16. Things you’re doing wrong : 12. Fix your image alt tags WordPress! You’re doing it wrong | 16/23 | www.pantso.gr | @pantso One of the things that people tend not to do, is bothering with image alt tags. Apart from the fact that they are an HTML standard, so their absence instantly means invalid code (for whoever cares), not using them means that you are not helping crawlers “see” your images as part of your content. Spend some seconds into naming your content images right from the editor. Just click on an image in your content, click the “Edit Image” icon, and enter an Alternative description.
  • 17. Things you’re doing wrong : 13. Use the Media Gallery WordPress! You’re doing it wrong | 17/23 | www.pantso.gr | @pantso Don’t ever copy paste images from other websites right into the WordPress text editor. First of all you are hot linking and secondly you are not using one of the best features of WordPress! The media gallery. WHY USE MEDIA GALLERY  All your images in one place  Easily create galleries  Control image attributes  Drag & Drop upload  Edit image information  Easily edit images  Global media control
  • 18. One of the best things about CDNed scripts is that because many people use them in their websites, many of your visitors may have already downloaded them from visiting another site. Also the speed of a CDN is most of the times faster than your server. Deal with it! So instead of sending your users the jQuery core file all over again, just give them: <script type="text/javascript" src="http://code.jquery.com/jquery-2.0.2.min.js"></script> and instead of making them download your webfont, let them get: <link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'> That way you gain, both speed, and you get a big load off your server! Things you’re doing wrong : 14. Use CDNed Scripts WordPress! You’re doing it wrong | 18/23 | www.pantso.gr | @pantso
  • 19. Things you’re doing wrong : 15. Update WordPress WordPress! You’re doing it wrong | 19/23 | www.pantso.gr | @pantso We all know it and have heard it many times! Well don’t just stand there! UPDATE NOW!
  • 20. Things you’re doing wrong : 15. Update WordPress WordPress! You’re doing it wrong | 20/23 | www.pantso.gr | @pantso Why update?  Keep up-to-date with bug fixes and security patches  Get all the new cool WordPress features  Keep hackers away (well at least have a good shot)  Stay up-to-date with latest plugin functionality  Close shut plugin security holes  Because Google says you should! More on codex.wordpress.org/Updating_WordPress AND ALSO…
  • 21. Things you’re doing wrong : 15. Update WordPress WordPress! You’re doing it wrong | 21/23 | www.pantso.gr | @pantso Each time an Admin ignores a WordPress update notification, a kitten dies! HOW CRUEL CAN YOU BE?
  • 22. WordPress! You’re doing it wrong | 22/23 | www.pantso.gr | @pantso THANK YOU FOR YOUR TIME …and remember! Use WordPress and use it right!
  • 23. Shameless Promotion WordPress! You’re doing it wrong | 23/23 | www.pantso.gr | @pantso www.greektuts.net Also find me around the web www.pantso.gr fb.com/pantso twitter.com/pantso dribbble.com/pantso linkedin.com/in/pantso