HTML to WP switch - advice needed

6 replies
  • WEB DESIGN
  • |
Hey, fellow Warriors!

I'm hoping someone will be able to guide me on this.

I am switching my HTML site to a Wordpress-based site.

The new site will be a "hybrid" site (HTML *and* Wordpress) for a couple of reasons:

1) a sub directory of the current site is an industry dictionary with 3,600 pages. I simply AIN'T changing that to WP! :-)

2) I'll need to turn the current HTML pages into redirects to the corresponding WP pages. I have very good PR and SEO placement for most of these pages and want to preserve that to the extent possible.

I've been building the "new" site in a directory on the "old" site. In other words . . .

www.mysite.com/wordpress/

So new pages I have been creating have a path that looks like . . .

http://www.mysite.com/wordpress/indu...industry-topic

So the BIG question is . . . what are the mechanics of making the Wordpress site (now in a sub directory) the main site (with the "old" HTML pages also accessible)??

Ideally, I'd like it to work so that, if someone types in "www.mysite.com", they will reach the home page of the new Wordpress site.

Someone suggested I make the home page of the current site a redirect to www.mysite.com/wordpress. But it seems that would leave me with long, cumbersome and SEO-unfriendly URLs.

Any suggestions will be appreciated.

TIA.
#advice #html #needed #switch
  • Profile picture of the author bg-011
    easier is to set up everything under .mysite.com/wp
    Signature
    http://www.MpowerWebStore.com low cost domains, hosting, WordPress
    http://www.Twicat.com your free classifieds better than Craigslist, Kijiji, Gumtree
    {{ DiscussionBoard.errors[948305].message }}
  • Profile picture of the author radio
    moving wordpress around isn't too difficult once you get the hang of it, but if you're new and you don't have a ton of content, might as well install it in the main directory and use one of these plugins to let visitors know you'll be right back.

    WordPress Plugins To Help You Administer Your Blog Lorelle on WordPress
    {{ DiscussionBoard.errors[948357].message }}
  • Profile picture of the author B.W
    Dosn't wordpress allow you to just upload the whole thing in the root? Because that would be the easiest way.

    You could also redirect the subdir to the main page, and then make the subdir throw an 404 Not Found, (you don't want the same page accessible on two urls).
    {{ DiscussionBoard.errors[948673].message }}
  • Profile picture of the author CaffeinatedWorld
    In my opinion the best solution is to connect the whole template into Wordpress and move the HTML contnent into Wordpress - everything will be in one control panel, you will be able to generate xml site map, translate it and more!

    Here is how you do it:
    - Create a directory in /wp-content/themes/ named MyTemplate
    - In this directory name your template-design index.php and your style file style.css
    - In your style file put info about your template like this:
    /*
    Theme Name: The website name
    Theme URI: The url of the website you are designing for
    Description: Template information.
    Version: 1.0
    Author: Your name
    Author URI: Your homepage URL
    */
    - Take a screenshot of your design, re-size it to 300px wide, and put it in your template folder
    - In your tempalte do the following things:

    Change the link of href="style.css" to:
    href="<?php bloginfo('stylesheet_url'); ?>"

    Change your whole menu from this:
    <ul>
    <li><a href="#">Menu item</li>
    <li><a href="#">Menu item</li>
    <li><a href="#">Menu item</li>
    </ul>

    To this:
    <ul>
    <?php wp_list_pages('title_li=&depth=1'); ?>
    </ul>

    (change the depth parameter accordingly to your needs)

    Change the place where you have your content to this:
    <?php if(have_posts()): ?><?php while(have_posts()): the_post(); ?>
    <?php the_title(); ?>
    <?php the_date_xml(); ?>
    <?php the_contnet(); ?>
    <?php endwhile; ?>
    <?php endif; ?>

    And you are done! Template connected
    {{ DiscussionBoard.errors[948810].message }}
  • Profile picture of the author houdy
    You can keep the current install and move it to the main directory, I just did a post on this here: Move WordPress Blog To Main Domain

    In the WP dashboard general settings change the Blog address (URI) to the new location, then copy the index.php and .htaccess file to the main directory and edit the index.php file to tell it where the actual files are.

    Also the HTML pages can coexist in any directory with WordPress so they don't need removed right away.
    {{ DiscussionBoard.errors[949202].message }}

Trending Topics