• Hi there,

    In my website, I have 3 levels of menu navigantion. Something like this:

    - Home
    - Hotsites
    	- Hotsite1
    		- Page1
    		- Page2
    		- Page3
    	- Hotsite2
    		- Page1
    		- Page2
    		- Page3
    	- Hotsite3
    		- Page1
    		- Page2
    		- Page3
    - Contact

    How can I create a rule to always redirect from a subdirectory to a specfic child page of this subdirectory.

    For example:

    From:

    ...mysite.com/hotsites/(*hotsite-name*)

    To:

    ...mysite.com/hotsites/(*hotsite-name*)/page1

    Thanks!

    http://wordpress.org/extend/plugins/redirection/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter tiagolacerda77

    (@tiagolacerda77)

    I tried something like this:

    Source:

    mysite.com/hotsites/(.*)

    Target:

    mysite.com/hotsites/$1/page1

    It almost works. But the browser returns this URL (if “.*” is “hotsite”):

    mysite.com/hotsites/hotsite1/page1/page1/page1/page1/page1/page1/page1/page1/page1

    What should I to avoid this repeating last part of the URL???

    Please, someone help me!

    Thread Starter tiagolacerda77

    (@tiagolacerda77)

    Anyone?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: Redirection] Reg expression – Help’ is closed to new replies.