viper2583 Posted March 31, 2014 Share Posted March 31, 2014 (edited) Hello I would like to change the URL of the new page I made on prestashop. I find a simple tutorial to add a page to the front office. What I want now is to have a clean url and for that I want to remove: "/index.php?controller =" New clean result equal : "www.mywebsite.com / mypage" I tried to change back-office setting in SEO & URL but nothing have change. I tried to search response on google, but nothing works so now I try to ask directly for get a reponse clear. if you want more precision told me. Cordially Edited March 31, 2014 by viper2583 (see edit history) Link to comment Share on other sites More sharing options...
Enrique Gómez Posted March 31, 2014 Share Posted March 31, 2014 If you have made this new page via extending ModuleFrontController you should find this Controller in the SEO & URLs ->Add new and choose the one from your module Link to comment Share on other sites More sharing options...
viper2583 Posted March 31, 2014 Author Share Posted March 31, 2014 (edited) This is excatement what I did. I wrote in the field "Rewritten URL" => mypage But when I wrote it in the url does not work I must write mypage.php and when I wrote mypage.php I have a automatic redirection. And the URL displayed is "index.php? Controller = mypage", withoout extension ".php" Sorry for my bad english if you need more explanation told me. Edited March 31, 2014 by viper2583 (see edit history) Link to comment Share on other sites More sharing options...
Enrique Gómez Posted March 31, 2014 Share Posted March 31, 2014 (edited) I suppose you have the Friendly urls activated in the shop, right? Version of Prestashop is 1.5? Edited March 31, 2014 by Enrique Gómez (see edit history) Link to comment Share on other sites More sharing options...
viper2583 Posted March 31, 2014 Author Share Posted March 31, 2014 (edited) Yes you right, but nothing change if Friendly urls is desactived. And yes I use prestashop 1.5 Edited March 31, 2014 by viper2583 (see edit history) Link to comment Share on other sites More sharing options...
Enrique Gómez Posted March 31, 2014 Share Posted March 31, 2014 withour friendly urls the rewritting of urls is not possible so the url is for example yourshop/index.php?controller=displaypack&module=pele_productpack&fc=module In the module you have So in the backoffice URLS you can add the rewritte for each language. In my case pack. That is yourshop/en/pack but also yourshop/pack I'm really not quite shure.. I think it depends onthe default language. Link to comment Share on other sites More sharing options...
Enrique Gómez Posted March 31, 2014 Share Posted March 31, 2014 Ok maybe you didn't put the module and fc parameters.. controller=your_controller&module=your_module&fc=module http://doc.prestashop.com/display/PS15/New+Developers+Features+In+PrestaShop+1.5#NewDevelopersFeaturesInPrestaShop1.5-NewFile-treeAndOperations 1 Link to comment Share on other sites More sharing options...
viper2583 Posted April 1, 2014 Author Share Posted April 1, 2014 thank for help i will try this and coming back for news. Ty again Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now