Login

Main Site

FQDN to folder in aliased FQDN using htaccess

Simple method of displaying aliased FQDN to a folder in the primary web site. You have two domain names but you do not want the second name just pointing to the primary name as a domain alias! You would rather have it pointing to a folder instead.

 

Sample.net is an alias of sample.com

 

RewriteEngine on
RewriteCond %{HTTP_HOST} ^sample\.net [NC]
RewriteRule ^(.*)$ http://sample.com/services/tech-services-solutions/$1 [R=301,L]

 

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

 

 

Posted in Development | Tagged | Leave a comment

TinyMCE Advanced

TinyMCE Advanced: This is a must have plugin for any WordPress install.

 

This plugin will let you add, remove and arrange the buttons that are shown on the Visual Editor toolbar. It includes 15 plugins for TinyMCE that are automatically enabled or disabled depending on what buttons are chosen.

 

Some of the features added by this plugin
◾Support for creating and editing tables.
◾More options when inserting lists.
◾Search and Replace in the editor.
◾Ability to set Font Family and Font Size.
◾And many others.

 

With this plugin you will also be able to enable the TinyMCE menu. It is a convenient way to access a lot of features that are not used frequently.

 

More info; plugin download here:

 

Posted in Open Source, WP Plugins | Tagged , , , , | 1 Comment

All in One WP Migration Plugin

A revolutionary deployment solution for WordPress that will finally solve the problem with deployment from and to a website. This WordPress plugin takes care of your database, your plugins and your media files. The end result is a very small package that can be deployed automatically using the plugin’s one step import or manually by hand following our guide.

 

The plugin allows you to export your database, media files, plugins, and themes. You can apply unlimited find and replace operations on your database and the plugin will also fix any serialization problems that occur during find/replace operations.

All in One WP Plugin is the first plugin to offer true mobile experience on WordPress versions 3.3 and up.

◾Tested the plugin on Windows 7 and Windows Server 2012 with the default available IIS

◾You will need to make sure that Windows\TEMP folder has write permissions for the IIS user

 

Memory_limit requirement of only 32MB
◾The plugin handles archiving of files by using 2048 bytes of chunks
◾The plugin processes database find/replacement in chunks of 1MB

 

Plugin Source:

 

 

 

Posted in Open Source, WP Plugins | Tagged , , | Comments Off

Pydio 6.0

pydio Pydio 6.0 has been released. It is the first open source file sync & sharing solution to deliver tight control of information on the scale demanded by enterprises and service providers, and to combine this with the same intuitive ease-of-use found in modern consumer apps and cloud services.

 

Pydio is open source software that turns instantly any server (on premise, NAS, cloud IaaS or PaaS) into a file sharing platform for your company. It is an alternative to SaaS Boxes and Drives, with more control, safety and privacy, and favorable TCOs.

 

As easy to use as great consumer software, Pydio is designed to provide enterprise grade security and control. Unbelievably easy to install for System Administrators, Pydio connects instantly to your existing employee directories.

 

We have made this available as a standalone product or to a website as an install script available with our Linux shared hosting.  See the Pydio You tube channel here.

 

 

Posted in Open Source, Software | Tagged , | Comments Off

Solution for slow SSH login in CentOS 6

SSH login is typically slow in CentOS 6 + because they have added another security feature, the SSH server will do a reverse DNS again for any incoming connection, this will delay connection up to 13 seconds, to avoid this:

 

Edit SSH configuration!

/etc/ssh/sshd_config

 

Find  #useDNS yes and change it to no
#useDNS yes

Change to
useDNS no

 

Also since we don’t have any working ipv6 dns servers or network, setting AddressFamily to inet + disabling GSSAPIAuthentication on both the client and server completely solved the problem.

 

#AddressFamily inet
#ListenAddress 127.0.0.1

 

#GSSAPIAuthentication no

 

After making edits to /etc/ssh/sshd_config

Make sure to restart the sshd service
Service sshd restart

Posted in Linux | Tagged , , , | Comments Off

WordPress SEO by Yoast

 

WordPress SEO by Yoast

Improve your WordPress SEO: Write better content and have a fully optimized WordPress site using Yoast’s WordPress SEO plugin.

 

WordPress out of the box is already technically quite a good platform for SEO, this was true when I wrote my original WordPress SEO article in 2008 (and updated every few months) and it’s still true today, but that doesn’t mean you can’t improve it further!
This plugin is written from the ground up by Joost de Valk and his team at Yoast to improve your site’s SEO on all needed aspects. While this WordPress SEO plugin goes the extra mile to take care of all the technical optimization, more on that below, it first and foremost helps you write better content. WordPress SEO forces you to choose a focus keyword when you’re writing your articles, and then makes sure you use that focus keyword everywhere.

 

https://wordpress.org/plugins/wordpress-seo/

 

Posted in Development, WP Plugins | Tagged , , | 2 Comments

Contact Form 7

 

Contact Form 7 is the best WordPress contact form plugin. Simple but flexible.

 

Contact Form 7 can manage multiple contact forms, plus you can customize the form and the mail contents flexibly with simple markup. The form supports Ajax-powered submitting, CAPTCHA, Akismet spam filtering and so on.

 

https://wordpress.org/plugins/contact-form-7/

 

Posted in Open Source, WP Plugins | Tagged , , , | Comments Off

Wordfence Security

Wordfence Security

 

Wordfence starts by checking if your site is already infected. We do a deep server-side scan of your source code comparing it to the Official WordPress repository for core, themes and plugins. Then Wordfence secures your site and makes it up to 50 times faster.

 

Wordfence Security is 100% free. We also offer a Premium API key that gives you access to our premium support ticketing system at support.wordfence.com along with two factor authentication via SMS, country blocking and the ability to schedule scans for specific times

https://wordpress.org/plugins/wordfence/

 

 

Posted in Security, WP Plugins | Tagged , , , | Comments Off

WordPress Limit Login Attempts

 

WordPress Limit Login Attempts:
With this plugin, you can limit user’s attempts to log in to your website and, consequently, block the user for a certain period of time. Apart from that, Limit Attempts allows users to create and edit black- and whitelists with the aim of controlling the access to the site and its content.

 

Also, with this plugin, users will be able to specify the settings for adding an address to the blacklist, as well as be aware of everything that is going on your website by sending email notifications about blocking. Moreover, this plugin is compatible with htaccess, thus, you can minimize server workload by adding IP address blocking data to htaccess file.

 

https://wordpress.org/plugins/limit-attempts/

 

 

Posted in Security, WP Plugins | Tagged , , | Comments Off

Introducing Entity Framework

Entity Framework (EF) is an object-relational mapper that enables .NET developers to work with relational data using domain-specific objects. It eliminates the need for most of the data-access code that developers usually need to write.

 

 Introducing Entity Framework

Entity Framework allows you to create a model by writing code or using boxes and lines in the EF Designer. Both of these approaches can be used to target an existing database or create a new database. This short video explains the differences and how to find the one that is right for you.

 

Entity Framework 6: The Ninja Edition

Entityframework.codeplex.com

Entity Framework 6.0.2 Tools for Visual Studio 2012 & 2013

 

 

Posted in ASP.NET, Development | Tagged , , , | Comments Off