BullGuard Antivirus Sale - 60% Off with openElement !
Forum Home Forum Home >

openElement

> User Tutorials
  New Posts New Posts RSS Feed - Changing my link url name.
  FAQ FAQ  Forum Search   Register Register  Login Login

Changing my link url name.

 Post Reply Post Reply Page  123>
Author
Message
Aria View Drop Down
Groupie
Groupie
Avatar

Joined: Jun 20 2016
Location: Indonesia
Status: Offline
Points: 64
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aria Quote  Post ReplyReply Direct Link To This Post Topic: Changing my link url name.
    Posted: Feb 16 2017 at 7:18am
Is it possible to change the url name of my website in OE?

Stuck in this matter more than 3 days.
Back to Top
Dmit OE View Drop Down
Admin Group
Admin Group


Joined: May 31 2012
Status: Offline
Points: 5283
Post Options Post Options   Thanks (0) Thanks(0)   Quote Dmit OE Quote  Post ReplyReply Direct Link To This Post Posted: Feb 16 2017 at 7:29am
Hi,

I am not sure what you want; if it's just the URL of your website, it's in Project->Preferences->Upload->Configuration
Back to Top
Aria View Drop Down
Groupie
Groupie
Avatar

Joined: Jun 20 2016
Location: Indonesia
Status: Offline
Points: 64
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aria Quote  Post ReplyReply Direct Link To This Post Posted: Feb 16 2017 at 7:55am
Sorry for uncelar explanation. What I mean is something like http://geisler.ga/Product%20Registration.htm -> http://geisler.ga/ProductRegistration

Can you delete the %20 and the .htm?
Back to Top
Dmit OE View Drop Down
Admin Group
Admin Group


Joined: May 31 2012
Status: Offline
Points: 5283
Post Options Post Options   Thanks (0) Thanks(0)   Quote Dmit OE Quote  Post ReplyReply Direct Link To This Post Posted: Feb 16 2017 at 9:28am
You can delete %20, either by changing the page name (right-click on the page in the Site Explorer on the left), or by adding a "virtual" name or "translation" - again, right-click on the page in the Site Explorer to choose "Translations". But, you can't remove the extention ".htm" this way, it requires some manual coding, if you really need it let me know.
Back to Top
Aria View Drop Down
Groupie
Groupie
Avatar

Joined: Jun 20 2016
Location: Indonesia
Status: Offline
Points: 64
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aria Quote  Post ReplyReply Direct Link To This Post Posted: Feb 16 2017 at 9:56am
Thanks, I will try it tommorrow. If I found another trouble. I will tell you right away.
Back to Top
Dmit OE View Drop Down
Admin Group
Admin Group


Joined: May 31 2012
Status: Offline
Points: 5283
Post Options Post Options   Thanks (0) Thanks(0)   Quote Dmit OE Quote  Post ReplyReply Direct Link To This Post Posted: Feb 16 2017 at 1:21pm
In fact, what you can do is to use Translate as I described, then use Export to Folder and look with Notepad what OE generated inside the file .htaccess. There will be a command to redirect Product%20Registration.htm to ProductRegistration.htm (for example), you can copy it and modify to remove .htm in Product%20Registration.htm, this should work. Then you can insert this command via Project->Htaccess->Free command.
Back to Top
Aria View Drop Down
Groupie
Groupie
Avatar

Joined: Jun 20 2016
Location: Indonesia
Status: Offline
Points: 64
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aria Quote  Post ReplyReply Direct Link To This Post Posted: Feb 17 2017 at 4:27am
Thank you Dmit.

it works. But some still not changed yet. Maybe I should try some experiment.

By the way if we use anchor link. The # symbol will still persist?
Sample : .htm#support something like that
Back to Top
Dmit OE View Drop Down
Admin Group
Admin Group


Joined: May 31 2012
Status: Offline
Points: 5283
Post Options Post Options   Thanks (0) Thanks(0)   Quote Dmit OE Quote  Post ReplyReply Direct Link To This Post Posted: Feb 17 2017 at 11:35am
I am not sure, maybe it will. If you test please tell the result
Back to Top
Aria View Drop Down
Groupie
Groupie
Avatar

Joined: Jun 20 2016
Location: Indonesia
Status: Offline
Points: 64
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aria Quote  Post ReplyReply Direct Link To This Post Posted: Feb 18 2017 at 3:12am
In htaccess. I got this following code : 


#Protect .htaccess
<Files .htaccess>
order allow,deny
deny from all
</Files>

# URL Rewriting:
RewriteEngine On
RewriteBase /

RewriteRule ^News\-Information\.htm$ News.htm [QSA,L]
RewriteRule ^Home\-Page\.htm$ index.htm [QSA,L]
RewriteRule ^Product\-Registration\.htm$ Product\ Registration.htm [QSA,L]
RewriteRule ^User\-Guide\.htm$ User\ Guide.htm [QSA,L]



#FreeScript
AddDefaultCharset UTF-8
<IfDefine !Free>
<IfModule  mod_headers.c>
Header set Cache-Control "private, max-age=0, must-revalidate"
Header set X-UA-Compatible "IE=8; IE=9; IE=10"
</IfModule>
</IfDefine>


Do I just need to delete the .htm & .htm$?
deleting the % is a success..

Thanks Again Dmit.
Back to Top
Aria View Drop Down
Groupie
Groupie
Avatar

Joined: Jun 20 2016
Location: Indonesia
Status: Offline
Points: 64
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aria Quote  Post ReplyReply Direct Link To This Post Posted: Feb 18 2017 at 3:16am
in htaccess command there only exist "Commandes par defaut" without " and url rewriting (But I can't click or edit it at all)

with this following code : 

AddDefaultCharset UTF-8
<IfDefine !Free>
<IfModule  mod_headers.c>
Header set Cache-Control "private, max-age=0, must-revalidate"
Header set X-UA-Compatible "IE=8; IE=9; IE=10"
</IfModule>
</IfDefine>
Back to Top
 Post Reply Post Reply Page  123>
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.063 seconds.