[ad_1]
Rebuilding a older site, and noticed as I add pages and view them, the new site doesn’t have the / at the end of the url. Not sure if this is even a thing, or if there is a best practice on this? Here is an example of what I’m talking about
Current site
[mysite.com/visit/on-the-water-adventures/](http://mysite.com/visit/on-the-water-adventures/)The rebuild I’m working on shows it this way, without the “/” on the end of the url
[mysite.com/visit/on-the-water-adventures](http://mysite.com/visit/on-the-water-adventures) [ad_2]
Not a thing, both are ok.
Likely has more to do with your web server and config (nginx/apache) and their rewrites than anything else.
If it matters to you cosmetically, that’s where I would start. Otherwise, it’s all the same.
Check the permalinks setting page. WordPress has a trailing slash by default. One isn’t required.
Does the page resolve at both with and without the trailing slash? If so, it could cause SEO problems as the crawler will see duplicate content.
It shouldn’t really matter, whichever one you don’t want should redirect to the other one. A normal setup will do that automatically.
There isn’t really a best practice, but you should keep what you originally had otherwise any existing links e.g. from search engines or other sites will cause a redirect, which isn’t that much of a big deal but will slightly slow down any request, and add unnecessary load to your server.
Search engines will eventually figure it out and link to the new URL, but links from other sites will probably always be wrong.
As another commenter pointed out, you should look in Admin->Settings->Permalinks and make sure the permalink structure ends with a /. You might need to Save a couple of times to make sure the change takes effect.