sam02 Posted November 18, 2009 Share Posted November 18, 2009 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 More sharing options...
lagouache Posted February 16, 2010 Share Posted February 16, 2010 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now