Wordpress 403 trying to access pages or wp-admin

403 - Not found on trying to access other pages

Index page - No images loading

Mhm, the website doesn’t seem to be loading.

1 Like

Same for me. It’s not even loading.

2 Likes

This is what I see

:man_shrugging:

Hmm…did you change all old url to new url in the sql database?

Indeed, localhost → http://housemate.infinityfreeapp.com

The site seems to be loading again now and I can navigate to other pages but there’s still no images loading and I’m still getting the 403 forbidden when trying to access wp-admin.

It looks like the cross origin issues are stemming from the neve theme JS.

I can’t really provide any further info than that.

Could this be the issue? How am I meant to amend a wordpress folder/config without completely breaking things?

It shouldn’t. The folder is called wp-includes, and everyone else has no issue with it.

I can see your site now, but images and wp-admin is not working. I’m not sure what to tell you though. Make sure everything in the database is setup correct I guess.

Your url is definitely wrong. Can you double check

Make sure images are in the correct directory.

what I see is http://housemate.infinityfreeapp.com/housemate.infinityfreeapp.com

2 Likes

@KangJL

Oh, I’ll check it out now.

Thanks

2 Likes

@KangJL

Exactly the same as I have it setup on another host as well as my dev environment.

Hi Greenreader,

I’ve double checked the DB, everything is exactly how it should be as far as I can see - as it is in my dev environment which works perfect, all the files and directories in htdocs are exactly the same.

PHP on XAMPP is 7.4.21 and here 7.4 so I’m mitigating that as an issue.

This is not enough.
You have to replace all localhost instance in the database

1 Like

Please note that siteurl and home need to be a URL, not just a domain name. Could you please try changing them from housemate.infinityfreeapp.com to http://housemate.infinityfreeapp.com?

3 Likes

:man_facepalming:

@Admin Yup that was it, how I didn’t realise such before now I don’t know.

I’d have replied sooner but the site wouldn’t let me post again until now.

Thank you!

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.