CleanURLs don't stay in the Browser bar and instead fall back
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
New
|
Undecided
|
Unassigned |
Bug Description
We have set
Clean URL settings
$cfg->cleanurlu
$cfg->cleanurlg
$cfg->cleanurlv
$cfg->cleanurlc
$cfg->cleanurli
$cfg->cleanurlv
and domain.
i.e. domain.
instead again they have top eneterthat unrememberable difficult URL with question marks.
the .htaccess looks like
<IfModule mod_rewrite.c>
RewriteEngine on
# if redirected to url cleaner, redirect to actual lookup file and
# these lines will keep the clean url visible in the browser
RewriteRule ^u/([a-z0-9-]+)/?$ https:/
RewriteRule ^u/([a-
RewriteRule ^g/([a-z0-9-]+)/?$ https:/
RewriteRule ^g/([a-
RewriteCond %{THE_REQUEST} ^[A-Z]{
RewriteRule ^ %1 [R,L]
# do not do anything if already existing file, symbolic link or directory
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ $1.php [L]
</IfModule>
See also https:/ /mahara. org/interaction /forum/ topic.php? id=8869