• Resolved WebGuru1

    (@aradmeezy)


    Hello, I’m having a slight problem with my website. For some reason on my shop page. I am not able to display the changes made on my website and the website tab displays “page not found”.

    Fixes I have tried:

    • Browser Cache
    • Wrong URL
    • Clear Your Cdn Cache
    • Clear WordPress cache

    Now I am guessing I have a coding problem but am not quite sure. Perhaps someone can give me a proper explanation.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 24 total)
  • Moderator James Huff

    (@macmanx)

    I recommend getting in touch with WooCommerce’s support about this via https://woocommerce.com/my-account/contact-support/ if you have any of their paid WooCommerce products or https://www.ads-software.com/support/plugin/woocommerce/ if you do not.

    Thread Starter WebGuru1

    (@aradmeezy)

    Sorry about not adding more context but its not just my shop page. Here is the other pages that are effected as well.

    About Page:

    Sorry for not adding more context.

    Moderator James Huff

    (@macmanx)

    Are these all published, not scheduled, private, or saved as draft?

    If they’re all published, try re-saving your permalink structure at Settings > Permalinks in your Dashboard. If WordPress cannot automatically edit the .htaccess file, it will provide manual instructions after saving.

    Thread Starter WebGuru1

    (@aradmeezy)

    Tried that didn’t work but I did read something on the internet that there could be possible code missing from my .htaccess file, but due to my limited knowledge of coding, I chose not to do it since I do not know the proper code to insert for the updating to work properly.

    Do you happen to know the knowledge of this?

    Moderator James Huff

    (@macmanx)

    What are the contents of your .htaccess file?

    Are the pages all published, not scheduled, private, or saved as draft?

    Thread Starter WebGuru1

    (@aradmeezy)

    • They are all published.
    • Before I post the content of my .htaccess file. for security purposes my website is not going to get hacked by some random person on here if they see these files is it?
    Moderator James Huff

    (@macmanx)

    I can’t speak for what’s in your .htaccess file.

    There isn’t supposed to be anything secure in there, but as it is a plain text file, there’s nothing stopping you for adding something secure to it.

    Thread Starter WebGuru1

    (@aradmeezy)

    Well, I guess I don’t have much of a choice since I need this problem fixed.

    So here’s the content of .htaccess file

    BEGIN AIRLIFT

    AddDefaultCharset utf8
    AddType text/html .html_gzip AddEncoding gzip .html_gzip
    RewriteEngine On RewriteBase / RewriteCond %{HTTPS} on [OR] RewriteCond %{SERVER_PORT} ^443$ [OR] RewriteCond %{HTTP:X-Forwarded-Proto} https RewriteRule .* - [E=SO_SECURE:-https] RewriteCond %{HTTP:Accept-Encoding} gzip RewriteRule .* - [E=SO_ENCODE:gzip] RewriteCond %{REQUEST_METHOD} GET RewriteCond %{QUERY_STRING} ="" RewriteCond %{HTTP:Cookie} !(wordpress_logged_in|wp-postpass_|wptouch_switch_toggle|comment_author_|comment_author_email_) [NC] RewriteCond %{REQUEST_URI} !^(/(.+/)?feed/?|/(index.php/)?wp-json(/.|$))$ [NC] RewriteCond %{HTTP_USER_AGENT} !^(facebookexternalhit). [NC] RewriteCond "%{DOCUMENT_ROOT}/wp-content/cache/airlift/%{HTTP_HOST}%{REQUEST_URI}/index%{ENV:SO_SECURE}.html%{ENV:SO_ENCODE}" -f RewriteRule .* "%{DOCUMENT_ROOT}/wp-content/cache/airlift/%{HTTP_HOST}%{REQUEST_URI}/index%{ENV:SO_SECURE}.html%{ENV:SO_ENCODE}" [L] END AIRLIFT BEGIN LSCACHE LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block!


    RewriteEngine on
    CacheLookup on
    RewriteRule .* - [E=Cache-Control:no-autoflush]
    RewriteRule .litespeed_conf.dat - [F,L] marker ASYNC start

    RewriteCond %{REQUEST_URI} /wp-admin/admin-ajax.php
    RewriteCond %{QUERY_STRING} action=async_litespeed
    RewriteRule .* - [E=noabort:1] marker ASYNC end marker CACHE RESOURCE start

    RewriteRule wp-content/./[^/](responsive|css|js|dynamic|loader|fonts).php - [E=cache-control:max-age=3600] marker CACHE RESOURCE end marker DROPQS start

    CacheKeyModify -qs:fbclid
    CacheKeyModify -qs:gclid
    CacheKeyModify -qs:utm*
    CacheKeyModify -qs:_ga marker DROPQS end LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! END LSCACHE BEGIN NON_LSCACHE LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! marker BROWSER CACHE start


    ExpiresActive on
    ExpiresByType application/pdf A31557600
    ExpiresByType image/x-icon A31557600
    ExpiresByType image/vnd.microsoft.icon A31557600
    ExpiresByType image/svg+xml A31557600

    ExpiresByType image/jpg A31557600
    ExpiresByType image/jpeg A31557600
    ExpiresByType image/png A31557600
    ExpiresByType image/gif A31557600
    ExpiresByType image/webp A31557600

    ExpiresByType video/ogg A31557600
    ExpiresByType audio/ogg A31557600
    ExpiresByType video/mp4 A31557600
    ExpiresByType video/webm A31557600

    ExpiresByType text/css A31557600
    ExpiresByType text/javascript A31557600
    ExpiresByType application/javascript A31557600
    ExpiresByType application/x-javascript A31557600

    ExpiresByType application/x-font-ttf A31557600
    ExpiresByType application/x-font-woff A31557600
    ExpiresByType application/font-woff A31557600
    ExpiresByType application/font-woff2 A31557600
    ExpiresByType application/vnd.ms-fontobject A31557600
    ExpiresByType font/ttf A31557600
    ExpiresByType font/otf A31557600
    ExpiresByType font/woff A31557600
    ExpiresByType font/woff2 A31557600 marker BROWSER CACHE end LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! END NON_LSCACHE BEGIN WordPress The directives (lines) between "BEGIN WordPress" and "END WordPress" are dynamically generated, and should only be modified via WordPress filters. Any changes to the directives between these markers will be overwritten.

    RewriteEngine On RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteBase / RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] END WordPress Wordfence WAF

    php_value auto_prepend_file '/home/u831126664/domains/bunker41.com/public_html/wordfence-waf.php'
    php_value auto_prepend_file '/home/u831126664/domains/bunker41.com/public_html/wordfence-waf.php' END Wordfence WAF

    Is there anything missing?

    • This reply was modified 2 months ago by WebGuru1.
    • This reply was modified 2 months ago by WebGuru1.
    Moderator James Huff

    (@macmanx)

    Wow, that is excessive! (nothing secure though ??)

    And yeah, WordPress’s section is malformed: https://developer.www.ads-software.com/advanced-administration/server/web-server/httpd/#basic-wp

    Those things must be on separate lines.

    • This reply was modified 2 months ago by James Huff. Reason: typos
    Thread Starter WebGuru1

    (@aradmeezy)

    If I do this. Will it fix the problem?

    Moderator James Huff

    (@macmanx)

    It might, probably, but either way, right now what you have is very very wrong, so it’s a good place to start. ??

    Thread Starter WebGuru1

    (@aradmeezy)

    Probably a weird question, am I only supposed to fix the WordPress section or the other sections as well?

    Moderator James Huff

    (@macmanx)

    Only the section between # BEGIN WordPress and # END WordPress.

    Thread Starter WebGuru1

    (@aradmeezy)

    Okay, I just fixed the code but it didn’t help with the pages.

    What now?

    • This reply was modified 2 months ago by WebGuru1.
    Moderator James Huff

    (@macmanx)

    What is the content of your .htaccess file now?

Viewing 15 replies - 1 through 15 (of 24 total)
  • You must be logged in to reply to this topic.