Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter Bumble

    (@bindlegrim)

    It appears I figured it out, though not sure why this didn’t work the day before.

    Just added the 3rd line there to str_replace the dash in output.php

    $ft = preg_replace(‘/\.([^0-9])/’, ‘ $1’, $ft);
    $ft = str_replace(‘_’, ‘ ‘, $ft);
    $ft = str_replace(‘-‘, ‘ ‘, $ft);
    $ft = ucwords($ft);
    return trim($ft);

    I had also made a slight change in admin.php to preg_replace (in the line that catches file versions) but I have since removed that without effecting the fix.

    Was happy to get this to work because I’ve been pushing to have files named with dashes between words for SEO purposes.

Viewing 1 replies (of 1 total)