Magento theme implementation - magento

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.

Related

Magento home page

I am working with a Magento install that I did not set up and am pretty green when it comes to its operation... There is a default page serving as the "home page" when there is already a page defined in the back-end as the "home page". The path in the URL reads as: DOMAIN/index.php but when I try to find said index file using google developer mode, I can find no such file that would generate the layout. I suppose I just don't have enough overall knowledge to figure out what is at work here. Can someone help me figure out why it's using the default home page instead of mine?
On most webshops I've worked on the CMS home page wasn't really used. Instead of the CMS home it can be easier to use a custom template to setup the homepage with static blocks and what not.
If this is also the case for you, there might be two places you can find this custom template:
In the layout xml files, search forcms_index_index?
In backend, navigate to the CMS home page and go to the Design tab
About the index.php part: this is because you probably because you haven't enabled mod_rewrite in your server configuration

Rewrite Magento Admin URL /index.php/admin -> /admin

I am using Magento 1.7.0.2
My Store admin URL is for example: http://www.mydomain.com/index.php/admin
I want to Rewrite this URL as : http://www.mydomain.com/admin
I have also tried "Admin Rewrites" Magento Extension, But it couldn't Help.
Currently I can't work directly in live website as it may lead to big trouble, So I am working in LOCALHOST now.
How Can I Achieve this ?
Thanks.
I got my solution from this following Blog Link:
Magento Admin URL Rewrite - Set /index.php/admin to /admin (Javascript required)
Admin Rewrites (Magento Extension)
The just linked blog-post is referencing and explaining the usage of a Magento Extension called Admin Rewrites (Magento Extension).
The extension itself is available on Github and can be installed via Magento Composer Installer and/or Modman:
https://github.com/clockworkgeek/Magento-Admin-Rewrites
Alternatively it is also listed in Magento Conect (Magento Conect 2.0 Key).
Another method of doing this does involve modifying a core Magento file (which is a big no, no for upgrading purposes) but works all the same: http://www.code007.ro/magento-how-to-remove-index-php-from-admin-url/

Custom Magento Homepage - Fix Issue

So the previous web developer has customized our Magento v1.4.1 site to use a page called main.php... It bypasses everything else that is set by Magento as far as Magento goes.
I have no way contact the previous developer to ask where this is setup...
We have just installed a new plugin and it has taken over as the homepage.
In Magento Admin > System > Configuration > Web the homepage is set to URL Key "home" ... When I go to that specific page index.php/home, the custom main.php page shows up. Why would a plugin have found it's way to be our homepage?
Thanks! Felt like my previous question didn't give enough details.
"home" is not the normal value, here is what that section should look like:

Eliminating index.php from URL in Joomla 2.5

I am using Joomla 2.5. The problem is, every link has 'index.php', like:
www.mysite.com/index.php/contact
www.mysite.com/index.php/about-us
How do i remove the '.../index.php/...' from my URLs?
My SEO settings under Global Configuration are:
==================================
Search Engine Friendly URLs Yes
Use Apache mod_rewrite Yes
Adds Suffix to URL No
Unicode Aliases No
Include Site Name in Page Titles No
==================================
I have changed htaccess.txt to .htaccess. I have tried everything, but still can't remove 'index.php' from the URLs. Please help me. My apologies if this exists elsewhere.
Go into your Joomla administration panel.
1. Select Site > Global Configuration
2. Under SEO Settings set Use URL Rewriting to Yes
3. Click Save
The next step is to rename the htaccess.txt file that came with the installation to .htaccess
thats it. Hope this helps .
Did you change the setting on the administrator backend or the actual configuration file? Sometimes if you directly modify the configuration.php this wont work. If you did it from backend panel then check your configuration.php to make sure the changes are reflecting.
Also check with your hosting to have mod_rewrite available on the Apache server.
Very unlikely but it could be a small mistake on renaming process of the htaccess.txt , double check the renamed file.

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