Skip to content Skip to sidebar Skip to footer

In Meta Tag, Url With Slash Vs Url Without Slash

What is the difference between: and I am calling t

Solution 1:

When you use "/" as the first character of the route you mean that the route starts from the root (domain.com/). If you don't use it, the route starts from the current location (domain.com/folder/).


Solution 2:

Using / indicates that the path begins in the root folder. This is called an absolute path.

If you avoid the slash you are using a relative path, so the path begins in the current folder.


Post a Comment for "In Meta Tag, Url With Slash Vs Url Without Slash"