Please, need help with a redirect rule
-
rafpv
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 3
-
Thank you received: 0
-
-
11 years 3 months ago #1438
by rafpv
Hi,
Thanks for your great plugin/component!
I created this redirect rule: mysite/noticias to mysite/lista-noticias. But I want to specify it a bit more. I don't want the redirect to work case my url contains any addiontal path or any query.
Examples that should not be redirected:
mysite/noticias/addionalpath
mysite/noticias?somequery
The only case that should be redirected:
mysite/noticias
Its possible to create this kind of rule? How?
Thanks in advice,
Rafael
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
11 years 3 months ago #1440
by admin
Hi Rafael,
just add the dollar sign at the end ($ means "end with"). That's all...
Kind regards,
Luigi
Please Log in or Create an account to join the conversation.
-
rafpv
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 3
-
Thank you received: 0
-
-
11 years 3 months ago #1441
by rafpv
Hi Luigi,
Thanks for your reply.
Unfortunately, it did not work.
My from URL now is: /noticias$
My to URL is: http://{siteurl}/lista-de-noticias
When I try to access http://localhost:8888/mysite/noticias/238-teste123 I keep getting redirected to http://localhost:8888/mysite/lista-de-noticias.
I am missing something?
Rafael
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
11 years 3 months ago #1443
by admin
Hi Rafael,
there must be something else. First, try to clear browser cache and retry. If the problem persists, send me a dump of your redj table at info(at)selfget.com. Your site is on localhost so I cannot access to backend and fix the issue for you. But we can schedule a remote session using Team Viewer, if needed.
Kind regards,
Luigi
Please Log in or Create an account to join the conversation.
-
rafpv
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 3
-
Thank you received: 0
-
-
11 years 3 months ago #1446
by rafpv
Hi Luigi,
Clearing the browser cache solved my problems. The redirect is correct now.
Thank you very much!
Rafael
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
Time to create page: 0.120 seconds