• when I type in the address https://www.myaddress.co.uk it returns with 404 Not Found error and I notice that the address shown is https://www.myaddress.co.uk/news

    no matter how carefully I type, it still returns with that address. I’ve even tried using https://

    There is a news post but it is a Draft Post and when I publish it, it makes no difference.

    I have recently added a couple of Plugins but even after deactivating them it made no difference.

    I hadn’t noticed how long it’s been like that because I mostly log in to the Admin panel first and while I’m logged in, it works fine.

    I use a static page but I checked that and it is correct under Settings, Reading.

    I’m lost on this as I must have done something wrong because it was ok.

    please help.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter drewcam

    (@drewcam)

    I’ve tried changing the permalinks but that didn’t help.

    any offers?

    What urls are entered in settings -> General? Have you tried using default permalinks and renaming any .htaccess file in your root folder?

    Thread Starter drewcam

    (@drewcam)

    the url address entered in General is correct.

    The permalinks is on default but I tried the others, even adding /%category%/%postname%/ in the custom structure.

    I haven’t tried renaming .htaccess

    I’m not sure why or how I would do that?

    thanks

    Try using default permalinks and renaming any .htaccess file in your root folder.

    Thread Starter drewcam

    (@drewcam)

    default is what it was on and Ive been changing it around but no difference except it says You 404’d it Gnarly dude’.

    renaming htaccess?

    Yes – look in the same folder as your wp-config.php file. ensure that your ftp client is configured to show all files as some clients hide /htaccess files by default. Just rename it htaccess.old

    Admin/Settings/Permalink/
    Custom Structure : %category%

    An entry in the file:
    .htaccess

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /wp/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /wp/index.php [L]
    </IfModule>
    
    # END WordPress

    Try using default permalinks and renaming the .htaccess file.

    Thread Starter drewcam

    (@drewcam)

    thank you. I will play around. A couple of years ago I had to change a similar file for 301 redirects I believe?
    But I haven’t had anymore experience than that first encounter.

    Thread Starter drewcam

    (@drewcam)

    back again!

    I did as raffish and asmi suggested but i either get a 404 error or a ‘not found’ error.

    the fact it insists on finding a news page that doesn’t exist and not the static home page should be simple to fix in theory shouldn’t it?

    Thread Starter drewcam

    (@drewcam)

    I contacted my server and they replied –

    Hello,
    Thank you for your patience with regards to this matter. We have reviewed your inquiry and noticed that the redirect is not set at server level, but since we are talking about WordPress which is URL dependent we would need you to clarify if there had been any changes within your WordPress configuration to reference the /news, or if previously the blog was hosted in that certain directory.
    Also we have noticed that while trying to override the default WordPress setup by adding the following lines to your wp-config.php file:
    define(‘WP_HOME’,’https://www.wrapmidsussex.co.uk&#8217;);
    define(‘WP_SITEURL’,’https://www.wrapmidsussex.co.uk&#8217;);
    The error thrown is too many redirects, which proves that the redirect is from within WordPress, either caused by a plugin or theme if not by the WordPress setup.
    Best Regards,

    Its a site that I haven’t worked on for a long while except for adding one post.

    so what can I do now?

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘URL address not working’ is closed to new replies.