You are not logged in.
This is some really weird stuff.
www.mysite.com/p
This URL always shows the homepage.. I even deleted the section to test and instead of 404, it still goes back to home. I cleaned my cache, restarted, repaired my DB tables … For some strange reason this url is stuck and there is nothing I can do about it.. Looking at my htaccess doesnt reveal anything either.. I’m at a total loss here
Any ideas?
Edit: URL removed at clients request..
Last edited by Ace of Dubs (2006-11-20 20:57:48)
Offline
For clarification purposes, here is my htaccess file:
<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) - [PT,L]RewriteRule ^(.*) index.php </IfModule>
Offline
Interesting update.
Apparently zeroes have the same problem as P
www.site.com/0
takes me to home page..
I already have a working “1” directory, but
www.site.com/2
3,4,5,6,7,8,9
all give me 404s like they are supposed to,
This is some bizarre shit!
Last edited by Ace of Dubs (2006-11-20 21:37:44)
Offline
0 is because we’re using PHP’s empty() function, which interprets 0 as the same as an empty string.
p is because of some unused(?) code that looks like it was intended for clean gallery image URLs.
Alex
tstate
Offline
thanks for clearing that up zem..thought I was going crazy!
Is there any way to hack the “p” problem out?
Would be a great help :)
Offline
Any way at all??? Can you at least tell me where that gallery function resides?
Sorry to be persistent, but if this doesnt work out I’ll have to edit a whole bunch of documents and links by hand to reflect the URL change…. a few days worth of work!
Any clue would be muchly appreciated.
Offline
Hi Ace of Dubs,
maybe you can make a simple URL rewriting/redirection (using .htaccess) from everything that links to /p/ to your renamed section.
Offline
muy interesante Jullián
Unfortunately I have no idea how to do it :(
Offline
Ops!
Me neither! Let’s ask our friend Google.
Check this:
http://www.javascriptkit.com/howto/htaccess7.shtml
http://www.ssi-developer.net/htaccess/redirecting.shtml
And this (look for the HTAccesible free software):
http://www.tlhouse.co.uk/pc_software.shtml
Or, of course, be patient and wait until zem or Mary or any of the freaky fellas here comes up with the magical words.
Last edited by maniqui (2006-11-21 14:43:24)
Offline
After tinkering a bit I have come to the conclusion that htaccess is not capable of overriding the core behavior of textpattern.
IOW,
Zem, Mary, Freaks… Save meeeeeeee!!!!
Offline