Hi. Have FURL problem too. Every FURL entered to the browser's address bar leads to a homepage.
Was searching through the forum, stackoverflow and web in general. Can't figure out what is wrong, no suggested solution worked for me.
.htaccess:
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} ^www.(.*)$ [NC]
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=%{REQUEST_URI} [L,QSA]
www redirects and ssl forcing was switched off and on in all combinations – so not related.
function
is listing mod_rewrite among modules
Related system settings:
friendly_urls: yes
use_alias_path: yes
friendly_urls_strict: no
All of my templates share a head chunk which contains
<base href="[[!++site_url]]">
pdoMenu produces nice FURLs like domain.com/parent/child.html, which leads to a home page (id = 1).
My $_SERVER:
'REQUEST_URI' => '/parent/child.html',
'REDIRECT_URL' => '/parent/child.html',
'REDIRECT_STATUS' => '200',
'SCRIPT_FILENAME' => '/home/[path_to_root]/index.php',
'QUERY_STRING' => 'q=/parent/child.html',
'SCRIPT_URI' => 'https://domain.com/parent/child.html',
'SCRIPT_URL' => '/parent/child.html',
'SCRIPT_NAME' => '/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/index.php',
HTTP response code: 200
My error_page is set to a dedicated resource id. It works when i do
And when I manually enter
it opens the page
I made a clean install on a subdomain with a similar resources tree structure, enabled FURLs, copied .htaccess from the ailing domain and FURLs work there. Seems like I applied the very same settings.
My extras: Ace, Babel, pdoTools, FormIt.
It's a shared hosting.
May I ask for any suggestions to cure my main domain FURLs? Could you please show a 'SCRIPT_URI' from your $_SERVER? Shouldn't it be a root index.php?
[ed. note: pboiko last edited this post 6 years, 4 months ago.]