Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter giemmeeffe

    (@giemmeeffe)

    Further explanation on what failed moving from one server to the other.
    there was a difference in .htaccess.
    Basically one server had the .htaccess with 2 added lines:

    RewriteCond %{THE_REQUEST} ^GET.*index\.php [NC]
    RewriteRule (.*?)index\.php/*(.*) /$1$2 [R=301,NE,L]

    the lines were added to remove “index.php” to the url of the previous Magento installation.
    Using the previous settings:
    – The Permalink settings is set as “Post name”, the Product permalink custom base as “/product/” and the plugin Permalink manager lite to change the permalink of each Portfolio item in “index.php/product/<slug>” –
    the portfolio url become “index.php/product/<slug>” and the .htaccess rule remove the index.php, so clicking on the portfolio is opened the product.

    Thread Starter giemmeeffe

    (@giemmeeffe)

    Solved.

    Thread Starter giemmeeffe

    (@giemmeeffe)

    I was able to solve it with many (many!) trial and error.
    The Permalink settings is set as “Post name”, the Product permalink custom base as “/product/” and finally I used the plugin Permalink manager lite to change the permalink of each Portfolio item in “index.php/product/<slug>”. In this way it seems to work. When I click on a portfolio item, it goes straight to the related product using the “slug” in the url.

Viewing 3 replies - 1 through 3 (of 3 total)