| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
R0berto
Joined: 10 Dec 2007 Posts: 3
|
Posted: Mon Dec 10, 2007 8:03 pm Post subject: change [text] to (text) and add to url |
|
|
Hi there,
for my board I'd like to be able to include the text between [], and preferably change it to (text-here)-url (but any other clear and usable separator will too)
This is because the tags which are between [] are quite important on my board, and therefore also important for the indexing.
I looked into your code for a while, but I couldn't find the lines.
also, a search for `brackets` on this board didn't help me much either...
so, I'd be helped a great deal if you could point me in the right direction  |
|
|
| Back to top |
|
 |
|
 |
SeO Administrateur - Site Admin

Joined: 15 Mar 2006 Posts: 3477
|
Posted: Mon Dec 10, 2007 8:30 pm Post subject: Re: change [text] to (text) and add to url |
|
|
it's in phpbb_seo/phpbb_seo_class.php :
| Code: | | $url = preg_replace('`\[.*\]`U','',$url); |
You can just delete this line if you want a tiitle like "[something] something else" to be injected like this : "something-something-else". |
_________________ phpBB SEO || SEO Forum || Forum Référencement
GYM Sitemap & RSS for phpBB3 has been released ! || GYM Sitemap & RSS for phpBB3 est disponible ! |
|
| Back to top |
|
 |
R0berto
Joined: 10 Dec 2007 Posts: 3
|
Posted: Mon Dec 10, 2007 8:31 pm Post subject: Re: change [text] to (text) and add to url |
|
|
| thanks a million!! |
|
|
| Back to top |
|
 |
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |