• we have been asked to look at site that had been hacked we are tidying it up now. the only issue i have yet to resolve is the /blog/ doesn’t work – not on the commercial theme we have or the 2014 theme. we are running the latest WP4.1

    i keep regenerating the .htaccess file and set permalinks – all the pages work – it is just the /blog/ doesnt

    https://www.cbfb.co.uk/blog/

    any one come across this?

    Thanks

    jason

Viewing 14 replies - 1 through 14 (of 14 total)
  • Moderator t-p

    (@t-p)

    – Check the error logs on your server for a more specific error message. If you need help locating them, ask your hosting provider to help you with that.

    Thread Starter jhulott

    (@jhulott)

    Thanks Tara,

    I have asked for the error logs. Weird thing is i am not sure it is an actual server error – something is stopping it delivering the right page but it is delivering a page template…

    until I select it is a the blog post page in Reading – then it goes blank.

    Moderator t-p

    (@t-p)

    i am not sure it is an actual server error –

    may be. error logs will give more info

    Thread Starter jhulott

    (@jhulott)

    No error logs showing but if I set the reading setting to the Blog page I get this:
    a blank page and the Chrome developer console shows this:

    Failed to load resource: the server responded with a status of 500 (Internal Server Error)

    any ideas?

    Hi jhulott,

    Have you checked your functions.php file if there is any white space at the end of the file?

    if so, remove all white space after the last closing tag in the functions.php

    This could be a reason why the internal server error accrues

    Hope this helps!

    Kind regards,

    Larsen Busch

    Thread Starter jhulott

    (@jhulott)

    Thanks Larsen,

    Sadly there was no white space after the closing tag.

    I’ll remember that in future for other projects though.

    Jason

    are the permalinks under settings set to / %category%/%postname%/ ?

    Larsen

    Thread Starter jhulott

    (@jhulott)

    yes they are…

    Jason

    Thread Starter jhulott

    (@jhulott)

    the odd thing is the categories work just not the main blog page

    https://www.cbfb.co.uk/category/credit-insurance/

    did you try to reset the permalink structure?

    set the permalink structure to normal and after saving change them back to / %category%/%postname%/

    let me know

    Larsen

    Thread Starter jhulott

    (@jhulott)

    Thanks Larsen,

    Yes I just re did that just in case. I had tried before but going round in circles so I might have missed it. ??

    No problem!
    glad i could help.

    Thread Starter jhulott

    (@jhulott)

    Sorry I just re read my note. That didn’t fix it ??

    Unless you are seeing a page:

    https://www.cbfb.co.uk/blog

    Hi jhulott,

    can u change the FilePermission of the .htacces file to 775.
    the switch to default permalink setting.
    the switch back to custom permalink setting
    then set FilePermission back to 644.

    If that doesn’t work copy and past the permalink structure you have set, go to posts category and tell me the Permalink of the blog category.

    Also paste your .htacces here so i can review it.

    Kind regards,
    Larsen

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘.htaccess file issue i think’ is closed to new replies.