WordPress.org

Ready to get started?Download WordPress

Forums

Moving a non-wp page into wordpress, retain URI (3 posts)

  1. mreider
    Member
    Posted 6 years ago #

    Hi all,

    I'm moving one of my sites into wordpress, and would like to retain their URI's.

    For example, I have a page mysite.com/thispage/thispage.shtml.

    That page right now is not in WordPress, and I'd like to change that.

    So I've got the page saved as a page in wordpress, which displays fine and all that - but I can't get it to keep the URI.

    I've tried some basic mod_rewrite rules and haven't gotten that to work, and even tried changing the 'slug' to mypage.shtml (but after saving, the '.' is removed so it looks like mypageshtml).

    Any ideas on what to do here? Changing the file name is not an option..I know I could change the name and do a 301 redirect but for various reasons that's just no an option on this site.

    If anyone can point me in the right direction of how to maintain that URI, that'd be great!

  2. mreider
    Member
    Posted 6 years ago #

    Anyone?

  3. WebFadds
    Member
    Posted 6 years ago #

    Hello Mreider -

    When you install WordPress, you would need to install it in the top level directory for your site, and make its home page the home page of your site. Then you would get the first part of your solution -- mysite.com would launch into WordPress.

    You would have to do that, using your example, if you want to set up a linking structure that starts at mysite.com, and then goes to page (mysite.com/thispage) with a sub-page (mysite.com/thispage/thispage.shtml), like you want.

    I am thinking that you instead set up WordPress in its own directory (mysite.com/WordPress/) which is the root of why you can't get what you want.

    If I guessed wrong, and you DID install WordPress in your top level directory on your server then you solution can be as simple as creating a sub-page for the page you want.

    Best...

    - Scott
    Scott Frangos
    [sig moderated]

Topic Closed

This topic has been closed to new replies.

About this Topic