Guys, if anyone can shed some light on this would be great. I decided a little while ago to change the Permalink formation for my blog site,
From: archives/%id%-%title%.html
To: archives/%year%/%monthnum%/%day%/%title%.html
From: authors/%id%-%realname%
To: authors/%realname%
From: categories/%id%-%name%
To: categories/%name%
From: feeds/categories/%id%-%name%.rss
To: feeds/categories/%name%.rss
From: feeds/authors/%id%-%realname%.rss
To: feeds/authors/%realname%.rss
Now the second I clicked on save configuration, - my site collapsed. I get an error 500 immediately.
Is there any way I can fix this, - edit a php file to reflect the old formation of permalinks, - change perhaps my .htaccess to reflect the old formation. Anything I can do that won't have me re-installing my site??
Please help if you have a solution,
Thanks,
Permalinks screwup
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Permalinks screwup
Hi!
If your site dies with a 500 error this means that your .htaccess is invalid.
I suppose because you used %monthnum% - this is not a valid variable, you would have needed to use %month% instead. Please delete your .htaccess file, go into the s9y configuration and then resave your configuration again - that should rebuild your .htaccess again.
Note that with your way of removing %id% from your URL that the URL lookups from your blog will perform slower, and one additional SQL query per page request will be performed.
HTH,
Garvin
If your site dies with a 500 error this means that your .htaccess is invalid.
I suppose because you used %monthnum% - this is not a valid variable, you would have needed to use %month% instead. Please delete your .htaccess file, go into the s9y configuration and then resave your configuration again - that should rebuild your .htaccess again.
Note that with your way of removing %id% from your URL that the URL lookups from your blog will perform slower, and one additional SQL query per page request will be performed.
HTH,
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/
# 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/