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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T07:58:23+00:00 2026-06-14T07:58:23+00:00

I’m having issues with the variables like path=group/template that are generating an extra domain.

  • 0

I’m having issues with the variables like path=group/template that are generating an extra domain.

ie : hxxp://domain.com/hxxp://domain.com/template_group/template/

Pagination links are also rendered as :

hxxp://domain.com/hxxp://domain.com/template_group/template/P5

I’m using the Multi Lang Alt method (http://expressionengine.com/wiki/Multi_language_site_alternative/#Slight_modification_for_EE2), and I think this could be related to the problem.

I can find workarounds for the path, but I don’t know how I can handle the pagination links.
If there were an option to just get the “Pxxx” returned, I could bypass this problem.

Can someone help on that point ?

Edit :

In /index.php I have :

$assign_to_config['site_index'] = 'http://domain.com/fr/';
    $assign_to_config['site_404'] = 'http://domain.com/fr/404/';
    $assign_to_config['global_vars'] = array(
        "cc"            => "", // added to custom fields in templates
        "country_code"  => "fr",
        "language"      => "french"
    );

In /en/index.php I have :

$assign_to_config['site_index'] = 'http://domain.com/en/';
$assign_to_config['site_404'] = 'http://domain.com/en/404/';
$assign_to_config['global_vars'] = array(
    "cc"            => "-en", // added to custom fields in templates
    "country_code"  => "en",
    "language"      => "english"
);

In /fr/index.php I have :

$assign_to_config['site_index'] = 'http://domain.com/fr/';
$assign_to_config['site_404'] = 'http://domain.com/fr/404/';
$assign_to_config['global_vars'] = array(
    "cc"            => "", // added to custom fields in templates
    "country_code"  => "fr",
    "language"      => "french"
);

Admin > General Configuration > site’s index page is blank

and in Admin > General Configuration > URL to the root directory is : http://domain.com/

  • 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-14T07:58:24+00:00Added an answer on June 14, 2026 at 7:58 am

    The problem is being caused by the fact that your overrides are specifying a domain for site_index. That should normally be index.php or blank if you’re using mod_rewrite to hide it. The full URL should be saved as site_url. If you change those keys there’s a good chance it will sort it:

    $assign_to_config['site_url'] = 'http://domain.com/en/';
    

    EE generates URLs by concatenating site_url and site_index, then it adds the path segments on the end. Both your URL and index values have domains in them, hence the weird {path} output.

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

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I've got a string that has curly quotes in it. I'd like to replace
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
That's pretty much it. I'm using Nokogiri to scrape a web page what has
For some reason, after submitting a string like this Jack’s Spindle from a text
I have a small JavaScript validation script that validates inputs based on Regex. I
I have a French site that I want to parse, but am running into
I am doing a simple coin flipping experiment for class that involves flipping a
I am trying to render a haml file in a javascript response like so:

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.