Register Now


Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.


Register Now

(Solution)How to install phpbb 3.2 seo friendly url plugin?

If you want to configure seo friendly url for seo and to make your addresses clear after installing your phpbb forum, we will install the plugin and install it in this article. (I found this plugin on GitHub and was able to install it successfully.)

After installing this plug-in, your connection addresses will look like the following example;;

Let’s download PhpBB SEO URLs plugin;

Plug-in’s GitHub page

Download Links by Versions;

phpBB 3.1.x or 3.2.x için; İndirme Sayfasıiçin Tıkla  phpBB 2.0.x ; Download ZIP | View Branch phpBB 3.0.x ; Download ZIP | View Branch

How to install the plugin ?

  • Install the compressed plug-in file you downloaded into the folder where the plugins named “/ ext” are hosted.
  • One of the most important steps we need to do later is to create a new folder “tas2580”. And after you unzip the plug-in file, update the folder name to “seourls”.
  • Now it’s time to activate the plugin from forum management.
  • Open the Extension page from the Customize menu and enter the Extensions menu under Management.
  • The available add-ons will be listed here. We find the name of our Seo plugin and enable it.
  • After all this is done by entering the forum as a visitor can visit the pages to see if the link addresses as we want.
  • But you’ll probably notice that it doesn’t support Turkish characters.
  • Since the plug-in is configured to support different languages, we will solve this problem with a small setting.

Webserver Configuration

The configuration codes for all webservers are as follows. You should use code that is compatible with your own webserver;


.htacces Open ve RewriteEngine on Add the following codes to begin with

RewriteBase /
RewriteRule ^(.*)-f([0-9]*)/mcp.php(.*) mcp.php?%{QUERY_STRING} [L,R=301]
RewriteRule ^(.*)-f([0-9]*)/(.*)-t([0-9]*)-s([0-9]*).html viewtopic.php?f=$2&t=$4&start=$5&%{QUERY_STRING} [L]
RewriteRule ^(.*)-f([0-9]*)/(.*)-t([0-9]*).html viewtopic.php?f=$2&t=$4&%{QUERY_STRING} [L]
RewriteRule ^(.*)-f([0-9]*)/index-s([0-9]*).html viewforum.php?f=$2&start=$3&%{QUERY_STRING} [L]
RewriteRule ^(.*)-f([0-9]*)/ viewforum.php?f=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-f([0-9]*) viewforum.php?f=$2&%{QUERY_STRING} [L]

Eğer forumunuz domain.tld/forumum gibi bir subdomainde barınıyorsa kodlardaki  RewriteBase / başlığını RewriteBase /forumumolarak güncellemelisiniz If your forum is hosting a subdomain like domain.tld /forum, you should update the RewriteBase / header in the code to RewriteBase /forum


/etc/nginx/nginx.conf Include the following code in your VHost configuration.

location / {
	rewrite ^/(.*)-f([0-9]*)/mcp.php(.*) mcp.php?$query_string;
	rewrite ^/(.*)-f([0-9]*)/(.*)-t([0-9]*)-s([0-9]*).html /viewtopic.php?f=$2&t=$4&start=$5&$query_string last;
	rewrite ^/(.*)-f([0-9]*)/(.*)-t([0-9]*).html /viewtopic.php?f=$2&t=$4&$query_string last;
	rewrite ^/(.*)-f([0-9]*)/index-s([0-9]*).html /viewforum.php?f=$2&start=$3&$query_string last;
	rewrite ^/(.*)-f([0-9]*)/ /viewforum.php?f=$2&$query_string last;
	rewrite ^/(.*)-f([0-9]*) /viewforum.php?f=$2&$query_string last;


/etc/lighttpd/lighttpd.conf file and include the following code in your VHost configuration.

url.rewrite-once = (
	"/(.*)-f([0-9]*)/(.*)-t([0-9]*)-s([0-9]*).html(\?(.*))?"	=> "/viewtopic.php?f=$2&t=$4&start=$5&$7",
	"/(.*)-f([0-9]*)/(.*)-t([0-9]*).html(\?(.*))?"				=> "/viewtopic.php?f=$2&t=$4&$6",
	"/(.*)-f([0-9]*)/index-s([0-9]*).html(\?(.*))?"				=> "/viewforum.php?f=$2&start=$3&$5",
	"/(.*)-f([0-9]*)/(\?(.*))?"									=> "/viewforum.php?f=$2&$4",

Caddy Webserver

Caddyfile file and include the following code in your VHost configuration.

rewrite {
		regexp /(.*)-f([0-9]*)/(.*)-t([0-9]*)-s([0-9]*).html(\?(.*))?
		to /viewtopic.php?f={2}&t={4}&start={5}&{7}
rewrite {
		regexp /(.*)-f([0-9]*)/(.*)-t([0-9]*).html(\?(.*))?
		to /viewtopic.php?f={2}&t={4}&{6}
rewrite {
		regexp /(.*)-f([0-9]*)/index-s([0-9]*).html(\?(.*))?
		to /viewforum.php?f={2}&start=&{5}
rewrite {
		regexp /(.*)-f([0-9]*)/(\?(.*))?
		to /viewforum.php?f={2}&{4}

Extension Language Configuration;

  • ext/tas2580/seourls/event/ klasörü altındaki base.php dosyasını açalım.
  • Aşağıdaki gördüğümüz birinci array bloku mevcut harfler ve ikinci array bloku ise o mevcut harflerin hangi harflere dönüştürüleceğinin belirlendği bloktur.
  • Bir örnek vereceğğim diğerlerini siz yapabilirsiniz;
  • İlk blokta ü varsa sıralama olarak ona karşılık gelen ikinci bloktaki karakteri olarak düzenliyoruz. ve diğer türkçe harfler için aynısını yaptıktan sonra kaydetdikten sonra işlemler tamamlanmış olacaktır.
$url_search = array( ‘ ‘, ‘í’, ‘ý’, ‘ß’, ‘ö’, ‘ô’, ‘ó’, ‘ò’, ‘ä’, ‘â’, ‘à’, ‘á’, ‘é’, ‘è’, ‘ü’, ‘ú’, ‘ù’, ‘ñ’, ‘ß’, ‘²’, ‘³’, ‘@’, ‘€’, ‘$’, ‘ą’, ‘ć’, ‘ę’, ‘ł’, ‘ń’, ‘ó’, ‘ś’, ‘ż’, ‘ź’, // polish letters ‘ç’, ‘ê’, ‘ë’, ‘ê’, ‘î’, ‘ï’, ‘œ’, ‘û’, // french letters ‘ř’, ‘š’, ‘ž’, ‘ť’, ‘č’, ‘ý’, ‘ů’, ‘ě’, ‘ď’, ‘ň’, //czech letters ‘ç’, ‘ı’, ‘ğ’, ‘ş’, ‘İ’ //türkçe ); $url_replace = array( ‘-‘, ‘i’, ‘y’, ‘s’, ‘o’, ‘o’, ‘o’, ‘o’, ‘ae’, ‘a’, ‘a’, ‘a’, ‘e’, ‘e’, ‘u’, ‘u’, ‘u’, ‘n’, ‘ss’, ‘2’, ‘3’, ‘at’, ‘eur’, ‘usd’, ‘a’, ‘c’, ‘e’, ‘l’, ‘n’, ‘o’, ‘s’, ‘z’, ‘z’, // polish letters ‘c’, ‘e’, ‘e’, ‘e’, ‘i’, ‘i’, ‘oe’, ‘u’, // french letters ‘r’, ‘s’, ‘z’, ‘t’, ‘c’, ‘y’, ‘u’, ‘e’, ‘d’, ‘n’, //czech letters ‘c’, ‘i’, ‘g’, ‘s’, ‘I’//türkçe ); $url = str_replace($url_search, $url_replace, $url); $url = preg_replace(‘/[^\w\d]/’, ‘-‘, $url); $url = preg_replace(‘/[-]{2,}/’, ‘-‘, $url); $url = trim($url, ‘-‘); $url = substr($url, 0, 50); // Max length for a title in URL return urlencode($url);

Comments ( 4 )

  1. Why viewers still make use of to read news papers when in this technological world the whole thing is existing on web?

  2. thx much for the invitation :).
    PS: How are you? I am from France 🙂 very good forum 🙂 mixx

  3. hi, i am woo from Sweden and i want to explain any thing about “pandemic”. Please ask me 🙂

  4. I am expert of pandemic, and i can help you.
    PS: How are you? I am from France :)/ mixx

Leave a reply