Jump to content

Content Pages


sam02

Recommended Posts

Hi,

Is there anyway i can change the way my cms pages urls are written?

I know how to change the .htaccess file but am not sure what i need to change to remove the /content/ directory as i do not want this.

Is there anyway i can do this?

Thanks

Link to comment
Share on other sites

  • 2 months later...

in "classes/Link.php" you have to modify the getCMSLink function.
Just replace

.'content/'.

by

.'whatever/'.

or delete it.

You'll have to modify your .htaccess too :
RewriteRule ^content/([0-9]+)/([a-zA-Z0-9-]*)(.*)$ /cms.php?id_cms=$1 [QSA,L,E]
Change

content/

by

whatever/ 

or delete it.

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