Changing URL of HTML Forum Pages
5 posters
Page 1 of 1
Changing URL of HTML Forum Pages
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!
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
Re: Changing URL of HTML Forum Pages
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.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!
Re: Changing URL of HTML Forum Pages
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:
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.
- 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.
Re: Changing URL of HTML Forum Pages
I was just wondering this today too, haha. Thanks An!
Take Notes- Helper
- Posts : 2337
Reputation : 324
Language : English
Location : Forumountain
Re: Changing URL of HTML Forum Pages
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.
Solved!
Re: Changing URL of HTML Forum Pages
Problem solved & topic archived.
|
Similar topics
» Html Pages.
» Adding web pages (maybe HTML) for blogs and specific forum categories
» How to Embed a Google Docs Form into an HTML page using HTML Pages Management
» HTML-pages bug
» How many html pages can you...?
» Adding web pages (maybe HTML) for blogs and specific forum categories
» How to Embed a Google Docs Form into an HTML page using HTML Pages Management
» HTML-pages bug
» How many html pages can you...?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum