Skip to main content

Home/ Wordpress/ Group items tagged htaccess

Rss Feed Group items tagged

Luciano Ferrer

Seguridad WordPress: Añadir un pestillo a WordPress para evitar acceso - 0 views

  •  
    " Un archivo .htaccess que es el que hará de pestillo. Cuando tenga el punto delante(.htacess) estará echado. Cuando no tenga el punto(htaccess) estará quitado. Un archivo close.php que es el que determinará que acción realizar cuando intenten entrar cuando el pestillo esté echado. Un archivo opcional close.html, por si queremos mostrar una página html como respuesta. Montaje Creamos el archivo .htaccess en el directorio /wp-admin/ de nuestro WordPress. Su contenido será el siguiente Archivo /wp-admin/.htaccess Apache RewriteEngine on RewriteBase /wp-admin/ RewriteCond %{REQUEST_FILENAME} !^(.+)\.(css|js)$ RewriteCond %{REQUEST_FILENAME} !^(.+)\.(gif|jpg|jpeg|png|ico)$ RewriteCond %{REQUEST_FILENAME} !^(.+)\.(eot|svg|ttf|woff)$ RewriteRule ^(.+)$ close.php [NC] "
Luciano Ferrer

Asegurando WordPress con .htaccess | Ayuda WordPress - 1 views

  •  
    Recopilación de artículos y códigos útiles para el .htaccess
david degrelle

Optimiser les performances PHP et WordPress chez OVH en 4 lignes dans le htaccess - 0 views

  •  
    Pour cela, il suffit juste de changer 4 paramètres de PHP et pour y parvenir nous allons créé/édité le fichier .htaccess à la racine de votre FTP. (dans le dossier WWW) Et on va y insérer les lignes: SetEnv REGISTER_GLOBALS 0 SetEnv ZEND_OPTIMIZER 1 SetEnv MAGIC_QUOTES 0 SetEnv PHP_VER 5
Vernon Fowler

WordPress Add-on for 5G Blacklist : Perishable Press - 1 views

  • Simply copy/paste the following code into your site’s root .htaccess file
  • beneath the 5G, if present
Luciano Ferrer

.htaccess "Down For Maintenance" Page Redirect - 0 views

  •  
    "RewriteEngine On RewriteBase / RewriteCond %{REMOTE_ADDR} !^11\.111\.111\.111 RewriteCond %{REQUEST_URI} !^/maintenance\.html$ RewriteRule ^(.*)$ http://domain.com/maintenance.html [R=307,L]"
Luciano Ferrer

Reduce spam on your WordPress website with the help of .htaccess | Only functional Word... - 8 views

  •  
    "RewriteEngine On RewriteCond %{REQUEST_METHOD} POST RewriteCond %{REQUEST_URI} .wp-comments-post\.php* RewriteCond %{HTTP_REFERER} !.*yourdomainname.* [OR] RewriteCond %{HTTP_USER_AGENT} ^$ RewriteRule (.*) ^http://%{REMOTE_ADDR}/$ [R=301,L]"
Hanna Wiszniewska

Convert Your Annotations to Blog Posts with 1-click - 0 views

    • Hanna Wiszniewska
       
      This is not working for self-hosted Wordpress blogs - editin .htaccess file is not the good idea also!
    • anonymous
       
      It's actually working pretty well for my self-hosted Wordpress. No need to edit htaccess.
    • gustavo salami
       
      i only get an arror message.
anonymous

Redirection - 0 views

  •  
    Redirection is a WordPress plugin to manage 301 redirections and keep track of 404 errors without requiring knowledge of Apache .htaccess files.
Luciano Ferrer

WordPress › Watermark « WordPress Plugins - 1 views

  •  
    "This plugin allows to add a watermark on your images uploaded. This plugin allows to add a watermark on the images uploaded. It applies watermark on new images as well as images already uploaded. By deactivating the plugin, the watermark will be removed on all images. What makes this plugin a really powerful one, is that the watermark is placed on your images through a htaccess and php file. This means your images are actually not modified. You can still download them from your FTP, and they will not have any watermark."
Vernon Fowler

Redirection - Manage 301 redirections without modifying Apache | Urban Giraffe - 0 views

  • Full regular expression support
  • Advanced users can make use of regular expressions to reduce the number of redirections they need to create. A regular expression is basically a pattern that tells the plugin how to match.
  • Remember that if the source URL is a regular expression then you must enable the regular expression option, otherwise Redirection will just treat you source URL as plain text.
  • ...5 more annotations...
  • match the URL only when the user is logged in
  • Redirect to URL by login status This rule allows you to match a URL based upon the user’s WordPress login status. That is, if they are logged into your site.
  • Export all redirections to CSV, XML, or Apache .htaccess files Import Apache .htacces files
  • Site URL – an advanced option which allows you to set the site base URL
  • Ban IPs – prevents certain IPs from accessing your site
  •  
    "Redirection is a WordPress plugin to manage 301 redirections, keep track of 404 errors, and generally tidy up any loose ends your site may have. This is particularly useful if you are migrating pages from an old website, or are changing the directory of your WordPress installation. "
Vernon Fowler

WordPress › WP Super Cache « WordPress Plugins - 1 views

  • After you have enabled the plugin, look for the file "wp-content/cache/.htaccess". If it's not there you must create it. It should read: # BEGIN supercache <IfModule mod_mime.c> <FilesMatch "\.html\.gz$"> ForceType text/html FileETag None </FilesMatch> AddEncoding gzip .gz AddType text/html .gz </IfModule> <IfModule mod_deflate.c> SetEnvIfNoCase Request_URI \.gz$ no-gzip </IfModule> <IfModule mod_headers.c> Header set Cache-Control 'max-age=3, must-revalidate' </IfModule> <IfModule mod_expires.c> ExpiresActive On ExpiresByType text/html A3 </IfModule> `` # END supercache
Vernon Fowler

WordPress › Redirection « WordPress Plugins - 0 views

  • Redirections are automatically created when a post URL changes, and it is a lot easier to manually add redirections than to hack around a .htaccess. You also get the added benefit of being able to keep track of 404 errors.
Vernon Fowler

WordPress › Support » Maximum upload file size - 0 views

  • A simple example in .htaccess file <IfModule mod_php5.c> php_value post_max_size 10M php_value upload_max_filesize 40M php_value memory_limit 500M </IfModule>
Sue Bride

How to fix HTTP error when uploading media to Wordpress 2.5 - 0 views

  • You can fix the problem by simply adding the following lines to the .htaccess file
Albert Simó

La Biblia para la Optimización de WordPress | BuddyPress, WordPress, Asesoram... - 4 views

  •  
    Per a optimitzar el servidor i el mateix web fet amb wordpress
  •  
    Per a optimitzar el server, wordpress i les base de dades amb MySQL
1 - 19 of 19
Showing 20 items per page