Shape 5

General Category => Joomla Talk => : kflavel01 January 10, 2017, 07:01:03 AM



: Vertex 4.1 Patch still giving "Soft 404" errors
: kflavel01 January 10, 2017, 07:01:03 AM
We've updated the Vertex framework on our site http://www.dressini.com to the latest (4.1) which said in the patch notes that it had fixed the Soft 404 error.

Unfortunately we still seem to be getting Soft 404 errors from Google webmaster.

Do you know of a way to fix this? We've tried a number of edits found online and none have worked yet.

Thanks.


: Re: Vertex 4.1 Patch still giving "Soft 404" errors
: mikek January 10, 2017, 08:42:59 AM
Hello,

I made a small adjustment to error.php that's attached. Please try that file. If that does not work that means your server does not have allow_url_fopen enabled and it will need to be enabled.


: Re: Vertex 4.1 Patch still giving "Soft 404" errors
: kflavel01 January 10, 2017, 11:04:08 AM
That's returning the 404 error code, thank you it works perfectly :)


: Re: Vertex 4.1 Patch still giving "Soft 404" errors
: kflavel01 January 11, 2017, 05:58:16 AM
Sorry for the premature response, it's returning a 404 error code, but the page itself isn't showing up, it's just a blank page.

I've spoken to our hosts and they say that "allow_url_fopen" is enabled. I've also added code to the .htaccess file to make sure and it's still showing a blank page.

Do you have any other ideas?

Thanks.


: Re: Vertex 4.1 Patch still giving "Soft 404" errors
: mikek January 11, 2017, 08:23:01 PM
Hello,

You'll need to check with your host that file_get_contents is also enabled. If it is it will pull the content with the following code:

echo file_get_contents(JURI::root().'index.php?option=com_content&view=article&id='.$article->id);