The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

How to do it like in the

  • # June 12, 2008 at 6:13 pm

    Hi Everybody,

    I am using pretty links in my wordpress. So my links are like

    When I click on for example videos tab on it takes me to a URL like I believe Chris did that page manually?

    So I am about to make my blog online and I really wonder how can I do this? Am I suppose to open that folder called videos in the root, and do some magic stuff in in .htaccess?

    If it is like that how come the URL is not

    And help will be very much appreciated,

    Best Regards

    # June 13, 2008 at 12:09 am

    This reply has been reported for inappropriate content.

    The videos section is hand-coded, not part of WordPress, like you mentioned. The full link is actually:

    You don’t need the "index.php" part at the end because the host that I’m on is smart enough to look for a matching index file. I am thinking about moving these inside of WordPress though, at some point. Hand coding each page just isn’t the best solution. What’s cool about WordPress 2.5 is that you can build special page templates. So I could build a "videos" template and create a "page" for each video. Would be a lot easier on my part… I just gotta get around to doing it. Plus then figuring out a good way to redirect all those existing pages to the new pages (they won’t be able to have the same URL) without breaking any links.

    # June 13, 2008 at 5:16 am

    I understand your point, thank you for your answer, maybe this,, can help you with redirecting the old links to the new ones.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed