Category: Apache

We've been making some progress on the WPGigs.net project. It's about WordPress jobs.

For some reason the RankMath plugin decides to expose the root custom post type in a sitemap. To avoid duplicate content we redirect /project => /projects. We use RedirectMatch because we want to use a bit of regular expressions to tell that only /project needs to be redirected and not /project/some-project-info-p123 -> /projects

RedirectMatch 301 "/?project/?$" "/projects"

Join our mailing list

Get important news about cool products we release and invitations to beta test new products

Find out the Social networks we're on