Welcome to Geeklog, Anonymous Sunday, February 23 2025 @ 06:28 am EST
Geeklog Forums
staticpages plugin in 2.2.2
MattC
Anonymous
Hi,
I'm just doing a dry run of updating a 2.1.3 geeklog site to 2.2.2, and nearly everything is perfect, the static pages plugin has been bumped up from 1.6.9 to 1.7.3
The one issue I have is that I have url_rewrite turned on, and historically we'd have all the links to static pages formatted as:
/staticpages/index.php/22222222222222222
which now gives a 404 error. The following both work fine:
/index.php/page/22222222222222222
/staticpages/index.php?page=22222222222222222
but because we'll have a whole lot of existing pages in the first form indexed with google etc, I don't really want to have to change that throughout the site and have the search engines have to reindex it all etc
is this a bug? is there a quick fix?
thanks
Matt
I'm just doing a dry run of updating a 2.1.3 geeklog site to 2.2.2, and nearly everything is perfect, the static pages plugin has been bumped up from 1.6.9 to 1.7.3
The one issue I have is that I have url_rewrite turned on, and historically we'd have all the links to static pages formatted as:
/staticpages/index.php/22222222222222222
which now gives a 404 error. The following both work fine:
/index.php/page/22222222222222222
/staticpages/index.php?page=22222222222222222
but because we'll have a whole lot of existing pages in the first form indexed with google etc, I don't really want to have to change that throughout the site and have the search engines have to reindex it all etc
is this a bug? is there a quick fix?
thanks
Matt
1
2
Quote
MattC
Anonymous
digging a bit more, it looks like I have the same issue with links, eg
/links/portal.php/link/2222222222222222
no longer works, but both
/links/portal.php?what=link&item=2222222222222222
/index.php/links/portal/2222222222222222
do
/links/portal.php/link/2222222222222222
no longer works, but both
/links/portal.php?what=link&item=2222222222222222
/index.php/links/portal/2222222222222222
do
1
2
Quote
Status: offline
Laugh
Site Admin
Admin
Registered: 09/27/05
Posts: 1474
Location:Canada
They are working on Geeklog.net the way you want. For example:
https://www.geeklog.net/staticpages/index.php/about
So my guess it is either a Geeklog Configuration settings, URL Routing settings or maybe a htaccess issue.
Here are the docs:
https://www.geeklog.net/docs/english/config.html#url-rewrite
Geeklog.net Configuration settings are:
Enabled URL Rewrite: True
Enable URL Routing: Disabled
Maybe your URL Routing is enabled as when it is the default routing looks like
/index.php/page/22222222222222222
One of the Geeklog Core Developers.
https://www.geeklog.net/staticpages/index.php/about
So my guess it is either a Geeklog Configuration settings, URL Routing settings or maybe a htaccess issue.
Here are the docs:
https://www.geeklog.net/docs/english/config.html#url-rewrite
Geeklog.net Configuration settings are:
Enabled URL Rewrite: True
Enable URL Routing: Disabled
Maybe your URL Routing is enabled as when it is the default routing looks like
/index.php/page/22222222222222222
One of the Geeklog Core Developers.
1
0
Quote
MattC
Anonymous
Hi Laugh,
thanks for the reply.
URL routing is enabled, but it was when I was running 2.1.3 too, and prior to updating to 2.2.2 urls of the forms
/staticpages/index.php/22222222222222222
/links/portal.php/link/2222222222222222
definitely worked fine, but now definitely don't. AFAICT mode_rewrite & .htaccess etc are the same for both sites.
I've updated links now, so will keep with the new URL styles and let the search engines re-index to pick up the new links
thanks again
Matt
thanks for the reply.
URL routing is enabled, but it was when I was running 2.1.3 too, and prior to updating to 2.2.2 urls of the forms
/staticpages/index.php/22222222222222222
/links/portal.php/link/2222222222222222
definitely worked fine, but now definitely don't. AFAICT mode_rewrite & .htaccess etc are the same for both sites.
I've updated links now, so will keep with the new URL styles and let the search engines re-index to pick up the new links
thanks again
Matt
1
1
Quote
All times are EST. The time is now 06:28 am.
- 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