× Here you can get community support related to ReDJ.

Virtuemart products migration.

  • guiner
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 5 months ago - 9 years 5 months ago #3243 by guiner
Virtuemart products migration. was created by guiner
Hi!

I have a site with virtuemart 1.1.9
I have over 4000 products
The links (vm1.1.9) Has no current links sulfix.
Example:

www.meusite.com/product/category/mypageproduct

In my new site, the links (vm2) Has current links sulfix.

Example:

www.meusite.com/product/category/mypageproduct.html

I need redirect 301 for old links

www.meusite.com/product/category/mypageproduct
to
www.meusite.com/product/category/mypageproduct.html


Is possible?


Thanks
Last edit: 9 years 5 months ago by guiner.

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

More
9 years 5 months ago #3244 by admin
Replied by admin on topic Virtuemart products migration.
Try this rule:
From URL: ^/product/category/
To URL: {scheme}://{host}{pathrtrim .html}
Skip: \.html$
Requst only: true (checked)

Kind regards,
Luigi

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

  • guiner
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 5 months ago #3245 by guiner
Replied by guiner on topic Virtuemart products migration.
Thanks for the reply

The result was:

"This webpage has a redirect loop"

:(

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

More
9 years 5 months ago #3246 by admin
Replied by admin on topic Virtuemart products migration.
Can you provide me a full URL to test for the loop? Send me an email at info(at)selfget.com so I can check and fix the rule (at the moment is not clear which causes the loop). If possible, provide me a screensot of the rule settings.

Thanks,
Luigi

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

  • guiner
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 5 months ago - 9 years 5 months ago #3247 by guiner
Replied by guiner on topic Virtuemart products migration.
Hi.

Sorry for my english :)

My new site is still in development.

Scenario new site:

My joomla is 2.5 and the suffix is not entitled in the config.

My VM config is with SEO sufix ".html"

The old VM site had no suffix.

In the google all links of the products are without suffix.

Necessary that all of the links on google products without the suffix are redirected to the page with the suffix.

Note: The domain of the old site will be the same for the new site.

Thank you for your attention. :)
Attachments:
Last edit: 9 years 5 months ago by guiner.

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

More
9 years 5 months ago #3249 by admin
Replied by admin on topic Virtuemart products migration.
I realized that the To URL was wrong. I tried to rempve .html insted of add it.

Try this:
From URL: ^/product/category/
To URL: {scheme}://{host}{path}.html
Skip: \.html$
Requst only: true (checked)

Let me know...

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

Time to create page: 0.102 seconds