In Administer-> Site Building -> Menu -> Edit

I appear to have hit a Path limit when inserting a URL which is 149 characters long - this one:-

http://www.workingintheuk.gov.uk/working_in_the_uk/en/homepage/schemes_a...

The limit appears to be 128.

Comments

BioALIEN’s picture

AFAIK, urls on the web should be no longer than 100 chars - else its bad for SEO. At least thats the research on pathauto module revealed hence why its defaulted to 100 chars.

As this is a unique case, you may have to modify core code in menu.module (or menu.inc) and change the limit to 255.

jpolt’s picture

Can you suggest what changes to apply and where?

chx’s picture

Status: Active » Closed (won't fix)

In drupal-5-dev path is 255 long .

Anonymous’s picture

Drupal 6 Solution

  1. Install module Menu Inject Block
  2. Create new Block
  3. Add menu link to Body:
    e.g. <div><a href="LONG URL>{menu link title}</a></div>
    Note: If you don't wrap link in <div> Drupal will wrap in <p> and add unnecessary margins.
  4. Create Menu Item
  5. Set path to <block> and choose the Block from select menu at bottom.

Done!

SuperDuperDan
www.superdorx.com