Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3359066
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T02:49:39+00:00 2026-05-18T02:49:39+00:00

I am using wordpress with WPML and I came across a small issue. The

  • 0

I am using wordpress with WPML and I came across a small issue. The previous website had the urls in this format:

domain.com/lang/title-inglish.html

eg:

-> domain.com/hello-world.html {English users}

-> domain.com/fr/hello-world.html {French users}

The problem is that WPML {Multi language plugin for wordpress} creates a new page for each translation and wordpress doesn’t allow the users to use the same title twice so it adds a suffix like so:

-> domain.com/hello-world.html {English users}

-> domain.com/fr/hello-world-2.html {French users}

The good this is that somehow domain.com/fr/hello-world.html points to domain.com/fr/hello-world-2.html just the same …

So …

What I would really need is a R 301 on hello-world-2.html to hello-world.html

I need to remove ‘-2’ {-anynumber} from my URLS

Thanks in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T02:49:39+00:00Added an answer on May 18, 2026 at 2:49 am

    You could do this in htaccess:

    RewriteRule ^(.*)-[0-9]+\.html?$ $1\.html [R]
    

    But the problem isn’t in the server, it’s in wordpress… It would be more prudent to get a better module or just patch that one.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im using wordpress 3.0 here: http://www.adventure-service.com On homepage i am using template that creates
I run my blog using Wordpress and all too recently became a big believer
I am using wordpress and use custom permalink structure: /%category%/%postname%/ My problem is that
Using Wordpress, I need to generate an array of tags(terms) from posts in a
Using Wordpress I have created a multiple select box so that users can select
Using wordpress, I am pulling in a custom fields from specific posts to fill
Using wordpress 2.9.2. I am loading my css files for plugins as they are
Im using Wordpress, Im also creating posts via XMLRPC based on an RSS feed
Anybody using wordpress as an article directory? I don't have time to customize it,
I have thought about using WordPress – or maybe just copy a few functions

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.