Welcome to Geeklog, Anonymous Wednesday, November 27 2024 @ 10:52 pm EST

Geeklog Forums

Static pages


Status: offline

falkon

Forum User
Junior
Registered: 02/12/03
Posts: 21

Hi, just made the switch from PHPNuke and am to this point, very happy with Geeklog. The one thing I most like about Geeklog is the ease of adding static pages. My question is, can the url be something other than mysite.com/staticpages/index.php?page=20030304195729233 I believe it can be done, just not sure how to make it happen.

Thanks in advance, and keep up the good work!!

 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Yes and no ... Currently, Geeklog will assign the static page IDs automatically. You can, however, simply change that id in the database if you want. There's also a feature request asking for an official interface for this but it hasn't been implemented yet ... bye, Dirk
 Quote

Status: offline

Ruatha

Forum User
Junior
Registered: 01/31/03
Posts: 26
What about a 'Re-Direct' in an .htaccess file for each static page? This works just fine if it produces the result you are looking for.

ReDirect /old-pages/page1.html http://mysite.com/staticpages/index.php?page=20030304195729233

 Quote

Anonymous

Anonymous
Are those redirects search engine friendly? Cos those current staticpages seem to be pain in the ass Frown
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Try setting $_CONF['url_rewrite'] = true; in your config.php. This should give you (slightly) nicer URLs for the static pages. bye, Dirk
 Quote

Status: offline

phpsocialclub

Forum User
Junior
Registered: 03/05/03
Posts: 30
Location:North Carolina
I hacked the static pages plug-in to use words for the file ID. so it now looks like this staticpages/index.php?page=contact message me if you want the code, I can send you a patch or simple instructions on how to do it
I work for a Wilmington NC Attorney
 Quote

All times are EST. The time is now 10:52 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content