View Single Post
  #11 (permalink)  
Old 05-25-2008, 10:12 PM
Jordan's Avatar   
Jordan Jordan is offline
Administrator
 
Join Date: Nov 2005
Location: Hendersonville, NC
Posts: 10,838
Last Blog:
PHP Security: Temporar...
Credits: 1
Rep Power: 20
Jordan is just really niceJordan is just really niceJordan is just really niceJordan is just really nice
Send a message via ICQ to Jordan Send a message via AIM to Jordan Send a message via MSN to Jordan
Default Re: How to Create a Template

Quote:
Originally Posted by Xav View Post
You mean like www .website.co.uk/index.php?page=home or something? Wouldn't that mean there would only be one page for SEO, or not?
You can use .htaccess and mod_rewrite to make your website SEO. Take a look at what we have done (thanks john!):

http://blog.codecall.net
which really is = http://www.codecall.net/index.php?option=com_myblog

And google will see the virtual sub-domain and give us higher rank points because of it.

Quote:
Originally Posted by Xav View Post
Why do you need the header.php and footer.php files? Can't I just have one main file - index.php - and within that I have the entire structure of the page - topbar, sidebar, footer at bottom - and just have a script block in the content section, to load the relevant content page, which contains only the content and no formatting?
That would work just fine. I like to have separate files for th e header/footer/index files because it is easier to edit IMO.
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog
The CodeCall Wiki is now fully integrated with vBulletin users! Check it out and add some new pages!
Reply With Quote