Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
FancyURL - .html ending?
#1
Hello all,

this is my first post.

I view Get Simple CMS as a pure ingenuity. It is so simple and usable, that I don't see any other CMS approaching even close to it. Fantastic! I will transition to this platform, so I need some help with it ->

How to make FancyURL ending with ".html" instead of "/"?
- "/" is nice, but I prefer ".html".
- Any specific reason why ".html" is not default?


Thanks a lot! :-)
Reply
#2
Welcome here!

well:

Quote:- Any specific reason why ".html" is not default?

yes: because the world is full of possibilities and there is not only one way for happiness ;=)

There is a thread which tells you what to do: http://get-simple.info/forum/post/7918/#p7918

do this:
edit your .htaccess-file:
instead of

Code:
RewriteRule /?([A-Za-z0-9_-]+)/?$ index.php?id=$1 [QSA,L]

set this:
Code:
RewriteRule ([A-Za-z0-9-]+).html index.php?id=$1 [QSA,L]

plus:

change the custom permalink-structure in the configuration / settings to:
Code:
%slug%.html

or
Code:
%parent%/%slug%.html

I tested it and it worked (I am on a apache server, for sure)
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#3
Rock and roll! :-)

Thanks, it worked like a charm!

I updated wiki page: http://get-simple.info/wiki/config:htaccess
Reply
#4
great! I was thinking that we have to add this to the WIKI and you did, thanks!

Connie
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#5
Connie Wrote:great! I was thinking that we have to add this to the WIKI and you did, thanks!

Connie

:-) Thanks for help Connie.
I styled it a bit better now.
Reply




Users browsing this thread: 1 Guest(s)