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 8883043
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T20:43:15+00:00 2026-06-14T20:43:15+00:00

i actually already solved this issue, but all the solutions i’ve found so far

  • 0

i actually already solved this issue, but all the solutions i’ve found so far are just tricky workarounds.

i’m playing with i18n_patterns and everything’s working fine except links.

For instance, href=”contacts” redirects users to “/en/contacts” or “/it/contatti”, but in page source it remains “contacts”.

For SEO optimizations purposes i’d like to see href=”/en/contacts”

Is this possibile without writing code?

cheers,

Davide

  • 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-06-14T20:43:16+00:00Added an answer on June 14, 2026 at 8:43 pm

    If you use the url templatetag this should be handled automatically.

    <a href"{% url view_name %}">Link</a>
    

    From django documentation:

    If localized URLs get reversed in templates they always use the
    current language. To link to a URL in another language use the
    language template tag.

    Read more about localized url-patterns in the django documentation

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

Sidebar

Related Questions

This is actually a problem that I've already solved, but I suspect that there
This seems like a problem someone would've already solved in the year 2009, but
This is actually related to another question I had that was already answered. That
Actually I am working on this for the last 3 or 4 weeks but
PROBLEM SOLVED: I was overlooking a very simple issue, and that is that this
[EDIT] I actually solved this adding the following line to my activity manifest: android:configChanges=orientation|keyboardHidden
Did actually someone make already a tutorial that shows how to customize an UITableView?
Are dylibs and frameworks already in an iPhone, or does my app actually incorporate
int Socket::Connect(const std::string& host, int port) { if(this->_connected) throw Socket is already connected; //
I would like to solve the following problem using constraints but i actually don't

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.