Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 2
Message 1 of 2

Multiple redirects for my site

Solved! Go to Solution.

Hi everyone,

 

I have repository hosted using GitHub Page (It's javadeveloperpl.github.io). I use Hugo static site generator.

I also added some time ago custom domain for this repository (CNAME file includes name of custom domain which is javadeveloper.pl) .

I also have enabled HTTPS for my repository in repository settings.

Yesterday I used SEMRush to perform audit for my site and I can see many redirects for every page.

For example when for single page below I have two pairs of redirects.

 

Page URL: https://javadeveloper.pl/solid
Crawl Depth: 2 clicks
Issues: Redirected
HTTP Status code: 301

 

Page URL: http://javadeveloper.pl/solid/
Crawl Depth: 2 clicks
Issues: Redirected
HTTP Status code: 301

 

As you can see the same page URL is almost the same but in second case it additionally contains / character. 

 

I don't know what can be reason of such behaviour. Is it some Hugo settings or domain provider?

Can some help me to solve this problem?

Thanks in advance for help

 

1 Reply
Solution
Copilot Lvl 2
Message 2 of 2

Re: Multiple redirects for my site

I found myself reason of this behaviour. I had links within posts with incorrect url.