Support » Plugins and Hacks » 301 redirects with wordpress in subdirectory

  • Resolved themightyant

    (@themightyant)


    Hi,
    I have installed WordPress in a subdirectory of my domain but the entry page is still at that address

    What I need to do is redirect the old html website pages in the root directory eg: http://www.example.com/about.htm to the new site

    Usually I would add a 301 redirect to the root directory eg:
    redirect 301 /jewellery.htm http://example.com

    However this breaks the permalinks in wordpress.

    The WordPress htaccess file is in the subdirectory not the root. Is it possible to edit this document to affect files in the directory above it something like
    redirect 301 ../jewellery.htm http://example.com

    Or is there another way?

    Any help would be greatly appreciated

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘301 redirects with wordpress in subdirectory’ is closed to new replies.