Jump to content
simona6

How do you enforce no trailing slash, on homepage only?

Recommended Posts

A Wordpress website has trailing slashes, and all is fine.  But for some reason SEO software sees the homepage with and without the /.  Causing duplication.

Not all SEO software sees it.

What is the HTACCESS code to add, to enforce, only on the homepage main domain URL, NO trailing slash?

Thanks

 

Share this post


Link to post
Share on other sites

By homepage, are you talking about the root of the domain? example.com, and not like example.com/homepage?

Technically there is always a trailing slash for domain roots. Because it's not a trailing slash per se but rather a leading slash. And you cannot get rid of a leading slash - example.com and example.com/ are the exact same thing.

What exactly is the software saying?

Share this post


Link to post
Share on other sites

It's saying we have duplicate Title Tags, for the normal and / version of the same page.

Share this post


Link to post
Share on other sites

The "normal" and "/ version" are the same thing.

Duplicate title tags sounds like it means duplicate <title> tags. Check your HTML markup.

Share this post


Link to post
Share on other sites

"DUPLICATED VALUES TITLE TAGS"

For / and non-slash.

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.