Closed (outdated)
Project:
Redirect
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
24 Mar 2015 at 12:02 UTC
Updated:
20 May 2025 at 20:38 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Marko B commentedAlso Language is not respected, so when I call something with language prefix like
https://develop.example.com/de/staticPage.php
404 list reports like https://develop.example.com/staticPage.php was visited, so there is no way of knowing which language had 404.
Comment #2
Marko B commentedComment #3
Marko B commentedAlso, if you have a url that was in subdomain like in
https://de.example.com/staticPage.php
and you want to move it out of subdomain like
https://example.com/de/staticPage.php, then you cant, as base part of URL is hard fixed.
Comment #4
Marko B commentedComment #5
Marko B commentedSo most of this is because redirect is using data from watchdog "message" field, which is missing all the other info, for example
so location field has full URL data, the message has just minimal data. I know that more parsing would be needed in "location" case, but it could also offer more features.
Comment #6
Marko B commentedI made a patch that will get language prefix from 404 URL from "location" field in watchdog table. Then add it to list in 404 admin. Also when you click redirect it will use this language as preselected from drop down in the list so you can quickly make proper language redirect.
Comment #7
Marko B commentedComment #8
chris matthews commentedThe patch in #6 is 4 years old and no longer applies to the latest 7.x-1.x-dev and may be too old to reroll, but I'll add the issue tag anyway.
Comment #9
Marko B commentedThat is story of my life on d.org. I have dozens of patches nobody looks at until it passes few years and then this happens. Something is broken here.
Comment #10
chris matthews commentedI understand and agree with you. There is ton of great contrib patch code 'out there' for D7, which is why I felt it is worth attempting to resurrect as many old issues as I could in hopes that at least a small percentage will eventually get committed and it appears to be working to some degree. Here are a few examples from the xmlsitemap module:
#2831778: Sitemap file size increase for Google and Bing
#2545050: Dont write empty element in xml sitemap file
#2307573: Modal not working
#2831500: Arabic Language encoding
Comment #11
Marko B commentedGood luck, hope you make the most of it.
Comment #12
wylbur commentedClosing this as Outdated as Drupal 7 is EOL.