Hello,

Here is a peculiar issue when I hit the urls without trailing slash, I'm redirected to the urls like this

domain/home/user-name/public_html/the-node-url/

Also, I'm getting hundreds of error messages like this
Notice: Use of undefined constant DEBUG_BACKTRACE_IGNORE_ARGS - assumed 'DEBUG_BACKTRACE_IGNORE_ARGS' in trailing_slash_url_outbound_alter() (line 41 of /home/user-name/public_html/sites/all/modules/trailing_slash/trailing_slash.module).
Hope somebody helps me.

Regards

almamun
----------------
Dinajpur - Rangpur

Comments

Akaoni’s picture

Title: "no slush" url is redireted to domain/home/user-name/public_html/the-node-url/ » Non-Trailing Slash URL Redireted Incorrectly
Status: Active » Postponed (maintainer needs more info)

There are two issues here:

1. The DEBUG_BACKTRACE_IGNORE_ARGS error has already been noted and will be fixed soon. See:
http://drupal.org/node/1858820#comment-6815560

2. The second issue is a problem with how Trailing Slashes are enforced.

Am I right in assuming that you are using Trailing Slash in conjunction with Global Redirect?
If so, are you using Global Redirect to enforce the trailing slashes (eg. Enforce trailing slash Global Redirect setting is checked)?

almamun’s picture

Hello Akaoni,

Thanks for responding.

This is what I did
1. I installed both Global Redirect and Training Slash modules.
2. Placed these 2 lines of htaccess code right next to # RewriteBase /

RewriteCond %{REQUEST_METHOD} !=post [NC]
RewriteRule ^(.*(?:^|/)[^/\.]+)$ $1/ [L,R=301]

3. Enabled both options in Training Slash module.
4. Enabled Enforce trailing slash in Global Redirect module

almamun’s picture

Issue summary: View changes

added more error

Akaoni’s picture

Issue summary: View changes

Apologies for the slow reply.

Unfortunately this issue won't be fixed until a new maintainer can be found:
https://www.drupal.org/node/2841563#comment-11884584

astonvictor’s picture

Status: Postponed (maintainer needs more info) » Closed (outdated)

I'm closing it because the issue was created a long time ago without any further steps.

if you still need it then raise a new one.
thanks