• Hello,

    I want to put a dot in a “pages” url.

    From “manage” > “pages” if I change the ‘page slug’…

    example:
    hello by hello.php

    The dot isn’t recognized in the url:
    mysite.com/hellophp

    What should I do to have the dots in the url?

    Thankssssssssssssssssssssssss (and sorry for my 3nglish =P)

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m not particularly good with php, but I *think* you might need to escape the dot (and I don’t actually know what you’d escape it with – might be one or the other of the slashes, or a double quote….)

    Thread Starter tebanus

    (@tebanus)

    I was looking at functions-formatting.php file, I change the line

    preg_replace(‘/&.+?;/’, ”, $title); // k

    by

    preg_replace(‘/&+?;/’, ”, $title); // k

    but if I put a dot in the page slug, still desappearing.

    What I am doing wrong?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘dot in page slug’ is closed to new replies.