-
AuthorPosts
-
May 5, 2017 at 3:39 pm #788441
Hi
Based on whichever page I select as the home page, it will then give out a 403 error for that page.
So setting our home page to the home page in the enfold menu will cause that page to become a 403 error. If i change the page to make another page like the news page as the home page, then that page will get a 403 error
Any suggestions about what might be causing this?
May 5, 2017 at 6:54 pm #788612Hey copsiat,
403 is a security error, which usually happens when you don’t have permission to access some pages/locations. Do you have some security platforms for example sucuri which restricts access if the ip of someone accessing the site isn’t whitelisted. Try to switch the theme to default and if there’s still a 403 error, try to contact you web host.
Best regards,
NikkoMay 8, 2017 at 10:13 am #789370Hi Nikko
Thank you for your replyI did have Sucuri installed and I deactivated it but got the same issue
The thing that is strange is that whichever page I set it to in the enfold theme will get the 403 error,
This makes me think it could be the enfold theme setup causing the problem.
Although I am also experiencing some trouble with my htaccess file.
Whenever I change my wp settings and save them, the htaccess file gets updated and this causes the site to break. To fix it I would need to go into the htaccess file and change it back to what it was so I can see the site again,
May 8, 2017 at 10:50 am #789395Hi,
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look.
Best regards,
VictoriaMay 8, 2017 at 10:55 am #789397Hi Victoria
Thank you, I’ve added the logins below.
May 8, 2017 at 12:08 pm #789465Hi,
I have tried to change the homepage and set it to News, and it’s successful without any error (I have returned it back to Home). Is this already fixed? I have posted the screenshot when it was successful (private content).
Best regards,
NikkoMay 8, 2017 at 12:37 pm #789497Hi Nikko
it is a 403 error, not a 404 not found error
May 8, 2017 at 1:32 pm #789553Hi Nikko
Could this be a permission issue with file permissions?
May 8, 2017 at 2:47 pm #789624Hi,
Can you post a screenshot on it? I’m aware that you have said 403 error, and if there’s 403 error it wouldn’t allow changes which I have already done and tested, also when there’s 403 error it does show up in the console. And yes, it would likely be an issue for file permissions since most restriction are applied in the file.
Best regards,
NikkoMay 8, 2017 at 2:57 pm #789633Hi Nikko
I can see the website home page but it is a 403 error
Iv’e attached the screen grab
I am also getting 403 error in the sitemaps
and google won’t allow me to do any adwords campaigns to this page due to 403 error
May 8, 2017 at 3:02 pm #789640Further to the info i have added in th htaccess file below
when I update wordpress settings, it updated the htaccess file and breaks the site
I would have to edit the line from
RewriteRule . /index.php [L]to
RewriteRule . /wordpress/index.php [L]
see below
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /wordpress/index.php [L]
</IfModule># END WordPress
May 8, 2017 at 3:12 pm #789651Hi,
I see, I was checking on the backend (but seems weird since 403 usually appears in the backend since the settings are located there). Can you give us ftp access? so we can check deeper on this.
Best regards,
NikkoMay 8, 2017 at 3:44 pm #789666Hi Nikko
I got a revised version of the htaccess file which I uploaded and it seemed to fix the issue, in case somebody else runs into this I have posted the new htaccess file I have below:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www.)?websitename.com$
RewriteCond %{REQUEST_URI} !^/wordpress/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /wordpress/$1
RewriteCond %{HTTP_HOST} ^(www.)?websitename.com$
RewriteRule ^(/)?$ wordpress/index.php [L]
</IfModule>Thanks for your help
May 8, 2017 at 4:27 pm #789692Hi,
Glad to hear that and thanks for sharing the solution that worked for you :)
Best regards,
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.