• Hello,

    I have a site in development, and currently, it has a news page, and an assortment of other pages such as:

    mysite.com/news.php
    mysite.com/games.php
    mysite.com/other.php

    For the news page, I am using my own system and code (don’t have much news); but at some point, I may want to convert parts of the site to use WordPress (for example, news and also may wish to have a blog).

    I want to be able to slot WP in to my site, without having to jig around the existing URL scheme. So need to consider this, as I’m designing my URL scheme.

    I’m believe mysite.com/news.php would not convert so well, were I to start using WP.

    If I install WP here mysite.com/WP and do the thing where WP works from your site root, and have a category for news, could I access the news category at mysite.com/news/

    Would that work?

    Thanks,

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Sure. Or you could set your permalinks to /news/<blah blah>.

    Remember too, you CAN redirect news.php and games.php and such to other pages via .htaccess 🙂

    If you are not moving the whole site to WordPress (e.g., you want to still show something non-wordpress at /games.php), I would be sure to install WP into a subdirectory or subdomain. It will be much easier to upgrade or work with the WP code if it is not intermixed with other non-WP code.

    So e.g., you could install WP into /news/, then redirect your news.php page to WP via .htaccess or something in the script there. Have the homepage/index of WP show the news feed (will show all posts by default).

    If you are really concerned about having URLs like “/news/games” instead of just “/games/” in the future, you can get around that via .htaccess rules. I did something similar for http://www.datespaces.com.

    The site is run off custom PHP, but the blog is at /blog/. The about page is inside wordpress (at /blog/about/ really) but you can get there with /about/ too. http://www.datespaces.com/about/

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Advice please: integrating word-press in to web-site…’ is closed to new replies.