Announcement

#1 2018-02-14 22:02:56

brianpb007
Member
2018-01-12
15

Assign Fractasia.com/Carnaval to Fractasia.com/index.php?/category/2?

Hello,

How is it possible to assign a custom URL to one automatically assigned?

Have:
Fractasia.com/index.php?/category/2

Want:
Fractasia.com/Carnaval    << Easier for customers to type

How can this be done?

Thanx

Offline

 

#2 2018-02-14 22:46:59

brianpb007
Member
2018-01-12
15

Re: Assign Fractasia.com/Carnaval to Fractasia.com/index.php?/category/2?

Solution with Redirection

Edit  <your_web_host>/home/<your_uid>/fractasia.com/Carnaval/index.html

Insert:
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="0;url=http://www.fractasia.com/index.php?/category/2"/>
</head>
<body>
<script type="text/javascript">window.location="http://www.fractasia.com/index.php?/category/2";</script>
</body></html>

Save, exit

Pointing a browser at Fractasia.com/Carnaval
Now zooms the user  to Fractasia.com/index.php?/category/2

The only defect is that the user sees this  in the URL: "index.php?/category/2"

There must be a better, cleaner way to assign a URL to a web gallery

Offline

 

#3 2018-02-14 22:54:33

executive
Member
2017-08-16
1233

Re: Assign Fractasia.com/Carnaval to Fractasia.com/index.php?/category/2?

Share Album plugin
"For any private album, you can generate a unique URL that you can share with the users you trust in enough to browse an album."

Last edited by executive (2018-02-14 22:55:10)

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact