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?
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).
I've changed the permalink - no go.
what am I checking for on my .htaccess file?
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!
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
no, this doesn't work either. It still shows my main index file
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?
So it's actually working? "service-2", you can change that on page edit page just under the title textbox
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.
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
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!