Forums

Remove parent directory from URL - all pages in home directory (2 posts)

  1. jrfrausto
    Member
    Posted 3 years ago #

    Whether it's by changing the mod-rewrite or .htaccess, how would I change the URL for parent/child urls.

    For example:

    Change all URLs from:
    http://www.yoursite.com/parent/child.php
    http://www.yoursite.com/parent/parentchild/child.php
    to
    http://www.yoursite.com/child.php

    In otherwords, make all URLs look like they are in the home directory.

    We have a static website that we want to convert to WordPress. All php pages are in the home directory. If we move everything to WordPress the URL directory structure will change. This will kill all SEO work done on these pages.

  2. madmax1404
    Member
    Posted 3 years ago #

    Nobody has an idea how to do this?
    I spend 50 Euro for the one creates a solution.

Topic Closed

This topic has been closed to new replies.

About this Topic