Page redirection causes problem at SEO optimization
-
Hello,
We have a two-part start page on our site www.schawa.de (programmed with HTML).
When you visit the subpages (both designed with Lay Theme), the domain is redirected with a / at the end.This means that in this specific case:
we call up https://schawa.de/media and there’s a redirect to https://schawa.de/media/ (note the / at the end) – which is alright and the regular way WordPress handles redirects.However, this URL redirects back to https://schawa.de/media (without / at the end) using javascript which is why we’re suspecting LayTheme doing this.
This causes a problem with SEO optimisation, as each URL is only crawled once, which means that crawling ends at the point where only two URLs were found that redirect to each other.
After some troubleshooting, the problem should be related to Lay Theme (Any other theme doesn’t show the described behaviour). Is there a solution for this?
Thanks in Advance,
B+N -
@B-N said in Page redirection causes problem at SEO optimization:
Hello,
We have a two-part start page on our site www.schawa.de (programmed with HTML).
When you visit the subpages (both designed with Lay Theme), the domain is redirected with a / at the end.This means that in this specific case:
we call up https://schawa.de/media and there’s a redirect to https://schawa.de/media/ (note the / at the end) – which is alright and the regular way WordPress handles redirects.However, this URL redirects back to https://schawa.de/media (without / at the end) using javascript which is why we’re suspecting LayTheme doing this.
This causes a problem with SEO optimisation, as each URL is only crawled once, which means that crawling ends at the point where only two URLs were found that redirect to each other.
After some troubleshooting, the problem should be related to Lay Theme (Any other theme doesn’t show the described behaviour). Is there a solution for this?
Thanks in Advance,
B+NAre there any conclusions for this issue yet? Or does sombody have an idea how to fix this problem?
-
hey !
yes lay theme does remove the trailing slash, im not sure anymore why I did that.
In an upcoming lay theme update this will be fixed -
Hey @arminunruh Sounds great! Thank you for the reply!
Do you already know when the update will be released?
All the best!
Christian -
when you update lay theme now it should be fixed
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it