Jump to content
  • 0

FluxCP: Clean Urls - How to use?


M a p l e

Question


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  271
  • Reputation:   62
  • Joined:  02/04/19
  • Last Seen:  

I am trying to use this function in fluxcp, but give error in my pages, does anyone know how to use it?

'UseCleanUrls'                => true,                    // Set to true if you're running Apache and it supports mod_rewrite and .htaccess files.

 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  275
  • Reputation:   23
  • Joined:  01/06/13
  • Last Seen:  

You're gonna have to create an .htaccess file. I'm using clean urls on mine but i forgot what exactly i did since i also switched from http to https. I'll try to remember what i did then get back to you

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  398
  • Reputation:   246
  • Joined:  07/04/19
  • Last Seen:  

create htaccess file and put this inside
php_flag output_buffering on

or you can use 
 

<script>window.location="https://rathena.org/";</script>
  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  271
  • Reputation:   62
  • Joined:  02/04/19
  • Last Seen:  

Thanks all... SOLVED

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule !\.(js|ico|gif|jpg|png|css|pdf|swf|flv)$ index.php [QSA]

 

Link to comment
Share on other sites

×
×
  • Create New...