URL masking with MAGENTO - magento

Is there any way of url masking with Magento.
For Eg :
Main website :
www.magento.com
another domain :
subdomain.magento.com
Now when i open www.magento.com website is masked/redirect to subdomain.magento.com with all the content of www.magento.com, and in URL it will display subdomain.magento.com.
let me know if this is possible in case of Magento without creating multiplestores.

This works for me :
Setup your URLs as “pointers” – all pointing to your Magento
installation’s root directory
Navigate to your Magento Admin under System > Configuration > Web >
Url Options and select “No” for “Auto-redirect to Base URL”.
That’s it! It should work exactly how you want it to.

Related

Magento theme implementation

Hi I'm trying to figure out theme implementation in Magento. It's my first Magento Community Edition installation and obviously first theme that I try. Its a fairly popular theme called "Fortis". The problem I'm ecnoutering is when I click the links that is included in the default theme e.g. Account or Cart. The url link does not exist and its not included in the folders that comes with Fortis.
So my question is: What is the standard implementation when it comes to Magento Themes? What am I missing here and why are the links not working?
Fortis front page:
Links do not work:
The issue seems with the URL rewrite
try browsing to
localhost/magento_dev/public_html/index.php/hardvara.html
and
localhost/magento_dev/public_html/index.php/customer/account
Check your .htaccess for RewriteBase and set it accordingly
Enable Web Server rewrites at Admin Panel > System > Configuration > Web > Search Engine Optimization
Clear Cache.
I feel, you should try to access/install magento using your IP address instead of localhost. It should be something like that http://192.168.1.123/magento_dev. Replace this dummy ip with your own ip address.

Magento product url linking

I am new to magento ...I started working on an half built magento site, the product added in the back end is not getting redirected to the product page..
I have changed the url in the url rewrite .. Here are the details :
Request path : abc.com/index.php/catalog/product/view/id/59/s/kiyama-90210-brown/
Target path : catalog/product/view/id/59
Redirect : Permanent (301)
But it is taking the path : abc.com/kiyama-90210-brown
and giving error .. Where am i going wrong
try
1) abc.com/index.php/kiyama-90210-brown
a) if the above url is working than enable url rewrite form System>Configuration>General
select Web / Search Engines Optimization > yes
2) after changing the url rewrite please run reindexing

Magento migration from single store to multistore. Redirects

I have 1 website for now. Its URL is www.test.com, for example.
I want to create second website on the same domain adding store codes to URLs. So my URLs will be
www.test.com/first/
www.test.com/second/
But as I can see all my previous URLs will show 404 on their open. So if I open
www.test.com/product.html
it will show 404. It is not good because I loose my SEO.
How can I create redirects so if user opens
www.test.com/product.html
he will be automatically redirected to default website, like
www.test.com/first/product.html
Shall I have any issues with such redirects? (Like API will not work)
Or is it possible for URL
www.test.com/product.html
to show product from default website, if exists?
Magento has a very good system for SEO.
For Rewrite Management these are the steps:
1.Loginto Admin.
2.Move mouse over Catalog and you will find a drop down.
3 Select URL Rewrite management.
Catalog >> UrlRewrite Management
4.Then click on ADD URL Rewrite Button.
5.Then on next screen select custom from option provided
Create URL Rewrite : Select Custom
Now following important fields and values that should go:
Request Path (Old URL ) Target Path ( New URL ) redirect (Permanent 301).
Note : This approach will be good if you have few products but if you have too many product then some .htaccess rule is recommended.

magento category url,admin 404 error

I am a magento newbie.
I've observed that when I make an installation of magento by copying all contents of the extraction directly to localhost.... i.e (when app, media, skin, index.php etc all pasted directly in localhost) I am unable to access the admin by simply typing in localhost/admin.
Whereas I have to type in localhost/index.php/admin to get into the admin panel.
Also when i click on any category i have the same problem.
I have to append index.php/ before the category name to get the category link working.
Can anyone please tell me how to get them working.
Check your Base URL in the Admin Panel, go to System | Configuration | Web and make sure the Secure and Unsecure Base URL does not include the 'index.php' part.
If you do not have index.php in my secure or unsecure web configuration and this happening on front end and back end, try to enable url rewrites and see if that solves it. You need mod_rewrite enabled on your localhost.
What is your local server?

Magento not using appropriate URL - 404 Page not found

I have a magento site running locally using WAMP and it works great. However I need to create a different site so I created a folder for this new site under htdocs.
In that folder I loaded the Magento files.
Created a new database for newsite with all rights in phpmyadmin.
Went to the localhost:8888/newsite and started Magento installation wizard.
In the configuration section of the wizard I entered all the info required: db name, user, password. For URL Base I used the default (http://localhost:8888/newsite). Selected allow charts and Allow apache rewrites. Finished installing magento.
Now magento is running on newsite. I can see the front and back-end of the site.
Here is the problem: When I create a category and/or subcategory, magento does create the menu link but when I click any category, the browser takes me to a 404 not found. Upon analyzing the URL that took me there i see that the URL is : http://localhost:8888/newsite/category.html BUT by adding "index.php" into the URL (http://localhost:8888/newsite/index.php/category.html , the page does work!
So this means magento IS creating the page for the category but the linking is somewhat wrong.
Now, I've been making sure that rewrite is enabled and after all, the other site I mentioned I have is working properly, so I assume rewrite is properly enabled.
So I need help finding:
Why is one site working and the other isn't?
How can I fix this issue?
Thank you!
Sounds like you haven't copied over the .htaccess file (in your Magento root folder). You need this file for the Apache rewrites to work.

Resources