redj to non existing page
-
tasso
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 3
-
Thank you received: 0
-
-
8 years 3 months ago - 8 years 3 months ago #5207
by tasso
Last edit: 8 years 3 months ago by tasso.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
8 years 3 months ago - 8 years 3 months ago #5209
by admin
Hi,
add this at the end of your .htaccess file:
The ReDJ rule is:
From URL: ^/ekoredirect\.php\?id=THISCODECANCHANGEALFANUM$
To URL: {scheme}://{siteurl}/index.php?option=com_chronoforms5&chronoform=ekoredirect?id=THISCODECANCHANGEALFANUM
Request only: true (checked)
Kind regards
Luigi
Last edit: 8 years 3 months ago by admin.
Please Log in or Create an account to join the conversation.
-
tasso
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 3
-
Thank you received: 0
-
-
8 years 3 months ago #5210
by tasso
i try but don't work.
My web server is nginx but i add in the config file for nginx (for joomla)
location / {
try_files $uri $uri/ /index.php?q=$request_uri;
}
all the normal joomla redirect works.
Any idea ?
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
8 years 3 months ago #5211
by admin
For nginx the directive should be:
The "trick" is to instruct the web server to NOT manage the 404 directly, but to pass control to Joomla.
Kind regards,
Luigi
Please Log in or Create an account to join the conversation.
-
tasso
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 3
-
Thank you received: 0
-
-
8 years 3 months ago #5221
by tasso
Thanks to suggestion, i found the problem. I write the solution for other peple maybe need this.
i use nginx but with php-fpm (fast CGI) and the proper config for the nginx file is:
location / {
error_page 404 = /;
try_files $uri $uri/ /index.php?q=$request_uri;
}
location ~ \.php$ {
fastcgi_intercept_errors on;
error_page 404 = /;
}
Thanks for wonderful support
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
Time to create page: 0.142 seconds