• Ced

    (@cedriccharles)


    Hello guys !

    I have a website where I need to use WordPress for all the pages and the blog and Prestashop for the e-commerce part.

    Right now, I have Prestashop installed at the root of my server, and WordPress in a folder (/blog/).

    The homepage of the site will be a Prestashop one. So right now it’s correct. But I don’t want to have the /blog/ in the url when I access the WordPress pages. How could I do that ?

    Thank you in advance,
    Cedric

Viewing 7 replies - 1 through 7 (of 7 total)
  • As far as I know you cannot do that (both at the root directory).

    Thread Starter Ced

    (@cedriccharles)

    Hi @aitor and thank you for your answer !

    I don’t want them to be both installed at the root, I want to remove the /folder/ of the WordPress url.

    Thanks for your help !

    But Cédric,

    You have Prestashop at the root directory, so if you move WordPress to the root…

    One option is to move Prestashop first to /shop directory or any other, and after WordPress to the root.

    Help about WordPress at:

    https://codex.www.ads-software.com/Moving_WordPress

    It is not as simple as only moving the entire folder, but it is not very difficult.

    Always backup both files and databases before starting.

    Regards,

    Aitor

    Thread Starter Ced

    (@cedriccharles)

    Thanks @aitor,

    But I don’t want to move WordPress to the root physically. I want to let it in its folder. I only want to not have the folder in the url. They explain it there : https://codex.www.ads-software.com/Giving_WordPress_Its_Own_Directory

    But the problem with that solution is that there are conflicts between index.php from Prestashop and index.php from WordPress… Same for the .htaccess but I think I can merge them ?

    Normal conflicts, you cannot share the root directoty with two applications. You have to choose.

    Thread Starter Ced

    (@cedriccharles)

    Someone told me it’s possible with apache that your server use index.php (the Prestashop one) by default but use index-wp.php (the WordPress one) if a particular url is entered.

    What do you think ? Thank you !

    Hi Cédric,

    Maybe there is a trick for that, but apart from the conflict with the “index.php” files of both CMS, there can be a problem with another URL generated by each CMS.

    Regards,

    Aitor

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘WordPress and Prestashop on same domain’ is closed to new replies.