TheDave
TheDave

Reputation: 81

Magento new store view as subpath of URL

I was advised by an SEO specialist that I should add a /aus/ sub-folder to my Magento installation for geo-target specific purposes.

So what I am trying to achieve is to add the same version of my store in a /aus/ sub-folder.

So basically that it would look something like this:

I do not want to run the /aus/ version on a separate installation or separate language, basically it should just add /aus/ to my current store and replicate all links there.

What is the best way to have this handled? Some recommendations or advises would be greatly appreciated.

Upvotes: 2

Views: 5495

Answers (2)

Tim Hofman
Tim Hofman

Reputation: 1068

Why not just add the store into the URL via configuration? Magento already has configuration for this. See System > Configuration > General > Web > Add Store Code to Urls.

Instead of yourwebsite.com/customer/account, it will now generate URLs like yourwebsite.com/<your_store_code>/customer/account.

Do note that all of your custom templates and modules should properly use the getUrl() Magento methods to build URL, otherwise these URL will not contain the storecode and end up not working.

Upvotes: 1

leo
leo

Reputation: 268

add a new website "aus"

and then create new folder with index.php that run "aus" store

Upvotes: 0

Related Questions