Changing my link url name. |
Post Reply | Page 123> |
Author | |
Aria
Groupie Joined: Jun 20 2016 Location: Indonesia Status: Offline Points: 64 |
Post Options
Thanks(0)
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.
|
|
Dmit OE
Admin Group Joined: May 31 2012 Status: Offline Points: 5283 |
Post Options
Thanks(0)
|
Hi,
I am not sure what you want; if it's just the URL of your website, it's in Project->Preferences->Upload->Configuration |
|
Aria
Groupie Joined: Jun 20 2016 Location: Indonesia Status: Offline Points: 64 |
Post Options
Thanks(0)
|
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?
|
|
Dmit OE
Admin Group Joined: May 31 2012 Status: Offline Points: 5283 |
Post Options
Thanks(0)
|
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.
|
|
Aria
Groupie Joined: Jun 20 2016 Location: Indonesia Status: Offline Points: 64 |
Post Options
Thanks(0)
|
Thanks, I will try it tommorrow. If I found another trouble. I will tell you right away.
|
|
Dmit OE
Admin Group Joined: May 31 2012 Status: Offline Points: 5283 |
Post Options
Thanks(0)
|
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.
|
|
Aria
Groupie Joined: Jun 20 2016 Location: Indonesia Status: Offline Points: 64 |
Post Options
Thanks(0)
|
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
|
|
Dmit OE
Admin Group Joined: May 31 2012 Status: Offline Points: 5283 |
Post Options
Thanks(0)
|
I am not sure, maybe it will. If you test please tell the result
|
|
Aria
Groupie Joined: Jun 20 2016 Location: Indonesia Status: Offline Points: 64 |
Post Options
Thanks(0)
|
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.
|
|
Aria
Groupie Joined: Jun 20 2016 Location: Indonesia Status: Offline Points: 64 |
Post Options
Thanks(0)
|
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>
|
|
Post Reply | Page 123> |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |