• Hi hopefully someone can help me with this simple one.

    I am migrating a blog with tens of thousands of pages into wordpress while trying to maintain the permalink structure. I have 50 or so urls that have a hyphen at the end i.e. https://www.url.com/pagename-.html. The problem is wordpress automatically strips out this hyphen and only allows the post to be called https://www.url.com/pagename.html. I have tried adding ­ at the end as well as editing the database directly but none seem to work. Can anyone suggest a modification that will allow me to get this hyphen to stay?

    I am aware that I can sort the issues by using 301 redirect but I want to avoid this as the .htaccess is already quite hefty.

    Thank you very much for any help given.

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

    (@perfectlyclear)

    Anyone? This will save me having around 400 301 redirects so it would be a massive help if anyone could let me know if this can be done.

Viewing 1 replies (of 1 total)
  • The topic ‘Hyphen at the end of URL’ is closed to new replies.