Permalinks and static html conflict (6 posts)

  1. kdeathboo
    Posted 7 years ago #

    I have a problem while using permalinks and html static page.

    For example, my permalinks are set so a post looks like: http://sitename.com/2006/07/12-postname.html (/%year%/%monthnum%/%day%-%postname%.html)

    while cleaning my blog, I decided to remove some posts from the wp post list (so I deleted the post) without removing it from my site because of SEO issue. So I saved the page as .html, put it in the 2006/07/ directory.

    The issue is that as soon as I created the directory and put the file in it, wordpress started showing me Directory index instead of year archive or month archive.

    The address are:
    Static HTML page:

    Now it shows directory index instead of blog archive when going to
    http://www.ameriquebec.net/2006/07/ or

    Now, i want to show blog archive, as it should show, like on http://www.ameriquebec.net/2008/, but I want to keep the static html pages..

    Somebody here had the same issue?

  2. moshu
    Posted 7 years ago #

    You can NOT have real, physical directories with the same name as your "virtual" directories created by the WP nice permalinks.

  3. kdeathboo
    Posted 7 years ago #

    Ok... so is there any other way to obtain what I want to do ?

    I'm updating my wordpress and want to delete any post that doesn't look professionnal from the database, but without deleting the html pages physically.. putting the page anywhere else would be nonsense since i really don't want to lose the traffic and SEO from these pages.

    I hope someone know a way to do this...

  4. moshu
    Posted 7 years ago #

    Just try to re-read your post above - to realize what a nonsense it is...

    So, in the database they don't look professional but keeping in a html file makes them look professional, so that the SEs could find them. You want to delete them AND keep them exactly in the same place.

  5. kdeathboo
    Posted 7 years ago #

    I'm completly redesigning my site. I want to exclude these page from the new design, but still keep their old version in plain html. Anyway, this subject i not why I want to do it more than how to do it...

    I understand that for some people it seems like nonsense but it doesn't remove the fact that I have my own reasons to do this that way.

    Thank You

  6. moshu
    Posted 7 years ago #

    I have my own reasons to do this that way

    Except, as I said above, you can NOT.

Topic Closed

This topic has been closed to new replies.

About this Topic