× Here you can get community support related to ReDJ.

unable to redirect content from folder

  • jennyscakes
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 6 months ago #3909 by jennyscakes
unable to redirect content from folder was created by jennyscakes
hi, trying to redirect about 150 html pages to about 12 'section' menu pages in joomla. for example, would like

www.jennys-cakes.com/old-site/bride-and-groom-wedding-cake-A.htm
www.jennys-cakes.com/old-site/bride-and-groom-wedding-cake-B.htm
www.jennys-cakes.com/old-site/bride-and-groom-wedding-cake-C.htm
from the old html site to be redirected to
www.jennys-cakes.com/wedding-cakes/bride-and-groom-wedding-cakes
on the joomla site.

have tried all sorts of wildcards, none of which working, and even as last resort just tried redirecting from
www.jennys-cakes.com/old-site/bride-and-groom-wedding-cake-A.htm to
www.jennys-cakes.com/wedding-cakes/bride-and-groom-wedding-cakes
and even this is not working.
As an aside, checking the .htaccess file and cannot see anything added in here by redj, don't know if this is normal or not. Any help much appreciated!

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

More
9 years 6 months ago - 9 years 6 months ago #3910 by admin
Replied by admin on topic unable to redirect content from folder
Hi,
the rule should be:
From URL: ^/old-site/bride-and-groom-wedding-cake-
To URL: {scheme}://{siteurl}/wedding-cakes/bride-and-groom-wedding-cakes
Request only: true (checked)

The From URL will match any URL in the form:

www.jennys-cakes.com/old-site/bride-and-groom-wedding-cake-WHATEVER-YOU-WANT

Kind regards,
Luigi
Last edit: 9 years 6 months ago by admin.

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

  • jennyscakes
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 6 months ago #3911 by jennyscakes
Replied by jennyscakes on topic unable to redirect content from folder
Hi Luigi, have carefully followed your suggestions (and cleared browser and joomla cache) but still not working... Should this entry using redj be putting a corresponding entry in the .htaccess file? (not seeing anything relevant in there.) Thanks, Tom

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

  • jennyscakes
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 6 months ago #3912 by jennyscakes
Replied by jennyscakes on topic unable to redirect content from folder
Hi Again,

interestingly, if I try to access a url following the pattern but not actually existing, such as

www.jennys-cakes.com/old-site/bride-and-groom-wedding-cake-wsdfdsfdsfs

this DOES redirect, but using any of the 'actual' urls such as

www.jennys-cakes.com/old-site/bride-and-groom-wedding-cake-B.htm

the redirect does not work.

Could this be related to caching, and if so how could it be sorted?

Many thanks!

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

More
9 years 6 months ago #3913 by admin
Replied by admin on topic unable to redirect content from folder
Hi Tom,
I have a suspect, please, tell me if this is your scenario.

It seems you have ReDJ on the new site, and there is still a real site under /old-site. So, when you call an OLD existing page, it is provided by the web server, while when you call a NON-existing page, the error is passed to ReDJ which redirects the client.

Is it right?

Sincerely,
Luigi

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

  • jennyscakes
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 6 months ago #3914 by jennyscakes
Replied by jennyscakes on topic unable to redirect content from folder
yes Luigi, this is precisely the situation...

Is there a solution? (fingers crossed!) Thanks, Tom

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

Time to create page: 0.159 seconds