Log in

View Full Version : how to replace 20% to - or underscore in theard url?


Qleb
11-09-2008, 06:06 PM
Hi

im looking to remove the 20% ( spaces ) from the Theard URL and replace it with hypen or underscore

example :

https://vborg.vbsupport.ru/how%20i20%remove%20this.html

i need it like

https://vborg.vbsupport.ru/how-i-remove-this.html

i try to use

$what_here = str_replace( ' ', '_', $what_here);

and i dono where to use it

ill donate the developer how give me hand with this :D

so please guys if thier is any way to do that ill pay for it

Lynne
11-09-2008, 06:11 PM
You will need to ask the modification coder. They know where the code is done and what to do to modify it.

Qleb
11-09-2008, 06:20 PM
ok

i need to replace the theard URL to the title

whatever ,ill give u example for forum title

if i need to replace the forum URL with forum title

i modifyed forumhome_forumbit_level1_nopost

the forum orginal url is

forumdisplay.php?$session[sessionurl]f=$forum[forumid]

after

f-$session[sessionurl]$forum[title].html

then its appers ike this

/games%20section.html

i need it to appears like this

/games-section.html

how to do this ?

Lynne
11-09-2008, 06:55 PM
It is a modification - it's SEO. I think what you want is something like this - vRewrite - SEOed URLs for vBulletin (https://vborg.vbsupport.ru/showthread.php?t=104484&highlight=seo%2A)