301 redirect not working - domain redirect

Hi
I want redirect banehbazarche to banehbaazarche
I do these:

but still it doesn’t work.

I want every URL to be redirected to the same URL in the new domain for example:
olddomain/x to newdomain/x
olddomain/x/y to newdomain/x/y
olddomain/x/y/z to newdomain/x/y/z
olddomain/w to newdomain/w
olddomain/s to newdomain/s

Have I done something wrong?

The redirect appears to work, however you should use $2 instead of $1, as you are currently redirecting to a path pointing to your hostname.

1 Like

change $1 to $2 but for my IP still it doesnt work.
The first internal domain was filtered and I created a second domain to fix the filter. But still not working for me. And my site links are not directed in Google results. What else can I do?

Probably a propagation issue. The redirect does work.

$ curl -I http://banehbazarche.com
HTTP/1.1 301 Moved Permanently
Location: https://banehbaazarche.com/

Try rebooting your router.

I’m sorry, I don’t know how to do this. Should I put the code in the htaccess file?

No, this has nothing to do with your server configuration. This is a local issue with your ISP. You can also try to switch to another DNS resolver. On Cloudflare’s side it works as you configured it.

Thankful. How do I find the DNS resolver?

In your system network settings.

You can find a list of other resolvers at Public recursive name server - Wikipedia.

Should you need to clarify further details, please check out StackExchange or Reddit, as this is not strictly a Cloudflare issue at this point.

However, I’d really simply try to reboot the router.

Thanks for the tips

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