redirect rule
-
ppeer
-
Topic Author
-
Offline
-
Junior Member
-
Less
More
-
Posts: 25
-
Thank you received: 0
-
-
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
10 years 10 months ago #2476
by admin
Hi Peter,
do you mean a rule to redirect ANY URL with this structure?
http://example.org/<short-alias>
If this is not the case, the rule is really simple (this is why I guess is not so):
From URL: ^/deep-house-cat$
To URL: http://{siteurl}/index.php?option=com_jumi&view=application&fileid=2&urlplaylist=deep-house-cat
Request only: true (checked)
Kind regards,
Luigi
Please Log in or Create an account to join the conversation.
-
ppeer
-
Topic Author
-
Offline
-
Junior Member
-
Less
More
-
Posts: 25
-
Thank you received: 0
-
-
10 years 10 months ago #2477
by ppeer
Ha Luigi,
Yes I do mean to redirect ANY rule with that structure.
Regards,
Peter
Please Log in or Create an account to join the conversation.
-
ppeer
-
Topic Author
-
Offline
-
Junior Member
-
Less
More
-
Posts: 25
-
Thank you received: 0
-
-
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
10 years 10 months ago #2479
by admin
To redirect ANY URL with this "single folder" structure:
Try this:
From URL: ^/[^/]+$
To URL: http://{siteurl}/index.php?option=com_jumi&view=application&fileid=2&urlplaylist={pathltrim /}
Request only: true (checked)
The "trick" is in the [^/]+ that means "one or more chars NOT /". So this will NOT match
www.example.org/section/blabla.
Kind regards,
Luigi
Please Log in or Create an account to join the conversation.
-
ppeer
-
Topic Author
-
Offline
-
Junior Member
-
Less
More
-
Posts: 25
-
Thank you received: 0
-
-
10 years 10 months ago - 10 years 10 months ago #2480
by ppeer
Last edit: 10 years 10 months ago by ppeer.
Please Log in or Create an account to join the conversation.
Time to create page: 0.163 seconds