Recent Topics

1 May 16, 2010 04:53    

My b2evolution Version: Not Entered

I want to change item's permalink from

mydomain.com/this-is-an-item-title (item#34)

to the p variable

mydomain.com/?p=34

but still keep the title as is.

to make it crystal clear simply:

<h2><a href="?p=123">This is an item title</a></h2>

and is there anyway to change ?p= to ?s= sth (: ?

2 May 16, 2010 19:25

admin > blog settings > urls > posts > use id's

changing it to "s" would spark off search which would fail on id's but :

echo '<h2><a href="'.str_replace( 'p=', 's=', $Item->get_permanent_url() ).'" title=" read all about '.format_to_output( $Item->title ), 'formvalue' ).' ">'.$Item->dget('title').'</a></h2>'

Obviously that'll only work after you change urls to "use id" ;)

Free-typed as always :D

¥

3 May 17, 2010 02:00

i see but i want ...com/category/post-title urls to be generated, nvm.. i will figure a way out.. how were we displaying title without permalink ?


Form is loading...