Redirection not working
-
rubold
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 2
-
Thank you received: 0
-
-
9 years 10 months ago - 9 years 10 months ago #3993
by rubold
Last edit: 9 years 10 months ago by rubold.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
9 years 10 months ago #3996
by admin
Hi Laszlo,
of course I can help you. Unfortunately I am not able to see the details in the screenshot, but it seems you forgot to escape the question mark. The "From URL" is a regular expression (it could match many URLs), and special chars like the question mark must be escaped with a backslash ahead when literal. So try this rule (literally, it uses macros in the target URL, to increase portability):
From URL: ^/component/virtuemart/felnott-tarsasok/paros-jatszma-termek\?Itemid=0$
To URL: {scheme}://{siteurl}/paros-jatszma
Request only: true (checked)
But I guess this is also a better rule:
From URL: ^/component/virtuemart/felnott-tarsasok/paros-jatszma-termek
To URL: {scheme}://{siteurl}/paros-jatszma
Request only: true (checked)
Kind regards,
Luigi
Please Log in or Create an account to join the conversation.
-
rubold
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 2
-
Thank you received: 0
-
-
9 years 10 months ago #3998
by rubold
Hi Luigi,
The better rule is the best rule! It worked like a charm.
I should have spend more time to learn these macros, but thanks to your top-notch support my problem is solved
Thanks again and have a nice day!
Best regards,
Laszlo
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
9 years 10 months ago #3999
by admin
Hi Laszlo,
thank you and have a nice week you too...
For any further request, you are welcome.
Kind regards,
Luigi
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 1
-
Thank you received: 0
-
-
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
9 years 9 months ago #4021
by admin
Hi Bill,
assuming you need to redirect:
www.mastercraftroofinggroup.com/about-us/ (with www)
To:
mastercraftroofinggroup.com/about-mrg
The rule is the following:
From URL: ^https?://www\.mastercraftroofinggroup\.com/about-us/$
To URL: {scheme}://mastercraftroofinggroup.com/about-mrg
Request only: false (unchecked)
Kind regards,
Luigi
Please Log in or Create an account to join the conversation.
Time to create page: 0.152 seconds