Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi Margo,

    To fix 404 errors in WordPress using htaccess, add the following code to your htaccess file:

    # BEGIN WordPress
    
    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

    Make sure to backup the current .htaccess file.

    You can check out the following documentation for more details

    https://developer.www.ads-software.com/advanced-administration/server/web-server/httpd/

    Hope this will help.

    Best

    Hi there,

    Have you tried clearing the browser cache?and cookies? And can you try to visit your site in incognito mode to see if the issue will still occur?

    In your WordPress dashboard at https://esztergomtours.hu/wp-amin, navigate to Settings > Permalinks, and click the Save Changes button to reset the permalinks. This will update your permalink settings and flush the rewrite rules found in your .htaccess file. In most cases, this solution helps fix that issue. Note that the “404 page not found error” usually means that there is a problem with your permalink settings or the way your URLs are set up. Follow these next steps if the above solution doesn’t fix it:

    1. Go to your WordPress dashboard.
    2. Edit the page or post that is giving the 404 error.
    3. Make sure the permalink is correct by clicking the URL section and changing the slug. You can follow the same process for all the 404 errors.?
    1. Don’t forget to save the page or post by clicking the Update button.?
    2. After that, go to Settings and select Permalinks.
    3. You have to choose a new permalink structure, preferably Post name.
    4. Then save your changes.
    5. You have to test your website.
    6. Clear browser cache.

    Try all the above troubleshooting steps and let me know if you need further help. You may need to restore your .htaccess file in some extreme cases.

    Hi there,

    This is because of the template hierarchy mechanism.

    By default, WordPress sets your site’s home page to display your latest blog posts. This page is called the blog post index. You can also configure your blog posts to display on a separate static page. The home.php template file is used to render the blog posts index, whether it is being used as the front page or on a separate static page. If home.php does not exist, WordPress will use index.php.

    The?front-page.php?template file is used to render your site’s front page, whether the front page displays the blog posts index (mentioned above) or a static page. The front page template takes precedence over the blog posts?index (home.php) template. If the?front-page.php?file does not exist, WordPress will either use the?home.php?or?page.php?files depending on the setup in Settings?→?Reading. If neither of those files exists, it will use the?index.php?file.

    Find out more on template hierarchy in detail here: https://developer.www.ads-software.com/themes/basics/template-hierarchy/#the-template-hierarchy-in-detail

    Hi there,

    I can see that you are using the block theme Twenty Twenty-Four and version 6.4.3 of WordPress, which require you to edit your site’s menus via the Site Editor. Access all your menus by going to Appearance > Editor > Navigation. From there, you can view, manage, and modify your menus, and add them to your site. Check out the official documentation for more details on how to proceed: https://www.ads-software.com/documentation/article/site-editor-navigation/

    I hope this helps ??

Viewing 4 replies - 1 through 4 (of 4 total)