Topic on Project:Support desk

2A02:AB04:53F:2F00:5193:810A:1203:59F (talkcontribs)

I have redirected from http to https, and has stopped working url without https://www, discussing and redirecting.

When I enter redirect - https://www.example.com ... it's okay, but when I enter www.example.com or example.com, it writes an error - Invalid title - The requested page title contains invalid characters: "%C3".

This is just the case for side pages (e.g. - discussion, redirect, history ...)

Will anyone advise me? Where is the problem?

My htaccess

RewriteEngine On

RewriteCond %{HTTPS} off

RewriteRule (.*) https://www.example.com%{REQUEST_URI} [L,R=301,QSA]

RewriteRule ^/?wiki(/.*)?$ %{DOCUMENT_ROOT}/index.php [L]

RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f

RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-d

RewriteRule ^/?images/thumb/[0-9a-f]/[0-9a-f][0-9a-f]/([^/]+)/([0-9]+)px-.*$ %{DOCUMENT_ROOT}/thumb.php?f=$1&width=$2 [L,QSA,B]

RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f

RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-d

RewriteRule ^/?images/thumb/archive/[0-9a-f]/[0-9a-f][0-9a-f]/([^/]+)/([0-9]+)px-.*$ %{DOCUMENT_ROOT}/thumb.php?f=$1&width=$2&archived=1 [L,QSA,B]

My LocalSettings:

$wgScriptPath = "";

$wgScriptExtension = ".php";

$wgArticlePath = "/wiki/$1";

$wgUsePathInfo = true;

## The protocol and server name to use in fully-qualified URLs

$wgServer = "https://www.example.com";

## The URL path to static resources (images, scripts, etc.)

$wgResourceBasePath = $wgScriptPath;
星耀晨曦 (talkcontribs)
2A02:AB04:53F:2F00:D9E9:CD68:CF94:C7AD (talkcontribs)

Thank you, but it still does not work, it does it only for special characters (eg, š, č, –...) and only in discussion and redirect. e.g. instead of hyphen (–) I have %25E2%2580%2593 in url. Only when I enter url without https.

Sorry for my english.


Reply to "Invalid title"