Not working sir.
The redirection settings on 000webhost: https://www.screencast.com/t/Kv6f3ol4
And settings on namecheap: https://www.screencast.com/t/XmYZLJt2gV7d
I’ve deleted the wrong redirection.
Pasted
RewriteEngine On
RewriteCond %{HTTP_HOST} ^crackedbunch\.000webhostapp\.com$ [NC]
RewriteRule ^ http://crackedbunch.me [L,R]
and
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress
Into .htaccess
Both domains now load for me.
On Namecheap if you are using CNAME method
You need only TWO records
One WWW
One @
Both pointing to crackedbunch.000webhostapp.com
Remove the bottom 301 redirect on Namecheap I think.
Great!
Thanks a lot.
We only provide free HTTPS/SSL for our free subdomain 000webhostappURL.
If you use a custom domain you need to seek your own SSL/HTTPS - for FULL security/protection this isn’t possible on the free plan using a custom domain without upgrading to premium.
Some users use “Flexible” CloudFlare between their custom domain and our servers to display the “protected look” when visitors launch your site.
Thank you very much for this.
Sir previously crackedbunch.me was redirecting https://www.crackedbunch.me (I was using cloudflare for SSL)
But now it is redirecting to https://crackedbunch.me.
What is difference ?
And if it is better to redirect https://www.crackedbunch.me, then what change is required ?
www isn’t really required I would just keep it without unless you like having the www. there?
Sir can you tell me difference using www and not using it ?
And if it is possible to add www, please add it for me.
That URL record I’m not sure of.
For certain 000webhost requires two nameservers or TWO CNAME records set.
Nothing else
OK, Got it.
Sir see screenshot: https://www.screencast.com/t/pa1PzcycJ79I
How to configure so that all crackedbunch.000webhostapp.com/* links look crackedbunch.me/* in my website ?
Should be working like that now?
No sir, How to configure so that all crackedbunch.000webhostapp.com/* links look crackedbunch.me/* in my website ?
Try putting this code in your .htaccess file
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !.*crackedbunch\.000webhostapp\.com$ [NC]
RewriteRule ^(.*)$ http://crackedbunch.me/$1 [R=302,L]
The reason we use 302 for testing is because it is “temporary” and reversible.
I have already same kind of code, please see below.
RewriteEngine On
RewriteCond %{HTTP_HOST} ^crackedbunch.000webhostapp.com$ [NC]
RewriteRule ^ http://crackedbunch.me [L,R]
should I overwrite ?
Yes, try replacing it with the above code
Not working.
error: redirected you too many times.