Static Page problems

Creating and modifying plugins.
Jr Prod

Post by Jr Prod »

:D :D :D !!! I LOVE YOU GARVIN !!! :D :D :D

Thanks a lot ! And sorry for all those stupid questions. It works fine now !

:) Now I'll try to look at the plugin to execute the PHP code...


Best regards,
Jr Prod - [understands quickly, but you have to explain during a long, loooong time...] :wink:
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Great it works now :))

Have fun with everything! :)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Hathor
Regular
Posts: 118
Joined: Tue Mar 22, 2005 11:48 pm

Post by Hathor »

I just switched hosts, and switched from 8.beta6 to 8, and what worked on my old setup isn't working on the new one. I can't do a screenshot until this evening, but maybe I can provide enough relevant info here....?

My "permalink" as specified within the static page plug in is:
index.php?/pages/blog.html
My .htaccess rewrite rule says:
RewriteRule ^pagetitle index.php?serendipity[subpage]=pagetitle
RewriteRule ^static/(.*) /index.php?serendipity[subpage]=$1
The URL I'm expecting it to go to is:
But if you click that, you'll see it just redirects to my home page (which probably means it's a 404 following the error page redirects to home page that I put in .htaccess).
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hathor,

the change frmo 0.8-beta6 to 0.8 isn't the cause, but changing your hosts is.

See if your .htaccess contains proper paths and is effective. Maybe your host doesn't allow .htaccess files or mod_rewrite is not active on your host.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Hathor
Regular
Posts: 118
Joined: Tue Mar 22, 2005 11:48 pm

Post by Hathor »

As far as I can tell, the .htaccess file seems okay. My error page redirects work just fine, and you seem to be confirming that the S9 code I showed you is properly written.

So I'll check with my host about the mod-rewrite thing. Thank you!
Post Reply