• Resolved CyberWoolf

    (@cyberwoolf)


    I was helping someone with their WP and moved it from a folder (/new) to the root directory. Since the pages with /new are indexed in the search engines, how do I do a 301 redirect – but keeping the structure without the /new??

    Example:
    domain.com/new/pagename to domain.com/pagename

    It’s a shared windows server with web.config so I can’t access the control panel there. I’ve never ever worked with WP on IIS so I am at a complete loss!! I had searched google and nothing is working :-/

Viewing 1 replies (of 1 total)
  • Thread Starter CyberWoolf

    (@cyberwoolf)

    <rule name=”Move new to rootdir” stopProcessing=”true”>
    <match url=”^new/(.*)/” />
    <action type=”Redirect” url=”{R:1}” redirectType=”Permanent” />
    </rule>

Viewing 1 replies (of 1 total)
  • The topic ‘IIS7 Redirect From old Folder?’ is closed to new replies.