Redirect from an old folder to a new one, Problem
-
danpoole
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 2
-
Thank you received: 0
-
-
10 years 1 week ago - 10 years 1 week ago #3767
by danpoole
Hi, I can't get my head around this.
I want to redirect this page
www.calxa.com.au/support-notes/kb/before-you-begin
To this page
223.130.27.39/~calxacom/help-center/item/before-you-begin
and only swap around the
support-notes/kb with
help-center/item.
Naturally the
223.130.27.39/~calxacom is only a testing server but does that matter? The base path on the testing server is public_html and I am using the Joomla SEF URLs on the testing (To URL) site. The other site (From URL) is Joomla 1.5 and using the JoomSEF component
I am trying to use this...
From URL: ^/category/oldfolder/
To URL: {scheme}://{siteurl}/category/newfolder/{pathltrim /category/oldfolder/}{queryfull}
Request only: true (checked}
but my version is this...
^/support-notes/kb/
{scheme}://{siteurl}/help-center/item/{pathltrim /support-notes/kb/}{queryfull}
Can you please let me know where I am going wrong.
Last edit: 10 years 1 week ago by danpoole.
Please Log in or Create an account to join the conversation.
-
danpoole
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 2
-
Thank you received: 0
-
-
10 years 1 week ago #3769
by danpoole
I have been playing with this for the last few hours and this is simply what I am trying to do.
From URL:
www.calxa.com.au/support-notes/kb/before-you-begin
To URL:
223.130.27.39/~calxacom/help-center/item/before-you-begin
This address '
223.130.27.39/~calxacom' soon be '
www.calxa.com.au' but all I need to do is replace '/support-notes/kb/' with '/help-center/item/' and keep the 'before-you-begin' on the end, the 'before-you-begin' is also the variable and will change.
I hate problem solving at 2:35am
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
10 years 1 week ago - 10 years 1 week ago #3770
by admin
Hi,
first I am not sure what you are trying to do, because ReDJ should be installed on the source site (From URL), and it seems strange you need a redirect versus a work in progress site. Anyway assuming that ReDJ is on the
www.calxa.com.au/ site, you can create a rule as follow:
From URL: ^/support-notes/kb/
To URL: http://223.130.27.39/~calxacom/help-center/item/{pathltrim /support-notes/kb/}{queryfull}
Request only: true
On the target you cannot use {scheme} and {siteurl} because your destination is on a different server/domain.
Kind regards,
Luigi
Last edit: 10 years 1 week ago by admin.
Please Log in or Create an account to join the conversation.
Time to create page: 0.147 seconds