Don’t have Permalinks on?

Filed under: Using WP-United — Jhong at 6:03 pm on Thursday, March 1, 2007

WP-United is now well-tested with PermaLinks — the nice-style URLs that Search engine spiders find easier to crawl and index. Since v0.8.9.x, you don’t have to mod any files to set them up - however you want them.

If you are not currently using Permalinks with WP-United, you should seriously consider doing so. You’ll be surprised at the difference they make. At the very least, your site will have pretty and easily navigable addresses. If you’ve enabled per-user blogs, your users will surely appreciate yoursite.com/blogs/author/myname far more than an ugly query string.

Here’s how to do it:

  • Have you renamed your blog.php to something else? For example, if you rename it to index.php, it can be browsed as the default directory file. It doesn’t have to be, however (this site uses portal.php). You can name it whatever you want, and still set it as the preferred directory index in Apache or IIS.
  • If you’ve made any changes to the address used to enter your integrated blog, run the WP-United Setup Wizard (or the settings page) again, and provide the new address.
  • Then, go ahead and activate WordPress permalinks now (in the WordPress admin panel, under options). WordPress will create a .htaccess file for you to rewrite pretty URLs to the correct places
  • WordPress assumes that your entry page is always index.php. If it is, then all is good, and you’re done. If it’s not (again, for example, this site uses portal.php), then open up the .htaccess file created, and change ‘index.php’ to the correct filename. It’s that simple. However, WordPress is quite insistent, and will take every opporunity to change it back to index.php — so set (CHMOD) the file to read-only. And you’re all set.
  • If you still still have a “cruft” (e.g.  filename.php) in the access address, WordPress will have a hard time creating a .htaccess file for you, and will spit errors at you when you activate PermaLinks. The good news: You don’t need it to create a .htaccess file. Under Apache, at least, the new URLs will Just Work.

So what are you waiting for?

1 Comment »

Trackback by Ephedra.

7 July 2007 @ 10:40 am

Twinlab metabolift with ephedra….

Connecticut ephedra lawyers. Georgia ephedra lawyers….

RSS feed for comments on this post. TrackBack URI

Leave a comment

You must be logged in to post a comment.