Many thanks for reply.
I have now sorted out my URLs without the "index.php" running on Nginx, as follows...
1. Was using Vivaldi browers on Ubuntu 20.10, and it was giving me strange urls.
The problem isn't using Firebox and Chrome.
2.Yes, {metadata}, is in the bandb_master template, which can be found in Admin, at the path, Layout > Design Manager, then select "bandb_master" in the first Template tab, and it's a few lines down near <head>
2. My Config.php looks like this. Note that 'url_rewriting' = 'mod_rewrite', because I'm using a Nginx statement that emulates that on Apache.
Code: Select all
$config['assume_mod_rewrite'] = 'false';
$config['page_extension'] = '';
$config['use_hierarchy'] = 'false';
$config['url_rewriting'] = 'mod_rewrite';
$config['internal_pretty_urls'] = 'false';
$config['root_url'] = $_SERVER['REQUEST_SCHEME'] . '://' . $_SERVER['HTTP_HOST'] . '/cmsms';
3.My Nginx site.conf has this:-
Code: Select all
location /cmsms
{
try_files $uri $uri/ /cmsms/index.php?page=$request_uri;
}
4. A URL on my test site looks like this:-
Code: Select all
http://www.XXXX.dynu.net/cmsms/news/1/1/News-Info
It was definitely Vivaldi that was confusing this issue.
Hope this helps anyone searching in the future.
Suggest the documentation is enhanced to make it easier for beginners