Jump to content

URL-rewrite problem with Prestapress


Recommended Posts

Since I dont know when URL-Rewrite does not work for my articles in Prestapress. Example:

 

/sv/modules/prestapress/content.php?id=9

 

should be rewritten to:

 

/sv/article/9-cowboyhatt

 

But not working (and just made me loose some good top placements in SERP) :(

 

What I have added in the box generators in BO of Prestashop is this:

 

RewriteRule ^([a-z]{2})/article/([0-9]+)-[a-zA-Z0-9-]* /modules/prestapress/content.php?id=$2&isolang=$1 [QSA,L,E]
RewriteRule ^article/([0-9]+)-[a-zA-Z0-9-]* /modules/prestapress/content.php?id=$1 [QSA,L,E]
RewriteRule ^([a-z]{2})/articles/([0-9]+)-[a-zA-Z0-9-]* /modules/prestapress/content.php?category=$2&isolang=$1 [QSA,L,E]
RewriteRule ^articles/([0-9]+)-[a-zA-Z0-9-]* /modules/prestapress/content.php?category=$1 [QSA,L,E]
RewriteRule ^([a-z]{2})/articles(.*) /modules/prestapress/content.php [QSA,L,E]
RewriteRule ^articles /modules/prestapress/content.php [QSA,L,E]
RedirectMatch 301 /lang-(.*)/(.*) http://www.kakadutraders.se/$1/$2

 

Anyone got a clue?

Link to comment
Share on other sites

  • 3 weeks later...

Yes, I know and will contact him. Just wondered if someone had a clue, right away as my serp-positions is going down the drain...

 

Hi Anders - how did you solve this? Looking at your site it at least looks like you solved it....

Link to comment
Share on other sites

×
×
  • Create New...