extension and nginx configuration

Changes the URLs of forums and topics too more SEO friendly URLs with the title of the forums and topics in it. This extension is held as simple as possible, it contains no ACP, you can just install it and use the SEO friendly URLs.
Post Reply
ulakk
Benutzer
Benutzer
Posts: 1
Joined: 19. Aug 2016 21:03
phpBB Version: 2.0

extension and nginx configuration

Post by ulakk » 19. Aug 2016 21:09

Hi,
I am using your extension with nginx. I configured my nginx with this :

Code: Select all

location / {
	rewrite ^/(.*)-f([0-9]*)/(.*)-t([0-9]*)-s([0-9]*).html /viewtopic.php?f=$2&t=$4&start=$5&$query_string break;
	rewrite ^/(.*)-f([0-9]*)/(.*)-t([0-9]*).html /viewtopic.php?f=$2&t=$4&$query_string break;
	rewrite ^/(.*)-f([0-9]*)/index-s([0-9]*).html /viewforum.php?f=$2&start=$3&$query_string break;
	rewrite ^/(.*)-f([0-9]*)/ /viewforum.php?f=$2&$query_string break;
	rewrite ^/(.*)-f([0-9]*) /viewforum.php?f=$2&$query_string break;
}
But, did'nt work for me. After intsall and configured this extension, when i click the first forum link, and begin the download.
Are there any solution?
For example my phpbb forum adress : http://forum.ulakk.com

User avatar
tas2580
Site Admin
Site Admin
Posts: 87
Joined: 30. Apr 2016 23:29
Location: /home/tas2580
phpBB Version: 3.2
Contact:

Re: extension and nginx configuration

Post by tas2580 » 25. Aug 2016 03:38

At now it seems to work. What was the solution?

Post Reply

Social Media

       

Who is online

Users browsing this forum: No registered users and 1 guest