Creating a blog for website?

Discussion in 'PHP' started by Dr.Weed, Dec 11, 2013.

  1. #1
    So i have a website and I want to create a blog for that website, so naturally I would just create a folder inside root directory called "Blog" and inside that folder I would install Wordpress and my url will be: "mywebsite/blog/index.php"

    Is there any better idea for creating a blog for a website then this, because I want my URL to be "mywebsite/blog"?

    In root directory I also have files like header.php and footer.php and I just include them in files. Is there any way to include for example header.php from ROOT to WP Theme folder? Because BLOG will have same header style and I want to use only one header.php for whole website.
     
    Dr.Weed, Dec 11, 2013 IP
  2. bearthis

    bearthis Greenhorn

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #2
    If the website you got is using your own build CMS you can create your own simple blog. I still think wordpress is a good way to go but it's not that easy to change the header and the footer. I think it's better you ask a freelancer to create for you a wordpress theme similar to your site.
     
    bearthis, Dec 11, 2013 IP
  3. DeanIM

    DeanIM Greenhorn

    Messages:
    25
    Likes Received:
    0
    Best Answers:
    2
    Trophy Points:
    21
    #3
    If you want to use the header.php from your ROOT folder in your WP theme, open your theme's header.php file and enter the following:
    include('../header.php')
    Code (markup):
    This will have your root folder's header.php file included in the wordpress theme header.
     
    DeanIM, Dec 11, 2013 IP
  4. Tom hanks

    Tom hanks Member

    Messages:
    30
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    28
    #4
    You can try free website creator. It creates website with blog and forum. you can create a free website. If you are not so experienced in programing, i suggest you to go for a free website. You can easily create a free website with free templates. Here are some facilities of free website
    1.Templates are 100% customizable.
    2. Mobile web friendly
    3.You can use your own domain name
    4. Own blog and forum
    http://www.freesitecreator.com/
     
    Tom hanks, Jul 10, 2014 IP
  5. Helge Sverre

    Helge Sverre Prominent Member Affiliate Manager

    Messages:
    840
    Likes Received:
    99
    Best Answers:
    2
    Trophy Points:
    305
    Digital Goods:
    2
    #5
    What you could do is to implement a simple blogging system into your existing website with PHP and a custom backend, or you could use wordpress.
    I might be able to help you if you need a custom implementation.
     
    Helge Sverre, Jul 11, 2014 IP
  6. Zbee

    Zbee Active Member

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    91
    #6
    If you want to really customize it, then building your own is the way to go, and it's not terribly hard to do so - especially if you already have some sort of backend that you already have secured with a login. I'm not sure about including your own headers with WP, but you definitely could if you built it yourself.
    If you need help, I'd be glad to lend a hand.

    If you just want something fast then Wordpress is probably the easiest option.
     
    Zbee, Jul 11, 2014 IP