Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 24. Nov 2024, 18:15

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 12 posts ] 
Author Message
PostPosted: 29. Apr 2013, 18:27 
Offline

Joined: 29. Apr 2013, 17:11
Posts: 6
I've just installed tinywebgallery at http://www.chiranjeeviblog.com/photos/ and added url rewrite code to .htaccess
but it doesnt work on litespeed server(its not apache)

is there anyway to make it work on litespeed

this is what i added to .htaccess

Code:
RewriteEngine on
Options +FollowSymlinks
RewriteBase /
RewriteRule ^(.*)twg_album/(.*)$ $1photos/index.php?twg_album=$2 [L,R]
RewriteRule ^(.*)twg_image/(.*)/(.*)$ $1photos/index.php?twg_album=$2&twg_show=$3 [L,R]


also, what file to edit so that page title changes.
right now its photo galleries - album name - file name

i would like file name - album name - photo galleries


Top
 Profile  
 
PostPosted: 29. Apr 2013, 20:51 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
My first question is - what do you expect?

TWG does not create seo friendly urls as output. You only can use seo friendly e.g. on your page and they will be rewritten then to work with TWG.

Best, Michael


Top
 Profile  
 
PostPosted: 29. Apr 2013, 21:36 
Offline

Joined: 29. Apr 2013, 17:11
Posts: 6
then what does http://www.tinywebgallery.com/en/faq.php#h44 do ?
i was expecting something like that


Top
 Profile  
 
PostPosted: 29. Apr 2013, 21:55 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
I just checked. I removed the stuff from my .htaccess. So now it is back again and working fine.

So
http://www.tinywebgallery.com/demo/twg_ ... exif/1.jpg
will be rewritten to
http://www.tinywebgallery.com/demo/inde ... show=1.jpg

How it should be.


Top
 Profile  
 
PostPosted: 30. Apr 2013, 07:03 
Offline

Joined: 29. Apr 2013, 17:11
Posts: 6
i was expecting it to look like http://www.tinywebgallery.com/demo/twg_ ... exif/1.jpg


Top
 Profile  
 
PostPosted: 30. Apr 2013, 09:27 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
TWG does no generate this urls as I wrote - The .htaccess is used to translate from a SEO url to the needed url.

Best, Michael


Top
 Profile  
 
PostPosted: 1. May 2013, 05:18 
Offline

Joined: 29. Apr 2013, 17:11
Posts: 6
how are seo urls generated in the first place ?
anyway twg is showing urls as http://www.tinywebgallery.com/demo/inde ... show=1.jpg with default installation

then what was the point in writing that #44 faq about adding code to .htaccess

if anyone reads faq#44, they get an impression of what i thought.

what you say is the opposite

you dont need that .htaccess faq at all when default twg is working as you thought


Top
 Profile  
 
PostPosted: 1. May 2013, 10:03 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
The .htacces was provided by miguel who was using this nice seo link on his website and in his newsletter.
Therefore I added a faq for this.

If TWG would generate this links by default then there would also be a setting in TWG to enable such links.
I'm planning to enable this for the main click path (thumbnail and detailview).
But this is planned after I'm done with the seo optimization of the website itself.

Best, Michael


Top
 Profile  
 
PostPosted: 1. May 2013, 10:56 
Offline

Joined: 29. Apr 2013, 17:11
Posts: 6
okay if miguel could make seo links work with that .htaccess, then why can't everyone else.
if it doesnt work, then whats the point in including it in faq

and could you plz answer my 2nd query in my 1st post above


Top
 Profile  
 
PostPosted: 1. May 2013, 14:39 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Hi created the links manually. And then the .htaccess works fine.
As I wrote - I currently do seo for my site (forum, blog, site.) and for TWG I will also add basic seo support (main click path). So each thumbnail and detailpage will have a url in the format miguel does create manually.

2.nd question. In the inc/head.inc.php you can modify this easily.


Top
 Profile  
 
PostPosted: 1. May 2013, 18:33 
Offline

Joined: 29. Apr 2013, 17:11
Posts: 6
oh okay.. thanks for clarification
readin it in faq made me think otherwise


Top
 Profile  
 
PostPosted: 3. May 2013, 08:25 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
I already started the TWG does generate this urls. Looks good so far. But
many, many, many places where I have to change stuff.

I think I will cover the main pages with seo friendly urls because this are the imporant ones for search engines and users.

Best, Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 61 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy