I have a problem with internal links I add with this extension.

Here on screenshot I put a link on some page on my forum:


Then, in published post external link is OK, see in status bar at the bottom:


But internal link has been cut down:


I put screenshots from my local test forum, but on the real forum online there is the same problem.

Please help me to resolve this issue.

kmbxxx wrote:

Moderator extension

Where can I get this one?
Many thanks


(4 replies, posted in PunBB 1.3 troubleshooting)

We installed WYSWYG Editor Extension, but it didn't work because nginx disabled .htm

Page Not found (Error 404): The requested page extensions/punbb_wysiwyg/tiny_mce/themes/advanced/source_editor.htm could not be found.

Upon our investigation, the problem was in this line:

rewrite /.*[^(.php|.css|.png|.jpg|.gif)]$ /rewrite.php last;

A better solution:

location /  {
   try_files $uri $uri/ @rewrite;

location @rewrite {
    include /etc/nginx/fastcgi_params;
    fastcgi_param SCRIPT_NAME /rewrite.php;
    fastcgi_param SCRIPT_FILENAME $document_root/rewrite.php;

It worked on nginx/0.8.35, not sure about older versions.