TinyPortal

Development => Support => Topic started by: alving on April 26, 2010, 09:43:10 AM

Title: page name
Post by: alving on April 26, 2010, 09:43:10 AM
is it possible to show a custom url name for articles(whether html or php) instead of page numbers..  usually they appear as www.site.com/index.php?page=19 can they be www.site.com/index.php?page=articlename (or other names)

still using TP 0.9.8 here and SMF1.1.11..

thanks in advance..
Title: Re: page name
Post by: G6Cad on April 26, 2010, 10:12:47 AM
Yes, you can name the article to a page instead of a number, check where you create your article and look at the settings there :)
Title: Re: page name
Post by: IchBin on April 26, 2010, 05:37:49 PM
Hmm... I can't remember if TP 0.9.8 had that feature. If you don't see a text box right below the title text box when editing your article, you'll have to upgrade to TP 1 beta5-1 to get that feature.
Title: Re: page name
Post by: Ken. on April 26, 2010, 06:00:05 PM
Quote from: IchBinâ„¢ on April 26, 2010, 05:37:49 PM
Hmm... I can't remember if TP 0.9.8 had that feature. If you don't see a text box right below the title text box when editing your article, you'll have to upgrade to TP 1 beta5-1 to get that feature.

That is a feature of TP 0.9.8, when composing or editing an article you can specify a 'Query title:", as in this example.
http://www.ourfamilyforum.org/tp098/index.php

Title: Re: page name
Post by: IchBin on April 26, 2010, 06:17:23 PM
Didn't have an old version installed to confirm. Thanks Ken!
Title: Re: page name
Post by: Ken. on April 26, 2010, 06:40:36 PM
Welcome.  ^-^
Title: Re: page name
Post by: lurkalot on April 26, 2010, 07:50:21 PM
Quote from: Ken. on April 26, 2010, 06:00:05 PM
Quote from: IchBinâ„¢ on April 26, 2010, 05:37:49 PM
Hmm... I can't remember if TP 0.9.8 had that feature. If you don't see a text box right below the title text box when editing your article, you'll have to upgrade to TP 1 beta5-1 to get that feature.

That is a feature of TP 0.9.8, when composing or editing an article you can specify a 'Query title:", as in this example.
http://www.ourfamilyforum.org/tp098/index.php



Ken, where does this Query title show when viewing the page?  Anything you put in the main title shows at the top of the browser. 

The address bar still shows the article address, http://www.ourfamilyforum.org/tp098/index.php?page=5
What does the Query title do?  I've often wondered lol..
Title: Re: page name
Post by: IchBin on April 26, 2010, 08:03:13 PM
You can use the query title for a link instead. It doesn't do anything special to my knowledge other than make the URL prettier.
Title: Re: page name
Post by: JPDeni on April 26, 2010, 08:20:16 PM
Right. On my site,

http://www.morethanspike.com/index.php?page=bio

and

http://www.morethanspike.com/index.php?page=4

take you to the same page. It makes it a bit easier to remember what the URL is of the article if you're creating a button or a page of links.
Title: Re: page name
Post by: lurkalot on April 26, 2010, 08:58:03 PM
Thanks.  I've only been using TP for a couple of years, (well since October 2007 actually) :D

And still learning.   ;)
Title: Re: page name
Post by: Freddy on April 26, 2010, 09:01:18 PM
I think it also helps with search engines when they index pages.
Title: Re: page name
Post by: alving on April 26, 2010, 10:17:51 PM
thanks for all the response!  i will try this out later