WordPress Plugin Review: Page Links To

The other day I was looking for a way to have a WordPress page redirect to an external page, one that is not on the same domain as the WP blog. A quick search for ‘links page’ lead me to a great little plugin, called Page Links To.

Page Links To has basically one purpose. According to the author you can “make a WordPress page or post link to a URL of your choosing, instead of its WordPress page or post URL.” Exactly what I was looking for!

Like most other plugins downloading the page-links-to.zip file, unpacking and uploading the plugin folder to the /wp-content/plugins/ directory, and activating the plugin was simple.

Then, all you have to do is make a new WP page by entering its title and leaving the content blank. Scroll down to the Page Links To widget and enter the URL that you want your page to link to. Here, you can choose whether the redirect is 302-a temporary move, or not. The default is 301-permanent move. That’s it!

Verify that all went smoothly by clicking on your page and you’ll see that it links to the outside URL. By the way both WordPress pages and posts can point to the URLs that you like. Might be great for resource pages or links to related sites.

Page Links To works with WordPress 2.8. Thanks, Mark!

CSS Rounds Corners in Firefox, But Not in IE8

Firefox/Mozilla browsers are gaining shares of the browser market and for good reason. Upbeat features let the user take complete control of their browsing experience, which is one main reason behind their gaining popularity. Add-On tools can help most any website developer to see that their site is put together in a valid way and that has pushed Firefox use among developers to probably a very high level. I still have yet to hear another web developer state that they prefer IE over Firefox, and I’m pretty sure that all of us have cursed IE6!

Firefox also champions the use of future CSS, which are CSS features that will only be seen by IE users at some time in the future. Ok, I made that up, but since Internet Explorer is playing the catchup game, I think it’s only fitting to point out an example.

Looking at some CSS basics…we have a way to draw a box around some content. It’s called the border property. The top, left, right and bottom sides of the box can be assigned diferent values for the width, style and color. Each of these values can be assigned separately or all at once.


.box {
border-width: 1px;
border-style: solid;
border-color: #000;

All together, in the order width, style, color:

.box {
border: 1px solid #d1d1d1;

If you want to have different widths, styles or colors for your box, then you’ll have to use the properties that target each side, like so:

.box {
border-left: 1px dashed #000;
border-right: 2px solid #5ca3b7;
border-top: 1px dashed #000;
border-bottom: 2px solid #5ca3b7;

That’s nice, but sometimes we really don’t want the square boxy look. Rounded corners are nice, aren’t they? Well, our Firefox users can see rounded corners for the same box that we’ve built for our menu. All we have to do is add one property to the menu, called the -moz-border-radius, and specify its size. IE simply ignores this property, so those boxes will show pointed corners.

.roundedbox {

The 10 pixel radius is the size of the rounded corner. We probably want to add a little padding to the menu box so the content isn’t smashed against the border, so we’ll set that at 10 px, too.

Here’s a menu box that will show rounded corners in Firefox/Mozilla browsers:

.roundedbox {
border:1px solid #5ca3b7;

There are ways to get the rounded corner look in IE browsers, but it’s a bit more work. For now, we’ll continue to use the -moz-border-radius property in appreciation of our Firefox users.

Batch Replace Plug-in for HTML-Kit

Batch replacing a bunch of lines across multiple files would save tons of time as compared to manually editing each file. I had 41 files to update and cringed at the thought of doing all the updates by hand. Then I remembered about the Batch Replace plugin for the editor I use, HTML-Kit.

I couldn’t get this plug-in to work until I changed “.php” to “*.*” in the ‘include files of type’ box. When I tried that it took mere seconds for the software to replace 180 instances of a single change across all my files in the designated folder.

Fantastic savings of time and effort! Thanks Chami!