Forward slashes after domain name missing in URLs

Hi! All the forward slashes are suddenly missing in the URLs on my website. This is happening only in the BODY part of the web pages (not in the menu).

For example, instead of my URLs being like WWW.SHOPPING.TENNIS/RACKETS, they are now WWW.SHOPPING.TENNISRACKETS (i.e., without the forward slash after ‘tennis’).

I noticed that today but it may have happened 3-4 days ago when implemented Cloudflare CDN (which caused the URL to change from https://shopping.tennis to https://www.shopping.tennis) or when I changed the font size on my website today and then updated Google fonts by registering for Redux on WordPress.

Anyway, Since my website has over 500 pages (including product pages), changing the URLs on each page could take weeks. Is there a quick fix? Thanks, in advance, for your help.

Can you post a screenshot of what you mean?

The menu seems to be correctly set up for now

Hi Sandro! Thanks for your reply. This issue is happening only in the BODY section of every page, not in the menu. The menu is perfectly fine. For example, if you go to the following page and click on every hyperlink within the BODY TEXT or on the ‘Shop Now’ button for every product, you get a broken link: Tennis Rackets | The Best Tennis Racquets in 2021 – Shopping.tennis. This was not the case before. I believe it happened after I updated Google fonts and registered for Redux on WordPress this morning. However, when I did a 24-hour backup, the issue was not fixed. Therefore, it may have happened before (like last Friday when I activated Cloudflare CDN which changeD all the URLs by adding WWW to them) but I did not notice anything. Thanks for your help.

All right, I can reproduce it with those links, but I am afraid that does come straight from your server and is not Cloudflare related in this case. You can easily reproduce this by pausing Cloudflare and connecting straight to your server.

That’s something which needs fixing on the server.

1 Like

Thanks a lot. I will see with SiteGround then as that’s where my website is hosted.

If it is of any help (or to prove it to your host), you can also run the following command on your Unix shell to check that it comes from your server.

$ curl --resolve www.shopping.tennis:443:[....YOUR-SERVER-IP-ADDRESS-HERE....] https://www.shopping.tennis | grep tennisrackets | head -2
		    <img width="900" height="900" src="https://www.shopping.tennis/wp-content/uploads/2020/06/Babolat-Pure-Aero-France-Tennis-Racket-from-Tennis-Shop.jpg" class="attachment-full size-full" alt="Babolat Pure Aero France Tennis Racket from Tennis Shop" srcset="https://www.shopping.tennis/wp-content/uploads/2020/06/Babolat-Pure-Aero-France-Tennis-Racket-from-Tennis-Shop.jpg 900w, https://www.shopping.tennis/wp-content/uploads/2020/06/Babolat-Pure-Aero-France-Tennis-Racket-from-Tennis-Shop-300x300.jpg 300w, https://www.shopping.tennis/wp-content/uploads/2020/06/Babolat-Pure-Aero-France-Tennis-Racket-from-Tennis-Shop-150x150.jpg 150w, https://www.shopping.tennis/wp-content/uploads/2020/06/Babolat-Pure-Aero-France-Tennis-Racket-from-Tennis-Shop-768x768.jpg 768w" sizes="(max-width: 900px) 100vw, 900px" />                                            <a class="link" href="https://www.shopping.tennisrackets/"></a>
														<a class="banner-button button" href="https://www.shopping.tennisrackets/">SHOP NOW</a>
2 Likes

Thanks.

1 Like

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