|
#22
|
|||
|
|||
|
Quote:
Hey mate awesome job on the template... could you have one posted for ppl (novices) like me to use and edit aorund... and of course credit will be given in the footers to you.. cheers! |
|
#23
|
|||
|
|||
|
Yes, i have mod_rewrite. I have deleted "Options -Indexes" And all works fine
"Options -Indexes" is important? |
|
#24
|
|||
|
|||
|
Another question, ¿How can I redirect old URL to the new system?
Sergio |
|
#25
|
||||
|
||||
|
Quote:
__________________
Affordable Website Design in North Wales |
|
#26
|
|||
|
|||
|
I too would like a more simple and complete guide on how to implement this for PP novices..
I know a lot has been covered in this thread, but it's over a few posts and gets a little confusing. I have saved the code and uploaded it to my PP root as a .htaccess file, but am unclear on exactly what to modify and to what... i.e. how does $image_permalink = "<a href='$showprefix$image_id'>$lang_permalink</a>"; change to /photos/photo.jpg ? |
|
#27
|
|||
|
|||
|
Quote:
Code:
$image_permalink = "<a href="photos/'$image_id'>$lang_permalink</a>"; BTW, the new URL's, according to that htaccess anyway, will be "../photo/01" instead of "../index.php?showimage=1" - not "../photo/firstimage_24734763.jpg" depending on how you've coded your templates, they may need to be modified as well; adding a BASE HREF tag can help resolve relative locatioms.. |
|
#28
|
||||
|
||||
|
"Options -Indexes" is not required to use mod_rewrite.
That simply tells apache not to do directory listings. Which helps provide a little more security. As for the template I am currently using... I built it for my site, so all the modifications I made to it and index.php and the various mods work great on my site.... but if they were used on any other site they won't work. :-( If I ever make a template again, I will build it so I won't be tethered to my site only. Quote:
It's simply a matter of searching your index.php and the various mod php files that you use and setting the path accordingly.
__________________
Jay Williams | A Different View |
|
#29
|
||||
|
||||
|
there's no need to modify files, the $showprefix variable is modified if $mod_rewrite is set to 1.
i urge you to avoid modifying pixelpost files since the beta of 1.5 is out soon and you'll just have to make those changes again! |
|
#30
|
|||
|
|||
|
Thanks for the replies, they were of great help! It all seems to be working well now - http://digerati.farfromreal.com/folio/index.php
![]() Ended up just modifying $showprefix and some of the base href's in my template as it didn't seem to want to work w.out the modifications.. |
| Post Reply |
| Thread Tools | |
|
|