You can change the URL by changing the "Page Slug" under Manage -> Pages -> Edit for the embedded page. You can also change the "Page Title" while you're there, if you like.
You could use mod_rewrite (in .htaccess) to redirect wordpress/wp-gallery2.php to wordpress/wpg2. I always have to relearn mod_rewrite rules, because I don't use them very often. I'll take a look and post the solution here later today.
Thank you very much! I have changed the name and the link of the gallery. Now I need the "rules" for .htaccess to redirect the traffic from /wp-gallery2.php to /foto .
and it cause a 404 error. How to resolve this problem?!
Thank you, Paolo.
ozgreg
Joined: 2003-10-18
Posts: 1378
Posted: Tue, 2007-10-02 12:10
If you have Gallery2 Template Caching turned on you will need to flush your Gallery2 Template Cache to force the G2 DHTML Tree to regenerate its links, you can do this via the Gallery2 Site Admin, Maintenance Menu, Delete Template Cache.
Add the following to your Wordpress generated .htaccess file
Redirect 301 /wp-gallery2.php http://www.yourdomain.com/wpg2
Posts: 492
You can change the URL by changing the "Page Slug" under Manage -> Pages -> Edit for the embedded page. You can also change the "Page Title" while you're there, if you like.
You could use mod_rewrite (in .htaccess) to redirect wordpress/wp-gallery2.php to wordpress/wpg2. I always have to relearn mod_rewrite rules, because I don't use them very often. I'll take a look and post the solution here later today.
Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website
Posts: 4
Thank you very much! I have changed the name and the link of the gallery. Now I need the "rules" for .htaccess to redirect the traffic from /wp-gallery2.php to /foto .
Another one question: in dhtml tree menu, I have links like this ( http://www.paologatti.it/foto/ ):
http://www.paologatti.it/wp-gallery2.php?g2_itemId=186
and not:
http://www.paologatti.it/foto?g2_itemId=186
and it cause a 404 error. How to resolve this problem?!
Thank you, Paolo.
Posts: 1378
If you have Gallery2 Template Caching turned on you will need to flush your Gallery2 Template Cache to force the G2 DHTML Tree to regenerate its links, you can do this via the Gallery2 Site Admin, Maintenance Menu, Delete Template Cache.
Add the following to your Wordpress generated .htaccess file
Redirect 301 /wp-gallery2.php http://www.yourdomain.com/wpg2
____________________________________
Wordpress / Gallery2 (WPG2) Author
Posts: 4
Now all work fine. Thank you very very much ;-)
Bye, Paolo.
Posts: 492
I've added all of this info to the WPG2 FAQ.
Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website
Posts: 4
Good work
Bye, Paolo.