Wordpress SEO - What are you looking for?

If you're looking for answers to SEO or wordpress related questions, type in a phrase and wait for hints or click enter! The results also show links to external sources.

161 articles in the database

Securing the uploads folder with .htaccess

[ Article content is protected by Plagiashield ]

upload-htaccess

Today's piece of code will allow us to secure our folder /uploads to which all images loaded by default go via media library WordPress'a.

What what good does that do us? Many attacks on installations are based on uploading files containing malicious files to /uploads. So it increases our safety.

1. We create a text file on our computer (e.g. in notepad) and paste the following code into it:


Order Allow,Deny
Deny from all
.

Order Deny,Allow
Allow from all
.

2. Save the file as ".htaccess" and place it in the folder /wp-content/uploads

The code causes the restriction to upload peaks with specific extensions - jpg|jpeg|jpe|gif|png|tif|tiff - to this folder like and its subfolders

Wojciech Wladzinski

O Wojciech Wladzinski

I have been working in SEO industry since 2008. On a daily basis a senior SEO specialist in a company Seogroup. I create and optimize large websites as well as smaller ones websites online. I am particularly fond of the environment WordPresswhich, despite popular belief, is not just a blogging platform.
  • Internal Links and Sematics

  • Link building
  • Sematics
  • Link building has never been easier. Hundreds of link possibilities in one click.
  • See

[ Article content is protected by Plagiashield ]

SEMRush - the best tool for SEO and PPC.

en_USEnglish
Read previous post:
Pagination and breadcrumb without plugin in WP

Today I'm going to show how to display pagination, a.k.a. paging, and breadcrumb in a wordpress installation without using a plugin. Pagination Most of the...

Close