On our site we placed a quicktabs block on our front page. The tabs are configured to use AJAX loading. Our address would be something similar to http://somedomain.com. The issue we ran into was in preparing for SEO we turned on the Global Redirect module. That module automatically creates a redirect from /node to the site root. Unfortunately, this meant that our quicktab links were all pointing to an address that then 301 redirected to the site root when performing link checks.
It appears this was due to the /plugins/QuickQuicktabs.inc file. On line 70 it had the following line which returns the original URL rather than the aliased (and desired) version.
'#href' => $_GET['q'],
By changing that line to the following, we were able to return the aliased URL properly.
'#href' => request_path(),
Could request_path(), or some form of it, be used which would help maintain consistent, clean URLs?
Comments
Comment #1
smustgrave commentedWith D7 EOL approaching in a month I'm starting to triage the D7 side of quicktabs queue. This doesn't appear to have any code so believe this may not make it, sorry! Thanks though!
If still an issue or needed for 4.0.x (latest branch) feel free to reopen