 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
November 15th, 2006, 07:25 AM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Jul 2005
Posts: 163
| Whats changed with 5.5 mod_rewrite not working now.
Hi, firstly call me fussy or what ever but I have changed all my search engine freindly URL's to /photos/showgallery/cat/1.php instead of showgallery.php/cat/1 and every version before this one I have had no problems now when going to /photos/showgallery/cat/1.php it shows all photos ( Custom View ). This is not a mod_rewrite error as if I change to normal urls i.e showgallery.php?cat=1 and then try /photos/showgallery/cat/1.php it works fine. What has changed? I have been racking my brain for hours now.
|
| |
November 15th, 2006, 08:43 AM
|
#4 (permalink)
| | Member Verified Customer
Join Date: Jul 2005
Posts: 163
|
Its not to much of a big deal as I am changing the normal url's i.e
$cats['catlink'][$catcount] = "<a href=\"{$Globals['maindir']}/$whichcat.php?cat=$id\">{$CatPerms['catname'][$id]}</a>";
to
$cats['catlink'][$catcount] = "<a href=\"{$Globals['maindir']}/$whichcat/cat/$id.php\">{$CatPerms['catname'][$id]}</a>";
and it works, just strange how it now wont work with spider friendly url's whereas it did before this version.
|
| |
November 15th, 2006, 08:51 AM
|
#5 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,940
|
What I am saying is it clearly works just placing the .php on the end brings up the CUSTOM VIEW so that does not break the page
Your issue is clearly within your MOD REWRITE or whatever your trying to do and not something with our script
|
| |
November 15th, 2006, 09:25 AM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Jul 2005
Posts: 163
|
Oh dear,I give up. Yeah the script is perfect and my mod_rewite is wrong :/
|
| |
November 15th, 2006, 09:30 AM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,940
|
The example you give says if you put .php on the cat number it should bring up a custom view and the link I placed shows that that does work fine so I fail to see what your trying to say.
The script is perfect how we write it and performs as such. Your question has to do with doing a hack your doing and nothing with out script functionality. You may post a mod discussion in THE MOD CORNER should you wish to pursue discussion on why your CODE MODIFICATION is not working.
|
| |
November 15th, 2006, 09:36 AM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Jul 2005
Posts: 163
|
Yes it does work perfectly but something has changed between 5.3 and 5.5 that deals with spider friendly URL's. No if you put /showgallery/cat/948.php it should bring up the actual category like http://www.itraveluk.co.uk/photos/sh...ry/cat/948.php not the custom page which it does with 5.5
|
| |
November 15th, 2006, 10:19 AM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,940
|
Well nothing has changed in spider urls at all between 5.3 and 5.5 that I see as it is the same as we have always used. Given the discussion here that deals with something outside the program I would suggest you discuss this in the mod corner
|
| |
November 15th, 2006, 10:58 AM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Jul 2005
Posts: 163
|
Ok, I will try and figure it out. But like i said it's no biggie as it works with spider friendly url's off and just involves more hacking.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 04:33 AM. | |