Exclude period at end of URL