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
https://forums.phpfreaks.com/topic/199509-simple-cms-question/
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
https://forums.phpfreaks.com/topic/199509-simple-cms-question/#findComment-1047407
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
https://forums.phpfreaks.com/topic/199509-simple-cms-question/#findComment-1047438
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.