Jump to content

How to eliminate (/index.php) from my store url


Recommended Posts

Hello everyone!

 

I would like to know how to eliminate (/index.php) from my URL store.

 

http://tienda.unpoemadeamor.com/index.php

 

This is the home page, so it would be nive to have a clean URL like:

 

http://tienda.unpoemadeamor.com

 

Any idea would be very helpful and appreciated.

 

Thanks to the one that would respond first, and all people that would answer my post.

 

Regards.

Link to comment
Share on other sites

Take a look at Preferences, SEO & URL's the 4th item should be index, check and see if that shows any friendly URL's or title.

If so edit and remove the title and/or Rewritten URL.

 

If not you may have to edit the database look for table ps_meta, id_meta of the index page then look to ps_meta_lang to find the entries related to index and delete the url_rewrite field.

  • Like 1
Link to comment
Share on other sites

Thanks for the heads up, but I'm afraid I can not find the line ps_meta_lang. I copy the index page:

 

 

<?php

/*

* 2007-2013 PrestaShop

*

* NOTICE OF LICENSE

*

* This source file is subject to the Open Software License (OSL 3.0)

* that is bundled with this package in the file LICENSE.txt.

* It is also available through the world-wide-web at this URL:

* http://opensource.org/licenses/osl-3.0.php

* If you did not receive a copy of the license and are unable to

* obtain it through the world-wide-web, please send an email

* to [email protected] so we can send you a copy immediately.

*

* DISCLAIMER

*

* Do not edit or add to this file if you wish to upgrade PrestaShop to newer

* versions in the future. If you wish to customize PrestaShop for your

* needs please refer to http://www.prestashop.com for more information.

*

* @author PrestaShop SA <[email protected]>

* @copyright 2007-2013 PrestaShop SA

* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)

* International Registered Trademark & Property of PrestaShop SA

*/

 

require(dirname(__FILE__).'/config/config.inc.php');

Dispatcher::getInstance()->dispatch();

 

 

---

If you could tell me where to edit I would be very thankful. Regards.

Link to comment
Share on other sites

Yes I just checked and the index.php is no longer in the URL.

And you mis understand my explanation ps_meta and ps_meta_lang are tables in the database not part of a file.

 

Yeah, I changed it to friendly URL. Sorry I didn't get you right, I'm pretty new at this. But thanks a lot, and If you would know how to erase the /es please let me know.

Link to comment
Share on other sites

Yeah, I changed it to friendly URL. Sorry I didn't get you right, I'm pretty new at this. But thanks a lot, and If you would know how to erase the /es please let me know.

 

This is due to multi language setup the only way to reliably not have the /es or /en is to set shop with only one language.

  • Like 1
Link to comment
Share on other sites

  • 10 months later...
SEO & URLs

SEO means "search engine optimization". It represents a set of techniques and best practices aimed at improving the visibility of a website on search engines. You can read more about this at Wikipedia: http://en.wikipedia.org/wiki/Search_engine_optimization.

The tools on this page help you improve the presence of your PrestaShop site on web searches, and therefore reach more potential customers.

URL is short for "uniform resource locator", or simply put, the online address of a web page. You can read more about what a URL is at Wikipedia:http://en.wikipedia.org/wiki/URL

By default, PrestaShop's deep URLs (that is, specific pages rather than online the domain name) are rather uninformative to both the customer and search engines: an URL such as http://www.myprestashop.com/product.php?id_product=27 does not help visitors know what product is on that page. Friendly URLs are the way to achieve that, and get for instance http://www.myprestashop.com/2-music-players/27-ipod-nano-green.

As you can see in the second example above, both categories and products can have a friendly URL: index.php?id_category=2 becomes 2-music-players, and index.php?id_product=27 becomes 27-ipod-nano-green. While the ID number cannot be removed by default, the words can be either generated from the category/product name, or written by hand. This is done directly in the configuration page for the product or the category (in the Catalog menu): the "Friendly URL" field can be found directly in the main configuration page of a category, and under the "SEO" tab of the configuration page of a product. This is explained in the "Adding Products and Product Categories" chapter of this user-guide.

There are other individual pages in your PrestaShop install that would certainly benefit from friendly URLs: CMS pages, user account pages, pages with automatically generated content... The "SEO & URLs" page presents you with a list of these pages, and enables you to edit their friendly URLs as well as their meta tags (title, description, keyword).

 

 

 

more informations here: http://doc.prestashop.com/display/PS15/Understanding+the+Preferences#UnderstandingthePreferences-SEO%26URLs

Link to comment
Share on other sites

  • 2 months later...

Hi Vekia,

As soon as I turned on friendly URL to remove index.php from my url, all product images disappeared and a question mark sign was dispalayed through out my e store in place of product images. I also tried to regenerate the Image thumbnails but of no use and after turning Friendly URL all images got restored as earlier. What can be done for product images to be restored after I turn on friendly url. I am using PS v1.6

Edited by [email protected] (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...