Recurring Index Page 404 Error - on GoDaddy Ultimate Managed WordPress

Hi X Team,

I apologize up front for the length of this message…

I buy lots of X Theme licenses and direct my customer to purchase Ultimate Managed WordPress hosting with GoDaddy most times. As of late I’ve had an frustrating issue come up with live sites and the problem with a bad redirect occurring on the index page resulting in a blank 404 error page when the web-site is called up on a browser.

After working with the GoDaddy WP developers, we’ve isolated the issue ocurring in the HT access file to these sites. Below is sample code to the BAD code in the HT access file resulting in the 404 error (and then following that I’ll show you the corrected GOOD code they placed in to correct the problem)

My question is: Is this an issue or bug that can be worked out in the X Theme theme updates? The developer said the issue was not resident on the server and likely had to do with the theme and it’s cache feature.

Here is the HT Access BAD code causing the problem:

BEGIN GD-SSL

Options +FollowSymLinks RewriteEngine On RewriteCond %{HTTPS} !=on RewriteCond %{HTTP_USER_AGENT} ^(.+)$ RewriteCond %{SERVER_NAME} ^rutheducationconsultingllc\.org$ RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L] Header add Strict-Transport-Security "max-age=300" # END GD-SSL

BEGIN WordPress

ExpiresActive On ExpiresByType image/jpg "access plus 6 hours" ExpiresByType image/jpeg "access plus 6 hours" ExpiresByType image/gif "access plus 6 hours" ExpiresByType image/png "access plus 6 hours" ExpiresByType text/css "access plus 6 hours" ExpiresByType application/pdf "access plus 1 week" ExpiresByType text/javascript "access plus 6 hours" ExpiresByType text/html "access plus 10 minutes" ExpiresByType image/x-icon "access plus 1 year" ExpiresDefault "access plus 3 hours" Header set X-Endurance-Cache-Level "2" Options -Indexes RewriteEngine On RewriteBase / RewriteRule ^/wp-content/endurance-page-cache/ - [L] RewriteCond %{REQUEST_METHOD} !POST RewriteCond %{QUERY_STRING} !.*=.* RewriteCond %{HTTP_COOKIE} !(wordpress_test_cookie|comment_author|wp\-postpass|wordpress_logged_in|wptouch_switch_toggle|wp_woocommerce_session_) [NC] RewriteCond %{DOCUMENT_ROOT}/wp-content/endurance-page-cache/$1/_index.html -f RewriteRule ^(.*)$ /wp-content/endurance-page-cache/$1/_index.html [L] RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L]

END WordPress

BEGIN WordPress

RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] # END WordPress

============================================================================

Now here is the HT Access file code used to correct the problem:

BEGIN GD-SSL

Options +FollowSymLinks RewriteEngine On RewriteCond %{HTTPS} !=on RewriteCond %{HTTP_USER_AGENT} ^(.+)$ RewriteCond %{SERVER_NAME} ^rutheducationconsultingllc\.org$ RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L] Header add Strict-Transport-Security "max-age=300" # END GD-SSL

BEGIN WordPress

RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] # END WordPress

Hi @bluetroop2,

Thanks for reaching out.

The theme does not require any htaccess configuration since it’s just a theme, as for the builder, it only depends to the permalink provided by the Wordpress. And that Wordpress configuration is just this.

Hence, all other configurations must be from hosting’s feature or plugin’s rewrites and not from our theme or builder. And as you can see, most configuration from your provided content is for SSL and Cache. I recommend contacting the author of each configuration for the said issue.

Thanks!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.