logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Other Software View previous topic :: View next topic
Reply to topic   Topic: Wordpress 404 on front end - Apache mod_rewrite error ?
Author
architech



Joined: 10 Oct 2016
Posts: 2

PostPosted: Tue 11 Oct '16 0:29    Post subject: Wordpress 404 on front end - Apache mod_rewrite error ? Reply with quote

Hi,
I have installed new Wordpress multisite installation
Ubuntu 16.04
Server version: Apache/2.4.18 (Ubuntu)
Server built: 2016-07-14T12:32:26
php 7.0.8-0ubuntu0.16.04.2
WordPress 4.6.1
vhost config : http://apaste.info/0BgYq
htaccess : http://apaste.info/LGJ64
( domain is changed, configuration files below don't have the changed domain )
Access to front page is ok, as well as access to admin area - wp-admin
but every link on front end returns 404 error
log:
http://apaste.info/Hm8JR

I have tried several changes to configurations but with no success.
I have finally moved all htaccess instructions to vhost config, as I have found several articles and forum posts that suggest this action in similar cases.
http://www.linuxquestions.org/questions/linux-software-2/permalinks-not-working-in-apache2-ubuntu-16-10-a-4175581260/

My current setup is in vhost file: http://apaste.info/RHj5R

Log file from one of 404 requests :http://apaste.info/IQu9y
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Tue 11 Oct '16 21:54    Post subject: Reply with quote

You try to access log-new-test-page ?
Back to top
architech



Joined: 10 Oct 2016
Posts: 2

PostPosted: Wed 12 Oct '16 6:23    Post subject: Reply with quote

That is a link in frontand. Apache should pass uri to php-wordpress as per last rewrite rule, but instead shows 404 error. Page is predprod.architech.hr you can click on any link and it will show 404.
All links that are on the back end ( admin ) work fine.
Back to top


Reply to topic   Topic: Wordpress 404 on front end - Apache mod_rewrite error ? View previous topic :: View next topic
Post new topic   Forum Index -> Other Software