The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Changing URL of HTML Forum Pages

View previous topic View next topic Go down

Solved Changing URL of HTML Forum Pages

Post by Kelso on July 1st 2016, 12:30 am

Forum Version: PhpBB3

Hello! I was wondering if someone could tell me how I could change the URL of a HTML page that I created.

Right now it's: http://www.ardentartforum.com/h5-staff

and I'd like to switch it to: http://www.ardentartforum.com/staff

Thank you for any help!


Last edited by Kelso on July 1st 2016, 9:49 am; edited 1 time in total

Kelso
Forumember

Posts : 55
Reputation : 3
Language : English

http://liveandnet.forumotion.com/

Back to top Go down

Solved Re: Changing URL of HTML Forum Pages

Post by APE on July 1st 2016, 3:56 am

@Kelso wrote:Forum Version: PhpBB3

Hello! I was wondering if someone could tell me how I could change the URL of a HTML page that I created.

Right now it's: http://www.ardentartforum.com/h5-staff

and I'd like to switch it to: http://www.ardentartforum.com/staff

Thank you for any help!
Sorry there is no way to change The URl the h5-staff is the link where your page is saved it tells our system what part of the code needs to be read to show up on the forum.




APE
Manager
Manager

Male Posts : 8615
Reputation : 748
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: Changing URL of HTML Forum Pages

Post by An on July 1st 2016, 4:11 am

While not possible server-side, it is possible to manipulate the history object via JavaScript so that the pathname of the page will display differently. You would need to add this snippet to your HTML page:
Code:
<script type="text/javascript">history.pushState({}, '', 'staff');</script>

Note however that this is merely aesthetic, so you will still need to use the original URL if you want to link to the page. I don't recommend it because of that, but if you really want to rename the URL client-side then that's how you can go about it.

An
Forumember

Posts : 42
Reputation : 23
Language : English

http://help.forumotion.com

Back to top Go down

Solved Re: Changing URL of HTML Forum Pages

Post by Genesis on July 1st 2016, 7:11 am

I was just wondering this today too, haha. Thanks An!

Genesis
Helper
Helper

Male Posts : 2331
Reputation : 322
Language : English
Location : Forumountain

http://forumpromocean.com

Back to top Go down

Solved Re: Changing URL of HTML Forum Pages

Post by Kelso on July 1st 2016, 9:48 am

@An wrote:While not possible server-side, it is possible to manipulate the history object via JavaScript so that the pathname of the page will display differently. You would need to add this snippet to your HTML page:
Code:
<script type="text/javascript">history.pushState({}, '', 'staff');</script>

Note however that this is merely aesthetic, so you will still need to use the original URL if you want to link to the page. I don't recommend it because of that, but if you really want to rename the URL client-side then that's how you can go about it.

Thank you very much for this! And for your response Ape!

Sad to hear you can't actually change it, but that's no biggy at all. Smile

Solved!

Kelso
Forumember

Posts : 55
Reputation : 3
Language : English

http://liveandnet.forumotion.com/

Back to top Go down

Solved Re: Changing URL of HTML Forum Pages

Post by Nemo on July 1st 2016, 11:38 am

Problem solved & topic archived.
Please read our forum rules: ESF General Rules

Nemo
Support Moderator
Support Moderator

Male Posts : 1083
Reputation : 113
Language : Greek, English, French

http://www.helpgr.forumgreek.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum