If you’ve been thinking about changing the permalink structure on your blog or already changed it and are trying to figure out what to do with your internal links, then this trio of pages I just created will help you out.

First, a tutorial on using the Redirection plugin to remove dates from incoming links. Not only do you want people clicking on the links to be able to find your site, you want your posts to rank like they did before. This method uses a 301 redirection to pass on the link juice and the visitors.

Second, a tutorial on removing the dates from your internal links. Though the redirection you’ve already set up is enough, having your links to yourself look right isn’t a bad idea. It also means that if the Redirection plugin breaks or you turn it off, your internal links still work

And third, for people who’ve just migrated over from Blogger, a tutorial on removing the .html from Blogger permalinks and otherwise straightening them out. If you also want to remove the dates, do this before doing the other two.

Happy regexing!

Be the first to comment

Find LunarPages MySQL Database IP Address

February 16, 2010 by BlogCrafted Staff · Tutorial, Website Hosting & Management  

Most shared hosting services store your files and databases on a the same server with the same IP address. However, LunarPages has recently stopped that practice and keeps some people’s databases on different servers with different IP address. This makes it more difficult to install Wordpress on LunarPages.

If you’re a LunarPages customer and trying to figure out what the IP address of your databases is, it’s very likely NOT the same as the IP address of your Lunar Pages Control Panel (LPCP).

How to Find Your MySQL Database IP Address on LunarPages

  1. Go to the main page of your LPCP and scroll down to databases.
  2. Click on PhpMyAdmin (sailboat icon on the right side).
  3. It may ask you to fill in your login information again, do so.
  4. Now you’re in phpMyAdmin for your hosting. Though the url in your address bar still has the same IP address as your LPCP, the very top of the page will say Server: 229.237.233.32 (only your IP address).

Here’s a screenshot of what this looked like for one client, but with most of the IP address blacked out for privacy:

MySQL Manager

It’s at the very top of the page, a little bit left of center. You’ll see that it probably shares many of the same digits as your LPCP IP address, but it’s got a few different ones too. If it’s identical, then your database & files are on the same server.

You can use this IP address it fill in the DB_HOST field in a wp-config.php file for Wordpress (replacing localhost) or wherever else you need the IP of your MySQL databases on LunarPages.

1 comment

DIY Themes Server Certificate Expired

January 25, 2010 by BlogCrafted Staff · Wordpress Themes  

In the last week, a rash of expired certificates has struck the Thesis-using/Thesis-promoting community. Find out why, how to fix it, and how to continue promoting Thesis without these error messages.

I noticed the first one 5 days ago. As I was visiting a friend’s site, this error message jumped out at me:

Because it’s not the best screen grab, I transcribed it. It reads:

diythemes.com:443 uses an invalid security certificate

The certificate expired on 1/15/2010 3:55 PM.

(Error code: sec_error_expired_certificate)

This could be a problem with the server’s configuration or it could be someone trying to impersonate the server.

If you you have connected to this server successfully in the past the error may be temporary and you can try again later.

I was surprised, but I recognized DIY Themes as being the Thesis theme site he was running and knew it was safe to keep browsing his site. Further investigation and discussions brought to light the fact that he was running the DIY Themes Thesis affiliate program.

Brian Clark had recently announced on Copyblogger that the Thesis affiliate program was moving to ShareASale. DIY Themes promised that the old links would still work for another 60 days, after which you had to be on the new affiliate program. Yet somehow, the people running DIY Themes had let their security certificate expire and it was throwing errors on every site using DIY Themes affiliate code!

How to Fix the DIY Themes Expired Certificate Error

Step 1. Take down all Thesis ads on your site. Text links (unless you’re using redirects you’ve created), banner ads, everything. Check individual posts too.

Why take it all down first? Because this error is the kind of thing that scares away readers. And it’s not good advertising for the product when your readers are getting warnings about it.

Step 2. Go to ShareASale and sign up. Then sign up for the Thesis affiliate program.

Step 3. Replace the banners and links using the code from ShareASale. If you’re feeling nervous, consider uploading all banner ads to your site and linking to them on your site. You can use a plugin like GoCodes to create a simple redirect for links. Of course, the ShareASale code isn’t throwing errors, but these tools give you more control over the ads on your site.

I’m very surprised that as of the time I’m writing this, January 25th, the certificate has been expired for 10 days and has been throwing these errors for at least 5 (when I first noticed) and the DIY Themes crew hasn’t renewed it yet. I hope it’ll be fixed soon, but since the program is ending you might as well sign up with the new place.

Edited to add: Brian Clark noted below that the problem had been addressed over the weekend. I still saw it on at least one site this morning, but perhaps the change is taking effect. If you’re seeing it on your site still, consider contacting DIY themes…or just follow the instructions, since you’ll need to do that anyway.

6 comments

Getting DIY Themes to Refund You for Thesis

January 20, 2010

There’s no question that the Thesis theme for Wordpress is very powerful. It’s got a lot of good code and a number of customization options which help you make it more your own. But it’s got flaws as well and it’s not the best match for a lot of people. One thing that comes to mind is the inability to easily insert a header image, at least not without adding a plugin.

9 comments Read the full article →

How to Handle Comment Spam Akismet Doesn’t Catch

October 23, 2009

Akismet and other spam plugins are great for catching 99% of spam. But sometimes spambots get creative and only leave http://link. Other times, it’s the person who’s spammy.

1 comment Read the full article →

Tutorial: Adding Gravatars to Cutline Themes

April 13, 2009

I’ve since transitioned to Thesis, but this tutorial works well.

Despite the growing internet presence of Chris Pearson’s Thesis, his older themes still remain popular, including the Cutline theme which I’ve modified for this blog.

I recently decided to add gravatars to my theme, so I launched a search for anyone’s tips on best positioning of the gravatar code within Cutline. Since I didn’t find anything, I did it on my own–but I thought I’d share with you exactly which code to put where to get gravatars on Cutline positioned like mine. As a bonus, a small section at the bottom shows you how to create a add a custom default gravatar for your site. You’ll see that commenters without gravatars get a ghosted black-and-white BC avatar.

Read the full article →

Registering Domains Away from Your Host

April 10, 2009

One of the most convenient ways to register domains is through your host. That way, you have everything in one place. They may even give you a free domain for signing up.

But there are some definite advantages to keeping your domain registration separate from your host–somewhere like GoDaddy. If you end up having irreconcilable differences with your webhost, you may end up temporarily locked out of your account, as Cath Lawson did.

Read the full article →