Forums

Making wordpress as my website CMS (12 posts)

  1. diva22
    Member
    Posted 1 year ago #

    Ok, I've decided to move my website (currently on joomla and not working) over to wordpress as my CMS.

    However, I've managed to change the CSS and have got my home page working, however when I try to make a new page, it just keeps giving me my home page.

    for example, I made a new a page and called it 'services', but when I put the url in, it just gives me my home page again.

    any idea?

  2. webfwrd
    Member
    Posted 1 year ago #

    Check your .htaccess file and Permalink setting as well (make sure the selection if not Default), and make sure you host supports mod_rewrite as well.

    You will be able to access your site via http://www.yourdomain.com/?page_id=1 (replace the number with the id of your page).

  3. diva22
    Member
    Posted 1 year ago #

    I've changed the permalink - no go.

    what am I checking for on my .htaccess file?

  4. diva22
    Member
    Posted 1 year ago #

    ok, so it appears my .htacess is fine - this is what I have:
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /test/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /test/index.php [L]
    </IfModule>

    # END WordPress

    my host supports mod_rewrite

    But I still get my main index template instead of my pages. I can hard code it no problems, but nothing is being dynamically created.

    Have no idea where to go from here!

  5. webfwrd
    Member
    Posted 1 year ago #

    Just to check, is it working at http://www.yourdomain.com/?page_id=1 ?

  6. diva22
    Member
    Posted 1 year ago #

    no, it still shows my home page(main index).

    This is my permalink structure:
    /%year%/%monthnum%/%postname%/

    You can view what I've done so far at http://www.divapromotions.com.au/test

  7. diva22
    Member
    Posted 1 year ago #

    no, this doesn't work either. It still shows my main index file

  8. diva22
    Member
    Posted 1 year ago #

    update - One of my previous pages I did early on does work with the id number - http://www.divapromotions.com.au/test/?page_id=14
    When this comes up, it actually has the URL of http://www.divapromotions.com.au/test/services-2/

    Does this make things clearer?

  9. webfwrd
    Member
    Posted 1 year ago #

    So it's actually working? "service-2", you can change that on page edit page just under the title textbox

  10. diva22
    Member
    Posted 1 year ago #

    um, no. What I did was hard code all the pages.

    What I've done now is to create my own custom theme however when I add a page dynamically, the actual 'Page' comes up underneath the main template. Clearly I've coded something wrong, but not sure.

    You can see what I mean here - http://www.divapromotions.com.au/test/?page_id=14

    scroll down and you will see the 'Page' I created.

  11. webfwrd
    Member
    Posted 1 year ago #

    From what I have seen, you have placed the code for displaying page content in the wrong place. So check your page.php and make sure your query is in the place where you want the content to be

  12. diva22
    Member
    Posted 1 year ago #

    aha! That's the issue. I have no idea what query I should be using??
    Wow,thankyou so much webfwrd for your help - it is so very much appreciated!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.