Jump to content

Multistore shop URLs


Pente14

Recommended Posts

I want to add additional shop within the current store.

I have the default which is www.pente14.com/shop/

 

I have added a second called Custom

I set the domain as www.pente14.com/custom/

 

The documentation says ....

 

"Do not create any subdomain or subfolder yourself, either on your server or your computer: PrestaShop takes care of creating the path for you on your server. When the customer requests this path, PrestaShop will recognize the shop and serve the files and data for the correct store automatically."

 

However, when I save the information I cannot see the new area for this shop

And the browser of course can't find it.

 

How do I make the final step in setting up this new shop?

 

Many thanks

 

Steve

 

 

Link to comment
Share on other sites

Are you using PrestaShop original multistore feature?

Make sure you have enabled this feature at back office - Preference - General.

Once multistore is enabled, you will see additional menu appears under Advanced Parameters - Multistore  

You can create shop from there.

After the shop is created, then you can specify the URL of the shop.

 

Check Prestaashop user guide related part for more details.

Link to comment
Share on other sites

Shokinro

 

Many thanks for taking the time to reply

 

I had set all the switches, associated the categories

 

Are you using PrestaShop original multistore feature?

Make sure you have enabled this feature at back office - Preference - General.

Once multistore is enabled, you will see additional menu appears under Advanced Parameters - Multistore  

You can create shop from there.

After the shop is created, then you can specify the URL of the shop.

 

Check Prestaashop user guide related part for more details.

 

Thank you for your help

I am using the standard Prestashop facilities from v1,6

I have already set all of the parameters.

Do I have to create the required directory and install any files?

Link to comment
Share on other sites

if you want create a separated PrestaShop store, you can just install under its any sub-folder.

but it will be completely different store with different database.

 

If you want to use mutistotre feature, then you will need enable multistore feature.

you not need install a separated files or folders. it will be virtual directory - virtual URL.

Edited by shokinro (see edit history)
Link to comment
Share on other sites

if you want create a separated PrestaShop store, you can just install under its any sub-folder.

but it will be completely different store with different database.

 

If you want to use mutistotre feature, then you will need enable multistore feature.

you not need install a separated files or folders. it will be virtual directory - virtual URL.

 

Once again thanks for your help

However, I want the multistore feature but it is not activating.

It is enabled.

I have configured the advanced parameters.

The new shop is showing in the tree.

No URL or directory has been generated

 

:wacko:

Link to comment
Share on other sites

 

As mentioned previously, there will be no additional physical folder created for each URL.

The URL is a virtual URL such

 

http://pente14.com/custom/

http://pente14.com/shop/

...

 

From your screenshot images, I see the the URLs are already there? 

 

 

 

You are being very patient with me .. thank you

 

If the URL is there why does the browser say address not found.

 

And where is the URL .. I can't see it?

 

I am betraying my stupidity, I guess

Link to comment
Share on other sites

If you enter the URL which is defined for the shop but you got 404 - not found error, then I guess the .htaccess is not generated correctly.

 

You can try to switch SEO friendly URL off and back to on to trigger the regenerate of the .htaccess to see if it helps.

Link to comment
Share on other sites

post-947600-0-54092800-1461328937_thumb.jpgpost-947600-0-54092800-1461328937_thumb.jpg

Also I just noticed one thing:
It seems that the http://pente14.com/shops/ is your main store (prestashop) URL, your other stores URL should under this main store, Something like http://pente14.com/shop/custom/.

 

Hi

It's getting better  :)

 

But now getting a 404 error on the default page of the Custom page of 

www.pente14.com/shop/custom .....

 

Any thoughts?

 

Once again, I am very grateful for your support

 

post-947600-0-54092800-1461328937_thumb.jpg

Link to comment
Share on other sites

along with shokinro here is documentation on ps multistore, something here might give you better idea.

 

http://doc.prestashop.com/display/PS16/The+multistore+interface

 

Want to see something cool?

 

http://multishoppro.co.uk/

http://multishoppro.com/

 

are same installation without ps multishop. :)  this from my old 1.4 multishop module...

 

happy day, ell

Link to comment
Share on other sites

pente, i'd get another domain name personally I don't like the method you are using or the example used by ps to do what you are doing.  They could have done a more complete job of why to use multishop as an SEO strategy.  

 

For best SEO get a domain...there are considerations to prevent duplicate content regardless of you use this 'weird' ps sceanio (shoes/coats/..etc)) or a gTLD or ccTLD.  So do a little research on gTLD or ccTLD to make sure you understand how to best 'multiplex' single content (assuming you will share products).  

 

yes, as shokinro says, good luck and let us know....el

 

Want to see how we are going to replace need for multishop for multiplexing single content across countries?

 

go here and look at the language url...this is works without multishop, or even single languge.

 

https://interseo.etiendas.co

 

having fun, el

Link to comment
Share on other sites

Thank you EL & Shokinro for very patient help.

 

I will be workign through your help later

 

MS seems a great solution for us as we have to quickly set up shops for numerous clients without getting new URL's or making multiple installations / setups / maintenance

 

 

I still think it is multi-store URL is not configured correctly and please check if the .htaccess file is generated, does it include the shop url in this file?

 

Shokinro ... here is the contents of the .htaccess file

 

PS is intalled on pente14.com/shop/

the /prestashop/prestashop/prestashop/ dir was where it was installed oreviously.

 

I can't see reference to /shop/ nor /shop/custom/

 

What do you think?

 

 

# ~~start~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again
# .htaccess automaticaly generated by PrestaShop e-commerce open-source solution
 
<IfModule mod_rewrite.c>
<IfModule mod_env.c>
SetEnv HTTP_MOD_REWRITE On
</IfModule>
 
RewriteEngine on
 
 
#Domain: www.pente14.com
RewriteCond %{HTTP_HOST} ^www.pente14.com$
RewriteRule . - [E=REWRITEBASE:/prestashop/prestashop/prestashop/]
RewriteRule ^api$ api/ [L]
 
RewriteRule ^api/(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]
 
# Images
RewriteCond %{HTTP_HOST} ^www.pente14.com$
RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.jpg [L]
RewriteCond %{HTTP_HOST} ^www.pente14.com$
RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$1$2$3$4.jpg [L]
RewriteCond %{HTTP_HOST} ^www.pente14.com$
RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$1$2$3$4$5.jpg [L]
RewriteCond %{HTTP_HOST} ^www.pente14.com$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg [L]
RewriteCond %{HTTP_HOST} ^www.pente14.com$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg [L]
RewriteCond %{HTTP_HOST} ^www.pente14.com$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg [L]
RewriteCond %{HTTP_HOST} ^www.pente14.com$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg [L]
RewriteCond %{HTTP_HOST} ^www.pente14.com$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9$10.jpg [L]
RewriteCond %{HTTP_HOST} ^www.pente14.com$
RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2$3.jpg [L]
RewriteCond %{HTTP_HOST} ^www.pente14.com$
RewriteRule ^c/([a-zA-Z_-]+)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2.jpg [L]
# AlphaImageLoader for IE and fancybox
RewriteCond %{HTTP_HOST} ^www.pente14.com$
RewriteRule ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 [L]
 
 
#Domain: www.pente14.com
RewriteCond %{HTTP_HOST} ^www.pente14.com$
RewriteRule . - [E=REWRITEBASE:/prestashop/prestashop/prestashop/]
RewriteRule ^api$ api/ [L]
 
RewriteRule ^api/(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]
 
RewriteCond %{HTTP_HOST} ^www.pente14.com$
RewriteRule ^custom$ /prestashop/prestashop/prestashop/custom/ [L,R]
RewriteCond %{HTTP_HOST} ^www.pente14.com$
RewriteRule ^custom/(.*) /prestashop/prestashop/prestashop/$1 [L]
 
# Images
RewriteCond %{HTTP_HOST} ^www.pente14.com$
RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.jpg [L]
RewriteCond %{HTTP_HOST} ^www.pente14.com$
RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$1$2$3$4.jpg [L]
RewriteCond %{HTTP_HOST} ^www.pente14.com$
RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$1$2$3$4$5.jpg [L]
RewriteCond %{HTTP_HOST} ^www.pente14.com$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg [L]
RewriteCond %{HTTP_HOST} ^www.pente14.com$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg [L]
RewriteCond %{HTTP_HOST} ^www.pente14.com$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg [L]
RewriteCond %{HTTP_HOST} ^www.pente14.com$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg [L]
RewriteCond %{HTTP_HOST} ^www.pente14.com$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9$10.jpg [L]
RewriteCond %{HTTP_HOST} ^www.pente14.com$
RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2$3.jpg [L]
RewriteCond %{HTTP_HOST} ^www.pente14.com$
RewriteRule ^c/([a-zA-Z_-]+)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2.jpg [L]
# AlphaImageLoader for IE and fancybox
RewriteCond %{HTTP_HOST} ^www.pente14.com$
RewriteRule ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 [L]
 
# Dispatcher
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteCond %{HTTP_HOST} ^www.pente14.com$
RewriteRule ^.*$ - [NC,L]
RewriteCond %{HTTP_HOST} ^www.pente14.com$
RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,L]
</IfModule>
 
AddType application/vnd.ms-fontobject .eot
AddType font/ttf .ttf
AddType font/otf .otf
AddType application/x-font-woff .woff
<IfModule mod_headers.c>
<FilesMatch "\.(ttf|ttc|otf|eot|woff|svg)$">
Header add Access-Control-Allow-Origin "*"
</FilesMatch>
</IfModule>
 
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType text/css "access plus 1 week"
ExpiresByType text/javascript "access plus 1 week"
ExpiresByType application/javascript "access plus 1 week"
ExpiresByType application/x-javascript "access plus 1 week"
ExpiresByType image/x-icon "access plus 1 year"
ExpiresByType image/svg+xml "access plus 1 year"
ExpiresByType image/vnd.microsoft.icon "access plus 1 year"
ExpiresByType application/font-woff "access plus 1 year"
ExpiresByType application/x-font-woff "access plus 1 year"
ExpiresByType application/vnd.ms-fontobject "access plus 1 year"
ExpiresByType font/opentype "access plus 1 year"
ExpiresByType font/ttf "access plus 1 year"
ExpiresByType font/otf "access plus 1 year"
ExpiresByType application/x-font-ttf "access plus 1 year"
ExpiresByType application/x-font-otf "access plus 1 year"
</IfModule>
 
<IfModule mod_headers.c>
Header unset Etag
</IfModule>
FileETag none
<IfModule mod_deflate.c>
<IfModule mod_filter.c>
AddOutputFilterByType DEFLATE text/html text/css text/javascript application/javascript application/x-javascript font/ttf application/x-font-ttf font/otf application/x-font-otf font/opentype
</IfModule>
</IfModule>
 
#If rewrite mod isn't enabled
ErrorDocument 404 /prestashop/prestashop/prestashop/index.php?controller=404
 
# ~~end~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again
Link to comment
Share on other sites

thank @EI Patron for inducing our module.

 

@Pente14

I checked your .htaccess file contents you posted, the following line is really strange, there are multiple "prestaaShop" in the rewrite rules.

It should not have, I guess you did not configure the store URL correctly. 

 

RewriteRule ^custom$ /prestashop/prestashop/prestashop/custom/ [L,R]

I think it is physical uri filed is not done correctly.

 

By the way, we have a module that is for multiple seller/vendor marketplace environment, it will create virtual shop for seller automatically, you do not have to configure them one by one. the URL will be the way you wanted use virtual URL instead of different domain(sub-domain). You may consider to use our modules to implement your requirements.

 

- agile multiple seller module

- agile multiple shop module

 

Note - Our modules does not require PresatShop original multi-store store feature. 

 

Edited by shokinro (see edit history)
Link to comment
Share on other sites

Yes, I think you will need start from scratch, because as I mentioned previously, our module will not work under Prestaashop original multistore feature.

Also I suggest you try our modules at our demo site to see if that what you want and then decide to purchase or not.

You can request the demo access(including admin access) at Live Demo section of agile multiple seller module product page. or you can PM me your email address, I can send you the demo access info too.

Link to comment
Share on other sites

@EI Patron, thanks for the follow-up, I was also thinking of paste the same user guide URL.

@Pente14, hope you will figure out the problem.

 

 

 

El Patron, on 23 Apr 2016 - 01:57 AM, said:

 

 

 

Hi

 

I deleted the old hsaccess file, cleared cashe, turned off Multistore and started again

A new hsaccess files was created.

But the 404 message is continuing to appear

 

I looked at the add-on options

Are both the multi-seller and multi-shop apps required?

 

:-(

Link to comment
Share on other sites

I deleted the old hsaccess file, cleared cashe, turned off Multistore and started again

A new hsaccess files was created.

But the 404 message is continuing to appear

 

 

That's really strange. I do not have any idea what could be the cause.

By the way, is other pages like Product page (SEO friendly) url works?

 

I looked at the add-on options

Are both the multi-seller and multi-shop apps required?

 

 

 

Yes, you will need both module. 

The multiple seller module turns PrestaShop into a multiple seller/vendor marketplace. It does not have virtual shop function.

The multiple shop module will allow each seller to have virtual shop with different virtual directory as URL.

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...