• aljo1985

    (@aljo1985)


    I am trying to set the rewrite rules in NGINX and I currently have some set for location / { already for my main website on that domain. I would like to insall wordpress in a different folder so my location / { needs to be location /page {

    I can’t seem to set the rewrite rules up for this? Any help would be great I have tried.

    Rewrite rules for wordpress 3.0 (multi-site) for nginx?

    Doesn’t seem to work.

    Using this < I can get the page to show up for each user but with no images, css all the other files needed. Its only in plain text.

    location /page {
         root  /home/domain/public_html;
         index  index.html index.htm index.php;
    
         if (!-e $request_filename ) {
            rewrite ^/page/(.*)$ /page/1$ last;
         }
    }

    I need some rules that can be used for the /page location.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter aljo1985

    (@aljo1985)

    I been playing around a little..
    I am unable to get anything working ??
    Anyone know how I can achieve this?

    S7.Niels

    (@s7niels)

    Thread Starter aljo1985

    (@aljo1985)

    Hi and thanks for the reply.

    I am looking to use the wordpress MU ( Multi User system. )
    I would prefer each persons blog to be
    {blogname}.domain.com

    That would be the perfect setup for me.

    Only problem I am having is that I have a forum setup on my
    main directory.. I am thinking of a way to tackle this ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Nginx wordpress multi site rewrite rules for subdir install’ is closed to new replies.