Jump to content

shorten URL in custom made CMS


qed-tech

Recommended Posts

Hello everyone

For a site of one of our customers our programmer created his own CMS which works OK at the site, but now the customer wants to shorten the URLS which are generated by the system. Is this easily possible? The programmer doesn't have the time to help us with it so that's why I try my luck here...

I hope somebody can help me. Thanks!  :-*

Link to comment
https://forums.phpfreaks.com/topic/256116-shorten-url-in-custom-made-cms/
Share on other sites

by shorten what is he after exactly?

 

you could name all the files to be 1 letter long? seems stupid and pointless

 

is the length down to querystrings? use POST methods?

 

is it to get SEO friendly urls? so page.php?section=1 becomes /sectionname/index.php

 

have you got an example to share of a long url to a prefered shortened version, that would be a good start point.

 

 

Oops.. Sorry for being so unclear. What I meant is how I can make an URL like

http://www.cannenburgh.nl/index.php?cmd=141&sub_menu_item_id=141&template=1&menu_item_id=50

shorter and more search-engine friendly, for example how can I make it be more like http://www.cannenburgh.nl/index.php/contact

Thanks!

it can be done, but its not a simple fix, you need to probably rewrite a lot of how the system goes from page to page. and implement URL rewriting, but its quite possible that this method could break the current system as its very different.

 

http://www.seoconsultants.com/articles/1000/url-rewriting

 

 

this might help.

 

I think for a quick fix it might be an idea to say have a page called contact.php and have it pull in content for 'cmd=141&sub_menu_item_id=141&template=1&menu_item_id=50'

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.