Jump to content

Simple CMS Question.


blesseld

Recommended Posts

Hey,

 

I started working on my Simple CMS... and I understand how to create/store content to a db, however I am having a hard time trying to figure out how to put it all together.  My main problem is using the title to create a file that will then load the db content.

 

website.com/my-page.php

 

where my-page.php is stored in an Articles directory, with an include of some sort to retrieve the content.

 

Can anyone point me in a good direction?

 

Thanks, all help is appreciated.

Link to comment
Share on other sites

Yes, dont use the title, its supposed to be descriptive and contain keywords. Instead use the page_name to get the stored contents.

 

 

HTH

Teamatomic

 

for SEO purposes, having your page name as the same as the title, because of the usage of relevant keywords, is standard.

Link to comment
Share on other sites

Didnt say dont use the page name in the title, said dont use the title for determining the page to display.

index.php?page=about

is a lot better than

index.php?page=about the widget company and its board of misdirectors

or having to parse out the content holder from the title.

 

 

HTH

Teamatomic

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.