Quantcast
Channel: EasyEngine Community Forum - Latest posts
Viewing all articles
Browse latest Browse all 12639

Change permalinks

$
0
0

The nginx code that came closest was this:

location ~ ^/([0-9]{4})/([0-9]{2})/([^/]+)/([^/]+)/$ {
rewrite ^(.*)$ http://example.com/$4 redirect;
}

However when I add this code in vhost within the server in /etc/nginx/sites-available/example.com file gives an error and nginx server falls.

More any idea guys? :slight_smile:

TRADUZIDO DE:

O código nginx que mais se aproximou foi esse:

CODIGO

Porem quando adiciono esse código no vhost dentro do server no arquivo /etc/nginx/sites-available/example.com dá um erro e o servidor nginx cai.

Mais alguma ideia rapazes? :slight_smile:


Viewing all articles
Browse latest Browse all 12639

Trending Articles