Jump to content
dev198

Url Accepted with space

Recommended Posts

If you copy paste the URL from the browser you will see that the space is transformed to %20. You should not have the spaces in the first place. Spaces are considered unsafe according to the RFC.

Edited by benanamen
  • Like 1

Share this post


Link to post
Share on other sites
4 minutes ago, benanamen said:

If you copy paste the url from the browser you will see that the space is transformed to %20. It is generally not a good idea to have the spaces in the first place.

Yes, this is the main issue, so how can i found the issue, because both urls are working fine, how can i find the main issue

Share this post


Link to post
Share on other sites

Apparently you have something that converts hyphens to spaces.

You might as well accept it. But you can redirect: figure out the correct URL slug, and if it doesn't match the one provided then send them there.

  • Like 1

Share this post


Link to post
Share on other sites

If it is happening than one of the url should be go on 404 or redirect on the page, but both url is working separately and google search console consider that these are two url

Share this post


Link to post
Share on other sites

Okay, fine, you can 404 it instead of redirecting. Same difference.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.