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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T15:11:53+00:00 2026-06-09T15:11:53+00:00

i have a two store magento installation, and i have a problem with home

  • 0

i have a two store magento installation, and i have a problem with home page’s url: in both stores the home is a cms page, in cms.xml layout the route for that is cms_index_index. this seems to be a problem in one of the stores, which has a complete different layout for logged and non logged users: after loggin in, the url from http://www.mystore.com becomes http://www.mystore.com/index.php/cms/index/index/, if i logout the url remains http://www.mystore.com/index.php/cms/index/index/. i need that the store url remain http://www.mystore.com. how can i do that? is something that could be done with xml or other magento configuration or is something related to other (e.g. apache, rewrite,…)?

thanks,
Luke

  • 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-09T15:11:55+00:00Added an answer on June 9, 2026 at 3:11 pm

    The problem probably lies in the template files.

    There are different ways of getting the homepage url (and it’s probably using one that’s not helpful for you).

    Here is the correct call that should be made from the templates:

    Mage::getBaseUrl();
    

    This call can be done from anywhere – just make sure to echo it.
    Pesach

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

Sidebar

Related Questions

I have two grids, thay both have one store. I need to show everything
I have two models: store and category with a joining table called categories.stores .
I have two stores, Assessor.store.Question and Assessor.store.Choice , along with their respective Models and
I have two tables which have the exact same structure. Both tables can store
I'm importing multiple products to Magento. I have two stores where I want to
I have two apps in the app store, both through MonoTouch but after upgrading
I have an ugly problem. I have two string variables (className and staticMethod) store
I've got two Magento stores and read that there is an important security problem
I have two tables which are used to store details of different types of
I have two nvarchar fields in a database to store the DataType and DefaultValue,

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.