× Here you can get community support related to ReDJ.

.cfm with params

More
8 years 5 months ago #4989 by lsg2k
.cfm with params was created by lsg2k
Hi. I need to redirect any urls starting with "inicio.cfm" to actual root of the site
I used the example in the documentation but cant make it work.
Example of urls to redirect:
http://mysite/inicio.cfm?pagina=contenidos_ver&menu_id=79&submenu_id=75&subsubmenu_id=289&tipo_contenido_id=2
and
http://mysite/inicio.cfm
and
http://mysite/inicio.cfm?(anyelse)

From URL: ^/inicio\.cfm
To URL: http://{siteurl}/
Request Only (checked)

Please help me to see my mistake. Thank you

Please Log in or Create an account to join the conversation.

More
8 years 5 months ago #4992 by admin
Replied by admin on topic .cfm with params
Hi,
the rule seems right, so what happens? Does it something or nothing?

Kind regards,
Luigi

Please Log in or Create an account to join the conversation.

More
8 years 5 months ago #4993 by lsg2k
Replied by lsg2k on topic .cfm with params
Thank you for the response, The rule is active and this url sends a 404:

realestatemarket.com.mx/inicio.cfm?pagina=contenidos_ver&menu_id=79&submenu_id=75&subsubmenu_id=289&tipo_contenido_id=2

this too:

realestatemarket.com.mx/inicio.cfm

Could be an htaccess error?

Please Log in or Create an account to join the conversation.

More
8 years 5 months ago #4994 by admin
Replied by admin on topic .cfm with params
You need to add this at the end of your .htaccess file:
ErrorDocument 404 /

Kind regards,
Luigi

Please Log in or Create an account to join the conversation.

More
8 years 5 months ago #4995 by lsg2k
Replied by lsg2k on topic .cfm with params
Great! that fixed it. Thank you Luigi

Please Log in or Create an account to join the conversation.

More
8 years 5 months ago #4996 by admin
Replied by admin on topic .cfm with params
You are welcome.

Please Log in or Create an account to join the conversation.

Time to create page: 0.182 seconds