dev198 Posted December 14, 2018 Share Posted December 14, 2018 Hello Experts, I am facing an issue that my site's some urls are working fine containing space, So can you help me what is the reason behind it, and how can i fix it.https://asapcashhomebuyers.com/new-york/https://asapcashhomebuyers.com/new york/ Thanks Quote Link to comment Share on other sites More sharing options...
benanamen Posted December 14, 2018 Share Posted December 14, 2018 (edited) 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 December 14, 2018 by benanamen 1 Quote Link to comment Share on other sites More sharing options...
dev198 Posted December 14, 2018 Author Share Posted December 14, 2018 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 Quote Link to comment Share on other sites More sharing options...
requinix Posted December 14, 2018 Share Posted December 14, 2018 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. 1 Quote Link to comment Share on other sites More sharing options...
dev198 Posted December 14, 2018 Author Share Posted December 14, 2018 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 Quote Link to comment Share on other sites More sharing options...
requinix Posted December 15, 2018 Share Posted December 15, 2018 Okay, fine, you can 404 it instead of redirecting. Same difference. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.