Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
PHP How-To Post your "How do I do this with PHP?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old September 21st, 2011, 02:50 PM
Friend of Wrox
Join Date: Apr 2005
Posts: 128
Thanks: 0
Thanked 0 Times in 0 Posts
Default Creating cutom url for Custom WordPress page

Hi All,

I have a Project running on WordPress, which is built on Cutom WordPress theme. It has only 2 pages. On the index page there is a screen that shows Post thumbnails & excerpts in a gallery. When the current post image is clicked it will take to the 2nd page which opens up the entire post. Currently the url for the detail page is not SEO friendly & shows hard-coded querystrings.

I need the page to be redirected with a friendly url which shoes only the Title of the post.

Please check :
http://www.automagi.no/new/wordpress/ - this is the front-end. When you click on the 1st screen Post thumbnail it takes you to the details page like http://www.automagi.no/new/wordpress...ils.php?pid=NQ==

I want the url of the 2nd page something like - http://www.automagi.no/new/wordpress/postname

I'm currently using a normal PHP hyperlink redirect like =
<a href="

How can I achieve a friendly url to indicate just the postname. I have tried custom permalinks but they don't work on custom pages.

Any help on this would be appreciated.

Best Regards,

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to print a web page without title, URL, page #, date and time Mattt C# 2 July 17th, 2009 03:02 AM
Creating a custom sheet kamsach ASP.NET 1.0 and 1.1 Basics 2 September 6th, 2006 11:49 PM
creating custom page ajindal General .NET 2 July 19th, 2006 05:17 AM
Need help for creating custom component chocolate Biztalk 1 March 23rd, 2006 06:21 AM
Creating Web Custom Controls Lerik C# 2005 0 January 6th, 2006 04:55 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.