• New site is located in a directory below public-html so public_html/dev.
    Primary domain was pointed at this directory via .htacess in public_html
    A directory containing all old site page file names created in dev directory, so public_html/dev/Pages.
    Using WordPress module, old urls have been added to Redirection:
    /Pages/page.aspx
    Pointed at
    domain.com/newpage/
    The dummy old page opens but doesn’t redirect.
    Is it something to do with the .htaccess file either located at the root or in the dev directory? Or is it that the old page files are empty and need some content for the WP redirect to work?

    https://wordpress.org/plugins/redirection/

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

    (@webbrewers)

    Update:
    Manually adding a simple redirect to .htaccess BELOW the WP bit works:
    Redirect 301 /Pages/page.aspx http://domain.com/about/
    Manually adding the code the plug in generates doesn’t work. I exported the apache and csv versions to test this out. The apache version failed, so I rebuilt using the csv data and formatted as above and that worked.
    Also tested it out on another site hosted elsewhere and got the same results so I guess there’s something wrong with the plug in.

Viewing 1 replies (of 1 total)
  • The topic ‘Site relocated – not redirecting’ is closed to new replies.