Jump to content

Friendly URLS and CMS page problem


tout2004

Recommended Posts

Hello,

 

I have been searching the forum all night with no luck,

 

I have enabled firendly urls but there is a problem with the cms pages, from the idex page they are linked as /cms.php?id_cms=1 which is correctly rewritten to /content/1-delivery-and-returns

 

The issue is that from any page other than the index, the links are /content/cms.php?id_cms=1 which doesnt exist. How can I get rid of the /content being added???

 

my .htaccess is in the following format:

RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-]*) /cms.php?id_cms=$1 [QSA,L]
RewriteRule ^content/category/([0-9]+)\-([a-zA-Z0-9-]*) /cms.php?id_cms_category=$1 [QSA,L]

running on ps 1.4x

 

I tried changing content/ to info/ and the same in Link.php as suggested in another post but didnt work.

 

Any help is usefull

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...