I've just installed a fresh Magento x1 instance and my URLs all contain /index.php/
As an example the About Page looks like ...
http://mydomain.com/index.php/about-magento-demo-store/
when i'd like it to be
http://mydomain.com/about-magento-demo-store/
The logo link URL is ...
http://mydomain.com/index.php/
when i expect it to be
I've checked the admin config > web > unsecure url
It doesn't contain /index.php/ so I have no idea why it's there
Can anyone tell me how to remove this please?
Thanks
Solved! Go to Solution.
Hello Cooshti,
What you need to do is enable Web Server Rewrites for Search Engine Optimizations.
Taken from StackExchange, just to be sure I give you the exact steps since I currently do not have a Magento 1.x install available:-
1) Log-in Magento Admin 2) Go to System -> Configuration -> Web. 3) from ‘Search Engine Optimisation’ tab “Use Web Server Rewrites” select 'YES'. 4) Make sure your “Secure” and “Unsecure” base urls should end with “/”. 5) now edit your .htaccess ( will be in magento root folder ) and pate the below code and save: <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule . /index.php [L] </IfModule>
Hello Cooshti,
What you need to do is enable Web Server Rewrites for Search Engine Optimizations.
Taken from StackExchange, just to be sure I give you the exact steps since I currently do not have a Magento 1.x install available:-
1) Log-in Magento Admin 2) Go to System -> Configuration -> Web. 3) from ‘Search Engine Optimisation’ tab “Use Web Server Rewrites” select 'YES'. 4) Make sure your “Secure” and “Unsecure” base urls should end with “/”. 5) now edit your .htaccess ( will be in magento root folder ) and pate the below code and save: <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule . /index.php [L] </IfModule>
Perfect ... thanks so much
Hi
How are you doing. You were working on setting up the magento store. Was it for a store or were you learning to do it.
let us know if you need some support.
@cooshti wrote:Perfect ... thanks so much