-
-
Notifications
You must be signed in to change notification settings - Fork 213
Page Setting: Redirect Type 301 - SEO error if no redirect page selected (breadcrumb) #8377
Comments
|
What exactly is the problem? |
|
"SEO" wise, this doesn't actually matter, probably. However, those check tools simply complain, that a link on a page that leads to another page within the same domain, actually response with a 301 redirect pointing to a page, that is also within the same domain. It would be more efficient to link to the redirected page directly. So imagine a link of a Contao navigation module that says <a href="foo.html">Foo</a>where in this case, <a href="moo.html">…</a>right away, saving one redirect for the client. |
But that's exactly like the navigation menu works already. |
|
Only if a redirect page is selected in the page settings. Am 22.06.2016 um 09:40 schrieb Leo Feyer notifications@github.com: the link could have pointed to … right away, saving one redirect for the client. But that's exactly like the navigation menu works already. — |
Oh, right. Then I don't undestand what @eBlick means. |
|
Go to Demo. Set page Modules (modules.html) to Internal redirect. Do not choose a Redirect page. See breadcrumb in FE. Page Modules links to modules.html but gets redirected to navigation.html. BTW there is an error with ModuleBooknav which gets included on page navigation.html
So you have to inactivate this CE first if you want to test. |
|
Fixed in 09e8dba. |
### 4.2.3 (2016-09-06) * Do not double URL encode the content syndication links. * Use CSS3 transforms instead of transitions to animate the off-canvas navigation. * Improve the exception handling when using the resource locator (see #557). * Correctly reset the filter menu in parent view. * Support all characters but =!<> and whitespace in simple tokens (see contao/core#8436). * Check the user's permission when generating links in the picker (see contao/core#8407). * Handle forward pages without target in the navigation modules (see contao/core#8377). * Provide the same template variables for downloads and enclosures (see contao/core#8392). * Handle %n when parsing date formats (see contao/core#8411). * Fix the module wizard's accessibility (see contao/core#8391). * Correctly initialize TinyMCE in sub-palettes in Firefox (see contao/core#3673). * Validate form field names more accurately (see contao/core#8403). * Correctly show the ctime, mtime and atime of a folder (see contao/core#8408). * Correctly index changed pages (see contao/core#8439).
Internal redirect pages need to have a target in the page settings. Otherwise the link in the breadcrumb navigation will be the origin internal page and the redirection triggers after clicking the link.
This causes errors in SEO Site Checks where internal links should not target to a 301-URL.
To select the target upfront seems not to be appropriate because forwarding to the next regular subpage is a common feature.
The links from a forwarded page in the breadcrumb should contain the next regular subpage if no target is selected.
The text was updated successfully, but these errors were encountered: