Problems, need help? Have a tip or advice? Post it here.
7 posts Page 1 of 1
Hi, KK :)

I turned on Pretty Urls and generated .htaccess file.

1. I've got 500 error and managed to get to normal when commented this option:
Code: Select all
Options +FollowSymlinks 
#-MultiViews


2. Now it's working fine on all the pages|folders with latin filenames like /contacts.php goes straight to /contacts/

However with russian filenames I got an issue:
the page shows "This webpage has a redirect loop"

I eliminated all other template pages redirects and left just this string and it gives a loop:
Code: Select all
RewriteRule ^матрасы2/index.php$ "матрасы2/" [R=301,L,QSA]

What do you think of it?
Join COUCH:TALK channel here https://t.me/couchcms_chat
Ryazania — a framework to boost productivity with Add-ons viewtopic.php?f=2&t=13475
Support my efforts to help the community https://boosty.to/trendo/donate
Hi @trendoman :)

Any chance I could get to see the problem first-hand?
Please PM me the FTP+Couch creds, if so.

Thanks.
Code: Select all
^матрасы2/index.php$ 

Is this your member or extended user template mate?
As soon as possible!

Touch me up : abada[dot]zulma[at]gmail[dot]com
@KK, pm-ed the creds.
@GoingMarryAsap, it happens as well with just simple gallery template, with disabled extended folders.

Will hope for KK would shed some light :)
Join COUCH:TALK channel here https://t.me/couchcms_chat
Ryazania — a framework to boost productivity with Add-ons viewtopic.php?f=2&t=13475
Support my efforts to help the community https://boosty.to/trendo/donate
Thanks @trendoman.

I had a look and, I think, could see what was going wrong.

Have applied a fix on your setup.
Please test and let me know if things are working ok now.

Thanks.
KK wrote: Thanks @trendoman.

I had a look and, I think, could see what was going wrong.

Have applied a fix on your setup.
Please test and let me know if things are working ok now.

Thanks.


Yeah, it's working great! :P
What should I do to make it work on other projects? Thanks! :D
Join COUCH:TALK channel here https://t.me/couchcms_chat
Ryazania — a framework to boost productivity with Add-ons viewtopic.php?f=2&t=13475
Support my efforts to help the community https://boosty.to/trendo/donate
I had make the following change to 'couch/functions.php' (line 882) -

Original:
Code: Select all
$chopped_url['path'] = trim( preg_replace( '|/index\.php/*?$|', '/', $chopped_url['path']) );

Modified:
Code: Select all
$chopped_url['path'] = trim( preg_replace( '|/index\.php/*?$|', '/', urldecode($chopped_url['path'])) );

Will update the GitHub repository too shortly.

Thanks for your help :)
7 posts Page 1 of 1