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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

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.