Topic Closed
7 Posts


my idea is to install gpEasy in a folder, e.g in GPE in my www directory. It would cause this type URL:

But I would prefer In short I don't want the directory where I installed gpEasy to appear in the URL, not even when I hover over a link on the page. I guess it can be done somehow with .htaccess, but I am anything but great at that.

Thanks in advance.

10 years ago#1926

Josh S.
2K Posts
16 Themes
18 Plugins

The best way would probably be apache's mod_alias, it can't be used in .htaccess though.

I'm not sure how gpEasy would handle using mod_rewrite, but something like this might work:

<IfModule mod_rewrite.c>
  <IfModule mod_env.c>
  SetEnv gp_rewrite On
  RewriteEngine On
  RewriteBase "/"
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule . "/GPE/index.php" [L]


Edited: 10 years ago#1929

I was able to get it to work using  "include" in the index.php file. But for the life of me I can't figure out how I did it.

10 years ago#1960

7 Posts

Semi-good news. Could you find that include somehow? Maybe comparing with the original file?

10 years ago#1961

7 Posts

Thanks for  the reply, this is halfway. opens properly without indicating install directory. gpEasy is not mad about it (=works). Clicking on a link, however, uses/shows the install directory in the URL (or when hoveing over).

10 years ago#1962

Topic Closed



elFinder 2.1.50 in Upcoming Release

A new release for Typesetter is in the works with a lot of improvements including the ... Read More

Typesetter 5.1

Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More

More News


Company located in T├│rshavn, Faroe Islands. * Webpage Design * Consultant & Provider of a wide range of programs for visually impaired and dyslextics.

Find out more about our Provider Spotlight

Log In