[wp-hackers] Problem with page and permalinks

Luc Saint-Elie luc at saint-elie.com
Sat Nov 6 17:10:19 UTC 2004


  Hello,

Settings : very last cvs (live at http://blog.saint-elie.com)

I have a static "page" named photocalc
The htaccess has been automatically updated like this :

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^photocalc/?$ /index.php?pagename=photocalc [QSA,L]

That seems ok (I'm not by far a rewrite rules specialist)

If I call
http://blog.saint-elie.com/index.php?pagename=photocalc
The page is displayed
If I call
http://blog.saint-elie.com/photocalc
I an redirected to the front page

The interesting point is the call to 
http://blog.saint-elie.com/photocalc   redirects to the front page 
and not to a 404 error

As a consequence, comments on this page doesn't work as they point to 
http://blog.saint-elie.com/photocalc

  I just ad a look at the database
The guid entry for my page is :
http://blog.saint-elie.com//
With the two slashes at the end when the other entries are the full 
url for the posts

Any idea ?

--
Luc Saint-Elie  Journaliste
7, rue Androuet
75018 Paris
Mail: luc at saint-elie.com
Tel : 08 70 73 20 28
Mob : 06 12 90 19 65
http://blog.saint-elie.com



More information about the hackers mailing list