I am running the mobile tools module for a mobile website I have. Generally speaking, one sets the module to redirect from the desktop site to the mobile site. I.e., if you are on a smartphone and try to navigate to site.com, the phone browser will be detected and the user will be automatically redirected to m.site.com, for example.

There is a place where one can enter exceptions to this redirection. This is where I am having some trouble with pathauto.

For reasons that are too esoteric to explain here, I need to be able to log into my desktop version of my site on my mobile phone and bulk update URL aliases. I can get to the bulk update tab fine. The problem is when I execute the bulk update command (for nodes for example).

Upon executing the command, the URL changes from this:

admin/build/path/update_bulk

To this:

batch?op=start&id=XX (where XX is a double digit number; could be a triple digit as well)

In the "redirection exceptions" box I have put in the following but have had no luck preventing redirection to the mobile site:

batch?op=start&id=*
batch?op=start&id=31
batch?op=start&id=32 (the actual numbers are in anticipation of future ids)

I suspect that something happens between the activation of the bulk update command and the execution of the command itself.

Is there a wildcard I can place to make this work?

(I have posted a version of this issue on the mobile tools issue page, in case someone there has the answer, but I suspect that this is more related to pathuto.) Thank you for your help.

Comments

dave reid’s picture

Make sure you have exceptions for:
admin
admin/*
batch
batch*

greggles’s picture

Status: Active » Fixed

I agree with Dave, but also think that this is more an issue for mobile tools than Pathauto.

It's about the batch interface in general, not Pathauto.

trazom’s picture

Brilliant, thank you, I guess I was not intercepting the batch process early enough.

One last question if I may: Is it possible to bypass the bulk update tab completely; that is, I know what I want to do every time I visit the tab -- bulk update node and taxonomy term paths.

Thus, is it possible to create a simple link (using html, placed on a menu somewhere) that will encapsulate/incorporate/execute those two commands and begin the batch process without me having to manually check the two boxes and press the submit button?

Many thanks for your kind assistance.

trazom’s picture

Yes, I see now that this is not a batch processing issue.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.