Seo redirect and general redirection rule in prestashop

Good evening,
I bought your Seo Redirect module some time ago, I wanted to ask a question, is it possible to set a general rule like this?

www.domain.it/fr / .. URL ..... -> www.domain.fr/fr / .. URL .....
www.domain.it/es / .. URL ..... -> www.domain.es/es / .. URL .....
www.domain.it/de / .. URL ..... -> www.domain.de/de / .. URL .....
www.domain.it/en / .. URL ..... -> www.domain.co.uk/en / .. URL .....
www.domain.it/it / .. URL ..... -> www.domain.it/it / .. URL .....

or should I do it through htaccess directly?
thank you


Seo redirect and general redirection rule in prestashop

Hello
It is possible to build redirection based on "regular expression". It will redirect all pages that will fit to defined redirection pattern.

  1. go to seo redirect > settings
  2. turn on option "enable wildcards"
  3. go to seo redirect >redirections
  4. please create new redirection, like:
    • old url: http\:\/\/www\.domain\.it\/([a-z]{2})\/(.*)
    • new url: http://www.domain.{1}/{1}/{2}
    • regexp: YES, wildcard: YES

it will do the job,

domain.co.uk is out of the pattern and it must have own redirection
  • old url: http\:\/\/www\.domain\.it\/en\/(.*)
  • new url: http://www.domain.co.uk/{1}
  • regexp: YES, wildcard: YES
Share on Google Plus

About VEKIA

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment

0 comments:

Post a Comment