Combination blog\web site problem

Discussion in 'WordPress' started by harvester, Feb 3, 2008.

  1. #1
    Hi, I have a web site and a blog on the same url (it seemed like a good idea at the time), the url of the web site is mywebsite.info/index.html and the url of the blog is mywebsite.info/index.php
    The problem is, when someone clicks on the title of the blog to get to the home page of the blog, they are taken to the home page of the web site.
    Is there anything I can do about this? I guess I have to edit a piece of code in one of the theme's files (it's a Wordpress blog.)
     
    harvester, Feb 3, 2008 IP
  2. mizaks

    mizaks Well-Known Member

    Messages:
    2,066
    Likes Received:
    126
    Best Answers:
    0
    Trophy Points:
    135
    #2
    Why not use the homepage of the blog as the homepage of your site?
     
    mizaks, Feb 3, 2008 IP
  3. Moncal

    Moncal Active Member

    Messages:
    423
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    60
    #3
    I don't know how to explain this properly, but I'll give it a wack. index.html has a higher cardinality than index.php. When you visit mywebsite.info/ the webserver will serve up index.html instead of index.php because index.html > index.php.

    In your header change mywebsite.info/ to mywebsite.info/index.php.
     
    Moncal, Feb 3, 2008 IP
  4. harvester

    harvester Well-Known Member

    Messages:
    190
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    108
    #4
    Thanks for your help, should have thought of this before I posted but I've just opened general options and changed the blog address url to mysite.info/index.php, and it worked!
     
    harvester, Feb 3, 2008 IP