Support » Fixing WordPress » Duplicate Titles and descriptions due to trailing slash at end of URLs

  • loudcow


    Google Webmaster tools is telling me I’ve got duplicate titles and descriptions on over 65 pages. On further investigation it appears google is reading the exact same page URLs but considering them completely different pages as follows.

    Note there is no trailing slash on the second URL. This is exactly the same page.

    I use WordPress SEO by Yoast.

    The permalink in general settings is set as /%postname%/ – i.e. including the trailing slash at the end of each URL.

    Yoast’s sitemap appears to generate perfectly and includes only the trailing slash URL for each page and post.

    Problem is it means google sees not only the Title of these pages as duplicates BUT also the meta description and of course content.

    Hence, I’ve been slammed with ‘duplicate content’ by the Google Gods.

    First up, Is there a simple way to redirect all the URLs without trailing slashes to those that have trailing slashes. I can do manually but hoping for a quick fix:)

    Secondly, to ensure this doesn’t happen full stop is there an obscure setting I’m missing somewhere (either in Yoast’s plugin or WP setings) that is creating the duplication of the URLs?

    Thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Pioneer Web Design


    What have you set custom permalink structure to? Does your theme included some old or affecting rewrite rules? Does your host fully support resrite rules?



    Hey there – custom permalink structure is set to /%postname%/ – with the trailing slash.

    I’ll check out the other two things you question.

    Thanks a bunch for a quick reply:)

    Pioneer Web Design


    See this Codex item on Permalinks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Duplicate Titles and descriptions due to trailing slash at end of URLs’ is closed to new replies.