Clean URLs for tags

I have Zenphoto already installed for almost 1.5 year together with Wordpress, and it is a great combo.
The only thing I don't like is the url when you have selected a tag. On my imagepage I have two tags underneath the image so you can select the tag you want to see.( it is a website with airplane pics so the tags are model and airline company)

Example: page/search/tags/EasyJet+Airline

I saw a topic from almost a year ago with the hack included but I tried several times but I think that the hack doesn't work anymore on Zenphoto 1.2.5

See: http://www.zenphoto.org/support/topic.php?id=2136

Can anybody tell me if the hack still work on Zenphoto 1.2.5 or maybe another solution?

The only thing I want is to remove the page/search in the url so that I have a http://www.somewebsite.com/tags/EasyJet+Airline url.

TIA

Comments

  • You would have to modify your .htaccess file to treat the tags the same as /page/search/tags. Then you can remove the '/page/search/' from the url.
  • Michel Member
    Thank you for your reply sbillard.

    I was too busy with the hack from last year that I didn't see the simple solution, this is wat I did:

    - In .htacces underneath the "####Rewrite rule addition for search" all the page/search renamed to tags (8 times)
    - In template-function.php on rule 3918 and rule 4009 renamed page/search to tags.

    That did the trick.
Sign In or Register to comment.