-
AuthorPosts
-
April 27, 2017 at 6:16 pm #784133
After updating the theme I am getting a “Page not Found” on all new content. Old pages are fine:
Example in the private content
April 27, 2017 at 8:38 pm #784190Hey KateStuartDesign,
To fix it, just go to Dashboard > Settings > Permalinks and save the settings.
Best regards,
John TorvikApril 28, 2017 at 10:45 am #784404I am afraid I have done that a couple of times and it does not work…
April 28, 2017 at 12:21 pm #784478Further to the problem: I have found that if I set the permalink to :
Plain: error = The requested URL /proofing/programmes/healthy-living was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Day and name – “nothing found”
Month and name: “nothing found”
Numeric: WORKS FINE
Post name: “nothing found”
Custom Structure: “nothing found”
April 28, 2017 at 12:33 pm #784489@KateStuartDesign make sure your .htaccess file is writeable by the webserver. The issue you describe happens if wordpress cant modify the .htaccess file for pretty permalinks
April 28, 2017 at 12:39 pm #784494It looks like this:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /proofing/
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /proofing/index.php [L]
</IfModule># END WordPress
April 28, 2017 at 12:47 pm #784500Permissions are: rw-r–r–
(Ps thanks @mensmaximus for your advice.)
April 28, 2017 at 12:49 pm #784502@katestuartdesign does you wordpress Installation life in the subdirectory /proofing?
April 28, 2017 at 12:50 pm #784503April 28, 2017 at 12:53 pm #784506Would you mind trying to change the permission of .htaccess to rw-rw-r– (chmod 664) and save the permalinks again? The permission it has now is totally perfect IF php is running as fast-cgi or php-fpm. However it won’t work if php is running as mod-php within the apache webserver.
April 28, 2017 at 12:58 pm #784512I have just done that and nothing changed. I will add that this is a new issue since I have been using a child theme. It worked fine before installing the child theme.
April 28, 2017 at 1:08 pm #784521@katestuartdesign to make the child theme break the permalinks there would have to be a function call within the child themes functions.php that could cause it. Thus enabling the parent theme again would fix the issue? Does it? Have you disabled any other plugin for testing? The amount of root causes for this issue is very limited and turns down to the .htaccess file and the rewrite rules array in wordpress. If it worked before in the same installation without any changes except the child theme, than definitely something must habe been added to the child theme causing the rewrite array to get corrupted (like adding custom post types the wrong way). One possible issue coud be the provided switched of the apache mod_rewrite mdule but that is unlikely to happen.
May 1, 2017 at 6:15 am #785504Did you try activating the parent theme like @mensmaximus suggested? Did you add any custom code to your child theme?
Best regards,
RikardMay 1, 2017 at 11:38 am #785652Hello both @mensmaximus and @Rikard. Thank you both for your time – sorry for the delay in response but I was away for the weekend. I reactivated the parent theme and the problem still continued – there was no change. I then deleted the info in the boxes “Portfolio Items Base” and “Portfolio Categories Base” in the Permalinks Settings and let WordPress go back to default settings for the permalinks and it worked. I am not sure if it was because I moved these pages from PORTFOLIO ITEMS (through making templates and then recreating pages) to PAGES… I reinstalled the child theme and everything is now working. Thanks you both and have a good day. (PS: I did not add anything new to the child theme – just for your info).
May 1, 2017 at 8:43 pm #785970Hi,
Yes, when doing those type of changes, ” flushing ” the permalinks, that means resaving it, fixes the issue.
Happy you could get it short out.Best regards,
BasilisMarch 8, 2020 at 2:22 pm #1191265I am running into the same if not similar problem. My site is visible from my computer, but when I log in from another IP address to check it. My site is a page not found error. I need help
March 8, 2020 at 2:57 pm #1191270It’s not letting me restore backup now either
March 9, 2020 at 5:34 am #1191372Hi Highstphotovideo,
Please open a new thread and include WordPress admin login details in private so that we can have a closer look at your site.
Best regards,
Rikard -
AuthorPosts
- You must be logged in to reply to this topic.