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.
It is possible to build redirection based on "regular expression". It will redirect all pages that will fit to defined redirection pattern.
- go to seo redirect > settings
- turn on option "enable wildcards"
- go to seo redirect >redirections
- 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
- old url:
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
0 comments:
Post a Comment