Custom URLs?
Posted: 22 May 2008 04:50 AM   [ Ignore ]  
Summer Student
Avatar
Total Posts:  8
Joined  05-22-2008

Hello.

I currently have a static html website that I would like to migrate to a CMS.

ExpressionEngine looks good but one thing I really need is the ability to keep the same page URLs for current traffic purposes.

For example, if one page (on my static website) has the url http://sitename.com/something/funny.html and I want to create a similar page in ExpressionEngine, is there any way to keep that same URL?

There’s about 94 pages on the site so if it is possible, is it going to be a long haul?

Any help would be much appreciated! Thanks.

Rury.

Profile
 
 
Posted: 22 May 2008 04:53 AM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15419
Joined  05-15-2004

Generally, a 301 redirect via, say, .htaccess should be sufficient to preserve your pagerank and not break any incoming links, but if you insist, yes it is possible to recreate an existing site structure down to the dot. It will require some familiarity with EE, and is not supported out of the box, as such, but it is certainly possible. I have done it myself on occasion.

 Signature 

Everything will be good in the end. If it’s not good, it’s not the end.

Profile
MSG
 
 
Posted: 22 May 2008 05:44 AM   [ Ignore ]   [ # 2 ]  
Summer Student
Avatar
Total Posts:  8
Joined  05-22-2008

Thanks for the speedy reply.

I would like to avoid the redirect if possible and just stick to the ExpressionEngine method. Would you be able to elaborate on how it can be done? Would I need to use any particular modules?

Cheers

Profile
 
 
Posted: 22 May 2008 05:55 AM   [ Ignore ]   [ # 3 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  12395
Joined  04-29-2002

Rury, you’d need to use the Pages module. I’ll see if I can find a wiki article on using the Pages module to emulate physical URIs.

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
Posted: 22 May 2008 05:59 AM   [ Ignore ]   [ # 4 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15419
Joined  05-15-2004

It would involve using appropriately named template goups, templates, and url_titles. A few issues are touched upon in this thread. The “Pages” module could be of interest, too.

So, there is no “ExpressionEngine method”, but it can be done.

 Signature 

Everything will be good in the end. If it’s not good, it’s not the end.

Profile
MSG
 
 
Posted: 22 May 2008 05:59 AM   [ Ignore ]   [ # 5 ]  
Summer Student
Avatar
Total Posts:  8
Joined  05-22-2008

That would be great. Thanks for the help guys, much appreciated.

Profile
 
 
Posted: 22 May 2008 10:46 AM   [ Ignore ]   [ # 6 ]  
Grad Student
Avatar
Rank
Total Posts:  46
Joined  01-27-2008

i just found this great page on 301 redirect

fyi

 Signature 

Rökker
Publisher
http://www.maximumink.com

Profile
 
 
Posted: 27 May 2008 04:43 AM   [ Ignore ]   [ # 7 ]  
Summer Student
Avatar
Total Posts:  8
Joined  05-22-2008

Bookmarked that page, rokker. Looks like it could come in handy, cheers.

I’ve PM’d you Ingmar regarding this thread.

Profile
 
 
Posted: 27 May 2008 04:50 AM   [ Ignore ]   [ # 8 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15419
Joined  05-15-2004

Please use regular email (ingmar.greil@ellislab.com) instead. Thank you.

 Signature 

Everything will be good in the end. If it’s not good, it’s not the end.

Profile
MSG
 
 
Posted: 27 May 2008 05:00 AM   [ Ignore ]   [ # 9 ]  
Summer Student
Avatar
Total Posts:  8
Joined  05-22-2008

Just mailed you there. Cheers.

Profile
 
 
Posted: 28 May 2008 04:56 AM   [ Ignore ]   [ # 10 ]  
Summer Student
Total Posts:  14
Joined  03-10-2008

Sorry if this has been answered before, but is there a way of customising url’s in EE without having to create a template group with that name? In wordpress this is called a post slug and it allows you to give your post a name.

So for example:

I write a post about 301 redirects.

I can name the post 301-redirects-for-beginners and that will the the url adapated. Does the pages module achieve this in EE?

Profile
 
 
Posted: 28 May 2008 05:17 AM   [ Ignore ]   [ # 11 ]  
Summer Student
Total Posts:  14
Joined  03-10-2008

Think I found the answer this this one.
http://expressionengine.com/downloads/details/pages_module/

“Page” entries can be displayed with virtually any URL desired and take advantage of ExpressionEngine’s powerful Weblog Module.

Profile
 
 
Posted: 28 May 2008 05:42 AM   [ Ignore ]   [ # 12 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15419
Joined  05-15-2004

While it is true that the Pages module can be displayed with almost any URL desired, you’ll probably want to llok into url_titles. Pages is really meant for static pages, not regualr weblog entries.

 Signature 

Everything will be good in the end. If it’s not good, it’s not the end.

Profile
MSG
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64983 Total Logged-in Users: 35
Total Topics: 82024 Total Anonymous Users: 16
Total Replies: 440859 Total Guests: 225
Total Posts: 522883    
Members ( View Memberlist )
Newest Members:  hotglassladyariepChris Bandytony leodennisbaldwinhazlett_davidkpspokeli9htcluizmbent