Osclass domain name not pointing

Hi,
I have pointed my domain name to the ns01.000webhost.com and ns02.000webhost.com nameservers.
I’ve clicked “Manage -> Link website”. and when I type my domain name everything works fine.
However, when I click on “for sale” or any other page on my website the domain name goes back to xxxx.000webhostapp.com.
Can someone help please?

what is your domain name??
Make sure you change wordpress and site url.
and use only “http” not “https”

1 Like

Hi,
Thx for your answer, my website is boatlab.org . When I clic on “for sale” it goes to https://boatlab.000webhostapp.com/index.php?page=search&sCategory=1 When i go back it goes to http://boatlab.000webhostapp.com. Im using Osclass and not wordpress

Make sure you don’t use any redirection.

I don’t use redirection. This is very annoying I don’t know what to do.

I click for sale

You’ll need to contact the script developer and ask them to sort out the errors within the script.

Else visit general settings and try turning your PHP version down to the version that matches the script or try 5.4/5.5/5.6 in that order.

Hi Infinity. Thanks for your answer.
Everything is sorted out now, I had to go in the config.php in public_html main directory and changed: define(‘WEB_PATH’, ‘https://mywebsite.000webhost.com’); to define(‘WEB_PATH’, ‘https://mywebsite.com’);
As for the warning message I added: ini_set(‘display_errors’, 0); in config.php at first line after the opening php tag such as the screenshot attached

Hope this helps others, thanks for your time.

1 Like