C
C
Colt01552021-08-19 18:50:56
WordPress
Colt0155, 2021-08-19 18:50:56

How to get rid of extra redirect c URL without "/" on wordpress site?

Hello!
When checking, Screaming Frog found that all links were duplicates without "/" .
By default, in the Wp admin panel, all links are set with "/" at the end of the url.
Ie:
domain.com/category - 301 redirect
domain.com/category/ - 200 OK Can you tell me

how to get rid of generating duplicate links without "/" and get rid of unnecessary redirects?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Artyom Vysokov, 2021-08-20
@Vysokoff

There is no way to get rid of it, these kind of URLs are always present and you yourself decide with the help of redirects which view to leave with or without a slash.
It would be bad if both versions of the URL returned 200 - then duplicates would be generated, otherwise everything is correctly configured using 301 redirects.

C
Colt0155, 2021-08-20
@Colt0155

Artyom Vysokov
I meant how to get rid of them in the issue. Because a similar situation with the main page without a slash, with www, http, etc., but it is glued to the main page with a slash at the end and does not show all options when scanning. Although if you enter differently in the browser line, you will always be redirected to the main option.
And according to the product cards, it turns out that it gives out all options without a slash from 301 and from a slash to 200. That is. there will be 5000 products and therefore 5000 duplicates without a slash with 301 redirects.
Somehow I want to get rid of it. if there are options where to dig, I will be grateful)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question