, Guest!
Already a Member? Login or Register.



Due to the volume of spam happening on our forums, posting is now restricted to verified members only.  If you're not verified, drop us a note with your username.

Home > FlexCMS Support Forum > General > Feature Requests > losing .php extension

FlexCMS Support Forum

losing .php extension
Started August 9, 2005 @ 5:28pm by notdodgy
Post Message 

Posts: 46
losing .php extensionAugust 9, 2005 @ 5:28pm
A suggestion from another cms I have used.
This gets rid of the need to include the .php on index.php.
This cleans up the urls used in links, so that you have:
instead of



# These directives are necessary in order to tell Apache to treat
# the file 'index' as a PHP script. Avoiding the .php extension
# has some benefits, as some search engines don't parse .php files.

# Make sure PATH_INFO is available
<IfDefine APACHE2>
AcceptPathInfo On

# Let Apache know that 'index' is really a PHP script in disguise.
<Files index>
ForceType application/x-httpd-php

Posts: 46
Sorting of ArticlesAugust 9, 2005 @ 5:33pm
The article feature is great if used for news, with the most recent item at the top of the list.

If you want to use the article feature for items other than news, then it would be preferable to be able to define the order the items are listed in.

e.g. add an order field.
If blank (or equal to another entry) then sort on date.


Posts: 625
August 9, 2005 @ 5:39pm

Thanks for the suggestion on ordering the news/articles content. We'll look at adding that to the next version.

As for removing the .php extension, that's already an option in FlexCMS. You can see it done on this site (just called 'flex' instead of index.php), as well as some others out there. Instructions for removing it are located here. If you decide to go that route, don't forget to update the copy as well when performing any modifications or updates in the future.


FlexCMS v3.2 Has Been Released!

Post Message 

Try & Buy FeedForAll - Easy to use RSS Feed Creator - great for iTunes users!


All Contents, Code, Scripts and Technologies Copyright 2003-2009 FlexCMS.
All Rights Reserved. Software License Agreement

Processing Time: 0.08000 seconds.
Management Login

Powered By FlexCMS
Powered By FlexCMS