• Hello. I just found out that there are hundreds of incoming links to http://www.mysite/wordpress/ but this URL just returns a 404 page not found error. Is that normal? I would have thought that entering the URL the browser would look for an index page and open that, but although there is an index.php page there it still returns a 404.

    I have got round this by placing Redirect permanent /wordpress/index.php https://www.whitegoodshelp.co.uk/ in the root .htaccess file but I can’t help thinking that that shouldn’t be necessary?

    My site is inside WordPress folder and otherwise works perfectly okay.

    • This topic was modified 5 years, 8 months ago by XyZed.
Viewing 2 replies - 1 through 2 (of 2 total)
  • 404 is issued when a page is not found. This could be a number of reasons for this. You could probably find a plugin that will redirect the 404 to another page. Your 404 will not automatically redirect to another page. But, with a little effort, it can be made to do so.

    • This reply was modified 5 years, 8 months ago by mrtom414.
    Thread Starter XyZed

    (@xyzed)

    Thanks for your reply. I need to know whether it is normal for that URL to return a page not found or not? I have already redirected it to the index page using my .htaccess file but my concern is whether or not that is good or bad idea?

    If http://www.mysite/wordpress/ is supposed to return a page not found error (despite containing an index.php file) then what I have done is pretty pointless and possibly stupid.

    The index.php file in the WordPress folder contains the following –

    <?php
    /**
    * Front to the WordPress application. This file doesn’t do anything, but loads
    * wp-blog-header.php which does and tells WordPress to load the theme.
    *
    * @package WordPress
    */

    /**
    * Tells WordPress to load the WordPress theme and output it.
    *
    * @var bool
    */
    define( ‘WP_USE_THEMES’, true );

    /** Loads the WordPress Environment and Template */
    require __DIR__ . ‘/wp-blog-header.php’;

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

The topic ‘../wordpress/ gives 404 is that normal?’ is closed to new replies.