How to: Replace WordPress .htaccess

Replace a corrupt or lost WordPress .htaccess

wordpress_logoWordPress uses .htaccess for security and for URL re-writing and so it is a key contributor to the functionality of your site. Sometimes you will find your site looking very badly formatted, as if the CSS files are not being found.

The problem is usually caused by a corrupt or lost .htaccess file. This can be caused by a misbehaving/bad plugin feature or update.

Never fear, you can replace the default WordPress .htaccess file and get your site looking great again.

There are two default formats for WordPress .htaccess depending on the version you are running. Basically, if the first doesn’t work, simply try the second.

The “Basic WordPress” .htaccess

If your WordPress was installed in document root:

# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress

The “MultiSite WordPress” .htaccess

If your WordPress was installed in a sub-folder:

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]

# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]

Google Has Started Giving A Ranking Boost To HTTPS/SSL Sites

It’s official. Every site needs SSL. If you do not have SSL, it’s time to get it.

GoogleSSLAdding HTTPS to your website using a 2048 bit SSL certificate will cause Google to give your site a “ranking boost” against your non-SSL counterparts.

To be exact, Google said it carries “less weight than other signals such as high-quality content.” Based on their tests, Google says it has an impact on “fewer than 1% of global queries” but said they “may decide to strengthen” the signal because they want to “encourage all website owners to switch from HTTP to HTTPS to keep everyone safe on the web.”. This was announced by Google last year and there are signs that this signal is strengthening.

We all know how important security is. Prior to Google’s “HTTPS Everywhere” drive, there were more generic reasons why you would need to install SSL.

  • eCommerce web sites definitely needed SSL. Your customers will no doubt enter personal information (such as name, address, email) to sign up to your service. Even if you do not accept payments on your site and use an external payment provider, it is still essential that you protect your customers personal data and passwords.
  • Sites with a login form that require a username and password. Any site that requires a visitor to login – such as WordPress, Joomla, Drupal or a community Forum. Why? Because generally people use the same password across many sites (I know, it’s bad, but they do) and you have to protect their details from being leaked. As time progresses, people will simply avoid sites that do not use SSL/HTTPS.
  • Sites with forms where visitors would type personal information. If you have a contact form where visitors will type their name, address, telephone and email then an SSL with protect their data. You are more likely to get leads if you use SSL.

We Make Requisition and Installation of SSL Easy

You quite likely do not have the time or inclination to work out what you need to do to acquire, install and activate SSL on your website. That’s where we come in. All you need to do is order the certificate.

We will generate the CSR, acquire the SSL certificate and Install/Activate it. You do not need to do anything. It’s time to boost your site ranking and protect your visitors.

red_ordernow

Getting BadMailFrom Error: Cannot Send Email

emailHave you triggered the BadMailFrom Spam Trigger?

If you are getting BadMailFrom message when trying to send email then one of the following has happened:
  1. You have sent a large number of emails from an account and the recipients have marked some of this email as SPAM
  2. Your account has been hacked and a spammer is sending emails from your account

The BadMailFrom filter stops SPAM before it gets ‘too’ serious. The filter is automatically removed after a short period of time. If the problem persists the lock will be in place for a longer period.

The recommended actions you should take are:

  • Ensure you are sending emails only to recipients that are expecting the email
  • If you are sending to a large number of recipients try spreading out the mailshot (over a number of hours or days)
  • If you did not send a quantity of outgoing mail then change your mailbox password straight away.
It is not possible for our Support Staff to reset the BadMailFrom trigger. Simply await it to reset. The trigger does not affect incoming mail.

Apple Mail Cannot Send Emails

emailSMTP Send Problems with Apple Mail

If you are having problems with Apple Mail SMTP using IMAP, ensure you are using the following settings:

Mail > Preferences > SMTP > Edit SMTP Server List > Advanced

Automatically detect and maintain account settings: No
Port: 587
Use SSL: No
Authentication: MD5 Challenge-Response
Allow insecure authentication: Yes

For more information: How to setup Apple Mail

Special Rules for .ltd.uk Domain Names

uk-nominetNominet Rules for .ltd.uk Domain Registration

To register .ltd.uk domain names there are special rules set out by Nominet and so these registrations are always manually processed by Nominet.

http://www.nominet.org.uk/uk-domain-names/about-domain-names/uk-domain-subdomains/second-level-domains

.ltd.uk Rules state “The name shall correspond exactly to the registered name save for characters not in the “allowable” set which shall be interpreted as below and the “reserved” words. Where the definite article appears as the first word of the name it may be omitted“.

This means that you can register “MyLimitedCompanyName.ltd.uk” but most likely not “mlcn.ltd.uk” as this does not reflect exactly your Ltd company name.

If you submit a registration for a .ltd.uk domain name please do submit a ticket advising us of your EXACT limited company name and company registration number OR let us know if we should modify the .ltd.uk domain name to match your Limited Company name and resubmit your registration to Nominet.

If you have already ordered a .ltd.uk domain name then your domain name will show as “Cancelled” until we submit the additional information to Nominet and have your registration successfully complete.