× Here you can get community support related to ReDJ.

Page moved from main menu to sub menu

  • Marchert
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 9 months ago #194 by Marchert
Page moved from main menu to sub menu was created by Marchert
Hello,

I try to redirect a page which was in the main menu on the old site and now moved to a sub menu on the new site.

Example:

Old: www.oldsite.com/en/page.html

New: www.newsite.com/submenu/page.html

On the new site there is only 1 language so I trimmed "en" out with:

From: /en/
To: http://{siteurl}{pathfrombaseltrim /en}

Then I created a new redirect rule (ordered after the one above):

From: ^/page\.html$
To: http://{siteurl}/submenu/page.html

But this does not work (redriects to the root)

Peter

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

More
11 years 9 months ago #195 by admin
Replied by admin on topic Re: Page moved from main menu to sub menu
Hi Peter,
just a question I don't understand. oldsite and newsite are two different domains and joomla sites? Or is the same joomla and you need a double redirect?

Please, advise.
Luigi

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

  • Marchert
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 9 months ago #196 by Marchert
Replied by Marchert on topic Re: Page moved from main menu to sub menu
Hello Luigi,

thank you for your reply.

Yes, that was a bad example because old and new site is the same domain, sorry.

So it has to be:

Old: www.site.com/en/page.html

New: www.site.com/submenu/page.html

In the meantime I tried:

From: ^http://{siteurl}/page\.html

but this is not the solution.

Peter

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

More
11 years 9 months ago - 11 years 9 months ago #197 by admin
Replied by admin on topic Re: Page moved from main menu to sub menu
Try this:
From URL: ^/en/page\.html$
To URL: http://{siteurl}/submenu/page.html
Request only: true

This should work. If not, there are something with other rules, and I need the table dump. You can send via email using info(at)selfget.com.

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

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

  • Marchert
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 9 months ago #198 by Marchert
Replied by Marchert on topic Re: Page moved from main menu to sub menu
Thank you, but it does not work.

For testing I have deactivated all other rules - so it can not be a conflict. I have also cleared my browser cache before I did made changes.

Any other ideas?

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

More
11 years 9 months ago #199 by admin
Replied by admin on topic Re: Page moved from main menu to sub menu
Yes,
send me an email with the full URL so I can test by myself. Also I could check settings for you, I need a temp backend access or we can do together using a remote desktop solution like TeamViewer. Just send me an email at info(at)selfget.com.

Kind regards,
Luigi

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

Time to create page: 0.180 seconds