[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4183: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4185: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4186: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4187: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
MNews fórum • Zobrazenie témy - Pěkné URL

Pěkné URL

Obecná diskusia o MNews a funkciách

Pěkné URL

Poslaťod Petr_D » 05 Dec 2014, 19:49

Petr_D
 
Príspevky: 39
Registrovaný: 12 Feb 2011, 12:11
Bydlisko: Turnov

Re: Pěkné URL

Poslaťod martyj » 08 Dec 2014, 15:34

Řekl bych, že tohle fórum je mrtvé a já ti bohužel neporadím. Každopádně mě to dělá to samé.
martyj
 
Príspevky: 11
Registrovaný: 02 Dec 2014, 18:41

Re: Pěkné URL

Poslaťod mandel99 » 12 Dec 2014, 02:19

použij :
RewriteEngine On
RewriteCond %{HTTP_HOST} ^example\.com [nc]
RewriteRule (.*) http://www.example.com/$1 [R=301,L]
RewriteRule ^([a-z0-9\-\_]+)/$ /index.php?mn_post=$1 [L,QSA]

zdá se to být stejné ale není ( je smazané lomítko před regexp-em )
mandel99
 
Príspevky: 20
Registrovaný: 18 Nov 2013, 18:11

Re: Pěkné URL

Poslaťod Petr_D » 12 Dec 2014, 10:28

Bohužel, nefunguje. Takto se nedostanu ani do administrace ../mnews .
Petr_D
 
Príspevky: 39
Registrovaný: 12 Feb 2011, 12:11
Bydlisko: Turnov

Re: Pěkné URL

Poslaťod mandel99 » 12 Dec 2014, 18:54

omlouvám se.. do souboru zkus dát pouze :
RewriteEngine On
RewriteRule ^([a-z0-9\-\_]+)$ /index.php?mn_post=$1 [L,QSA]
mandel99
 
Príspevky: 20
Registrovaný: 18 Nov 2013, 18:11

Re: Pěkné URL

Poslaťod Emfai » 22 Júl 2016, 17:08

Obrázok užívateľa
Emfai
 
Príspevky: 15
Registrovaný: 24 Apr 2011, 08:35
Bydlisko: Vysoká nad Labem


Späť na Obecná diskusia

Kto je on-line

Užívatelia prezerajúci fórum: Žiadny registrovaný užívateľ nie je prítomný a 1 hosť

cron