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

  • Home
  • SEARCH
  • 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'm using Wordpress for my website. What I'm trying to achieve is that if
I'm using WordPress to make my users make their own website/blog. I have a
I'm building a website using WordPress and am wondering if its possible to display
i'm using wordpress, i have a page that i can access like this http://mywebsite/category/page
I am using wordpress for a website. It's in development i do not have
I am using wordpress to create blog similar to stackoverflow.com where users can ask
I am making a video reel (a portfolio) website, using wordpress as my backend,
I'm using this to display a banner image in my WordPress site: <img src="../../wp-content/uploads/<?php
I run my blog using Wordpress and all too recently became a big believer

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.