Archive for the ‘Blogging’ Category

Redirect Web Site Folder (WordPress)

Wednesday, April 11th, 2012

2012-04-11 Initial Post

When I first set up this blog, the WordPress Permalink Settings was set to use Day and name (e.g., http://sysadmin-e.com/2012/04/11/sample-post/). Later on, I changed it to Custom Structure (e.g., /%postname%) without thinking about how to redirect from the old format to the new format.

I had posted a comment on http://jack.ukleja.com/using-a-telnet-client-as-a-port-scanner/ and put a link to my post at http://sysadmin-e.com/2010/02/04/telnet/. So after changing the permalink settings, the link to my post no longer worked. So how do I redirect it? That link isn’t to an HTML file, but to a directory/folder, so I wasn’t sure how to do this.

I finally got around to messing with this last night and it took me a while to find a solution because my searches kept pointing to examples of using .htaccess and RewriteRule, which isn’t what I wanted. After more searching, I found the solution here: http://www.besthostratings.com/articles/htaccess-redirects.html.

This is what I ended up doing (I don’t know if there’s a simpler way, but this worked for me, so that’s all I need):

  •  Go into BlueHost cPanel --> File Manager.
  • Under public_html, create this folder structure: 2010/02/04/telnet.
  • Under telnet, create a file named .htaccess.
  • Edit the .htaccess file and put in this one line: Redirect /2010/02/04/telnet /telnet

Notes On Installing SyntaxHighlighter (WordPress Plugin for Highlighting Code) and Custom Brushes

Wednesday, December 29th, 2010

2010-12-30 Updated

2010-12-29 Initial post

I just installed the SyntaxHighlighter Evolved 3.1.1 plugin today and am testing it out.

I finally got around to looking into how to put syntax highlighted/formatted code blocks into my posts and eventually found SyntaxHighlighter. (more…)

Password Protect WordPress Blog

Sunday, February 28th, 2010

2010-02-28 Initial Post

I looked into this briefly, not too long ago, and didn't find anything simple for password protecting an entire WordPress blog. The other day I was looking around cPanel and noticed an option for password protection. The option is not specific to WordPress but for any folder in your account. It allows you to password protect any of your site's folders, including the folder that hosts your WordPress site. So the end result is that you can password protect your WordPress blog. Here's how to do that: (more…)

Blogging Tips and Things That I Learned While Setting Up This Blog

Wednesday, January 20th, 2010

2010-12-30 Updated

2010-01-20 Initial Post

>> WordPress seems to be the most popular self-hosted blogging platform, so stick with it since there are tons of resources available to help you. (more…)

BlueHost Review

Saturday, January 16th, 2010

2010-03-19 Update

I got the e-mail below from BlueHost last week. It looks like they made some security updates to their affiliate site, but I still never heard back from them regarding my issue with personal information being included in an unsecured PDF in an unsecured e-mail.

date    Mon, Mar 8, 2010 at 10:05 PM
subject    New Affiliate Security Features
mailed-by    bluehost.com

Dear M,

Over the past few weeks we have been updating a number of things within the affiliate manager website.  Along with the new updates we have also included two new security features to the affiliate system which will directly affect your account:

1. We are now limiting the number of failed login attempts to 5 per hour.  Once this limit is met you will be locked out of the account for 1 hour.
2. We have also installed a password strength requirement to reduce potential account compromises that can occur when weak passwords are allowed.

2010-01-16 Initial Post

I chose BlueHost because I saw a lot of references for them and they seem like a decent company. (more…)