• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space

short link after upgrade 2 > 3

Status
Not open for further replies.
Old links will keep working but they won't be used by the system.
 
Old links not working, they redirected to main page.

I looked at the code in loader.php and made some changes

before:
PHP:
                    if($image) {
                        G\redirect($image['url_viewer'], 301);
                    }

after:
PHP:
          if($image) {
             $image['url_viewer'] = G\get_base_url('image/'.cheveretoID($image['image_id'], "encode"));
             G\redirect($image['url_viewer'], 301);
           }


And only after that links works properly
 
Keep the old code and change this:
PHP:
$image = Image::getSingle($image_id);

To this:
PHP:
$image = Image::getSingle($image_id, false, true);
 
Hi, how can i change the short url, too a Url with the image name for better seo?
You can't, and the SEO improvement of that is null. Just look youtube.

By the way, next time open a new topic for your inquires. Thanks.
 
Status
Not open for further replies.
Back
Top