Jump to content
Sign in to follow this  

Prestashop generare subdomenii dinamice.

Recommended Posts

Va salut!

Am setat wildcard subdomain in cpanel. Am vacut anumite teste in afara platformei prestashop si functioneaza ok.

Incer sa generez in PS 1.7 pentru anumite produse, link de genul: numeprodus.site.com. Cu alte cuvinte link-ul produsului sa fie asezat in fata domeniului ca acesta sa devina subdmeniu. asa cum am scris mai sus ca exemplu: numeprodus.domeniu.com,   sau domeniu.com/car sa devina. car.domeniu.com

In clasa Link.php am pus ca test o conditie ca pentru un anumit produs sa imi schimbe din domeniu.com/car in car.domeniu.com atunci cand produsele sunt listate.

Problema este ca atunci cand acesez car.domeniu.com  sunt redirectionat in pagina de home.

Stie cineva ce clase sa mai verific pentru a functiona?


Edited by Marius05 (see edit history)

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More