When it comes to extentions, I noticed that some websites don't have .php, .html, etc ...
It's just www.domain.com/link
I feel this is a bit more clean and if I ever change a page from html to php because of a form, i don't have to worry about 301 redirects.
I know two ways of doing this ...
htcaccess code on the server and creating a folder named "link", with index in it.
Are these the only two ways?
Thanks in advance!
Link Extentions
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/links.html
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/links.html
-
-
- Posts: 1439
- Joined: Fri Aug 21, 2020 8:27 am
- Contact:
Re: Link Extentions
You can also do it in wwb by using canonical link. There is advanced option for this too. But be aware I one day took the stand to test it in every way and according to pablo himself there are few cases where it may have problems as I had. It can cause problem with some extensions or custom coded php pages although most of the php page should work fine. And there was a time some of the extension of wwb did not work. So be cautious on that too. You would need both htaccess and wwb settings to adjust it.
According to @pablo
Can read about it more Here
According to @pablo
For me my success and even the error page did not show as I removed the extension.The actual file still will have the php extension otherwise the server will not know what type of file it is dealing with
Can read about it more Here
Re: Link Extentions
Normally, you would use .htaccess to hide the extensions.
In WWB, you can hide extensions via Tools -> Options -> Publish -> Hide file extensions for internal links.
Please read the help before enabling this option, otherwise links may stop working,
In WWB, you can hide extensions via Tools -> Options -> Publish -> Hide file extensions for internal links.
Please read the help before enabling this option, otherwise links may stop working,
-
-
- Posts: 269
- Joined: Mon Aug 20, 2018 6:47 pm
Re: Link Extentions
Thank You!
wwonderfull wrote: ↑Wed Feb 14, 2024 2:46 am You can also do it in wwb by using canonical link. There is advanced option for this too. But be aware I one day took the stand to test it in every way and according to pablo himself there are few cases where it may have problems as I had. It can cause problem with some extensions or custom coded php pages although most of the php page should work fine. And there was a time some of the extension of wwb did not work. So be cautious on that too. You would need both htaccess and wwb settings to adjust it.
According to @pabloFor me my success and even the error page did not show as I removed the extension.The actual file still will have the php extension otherwise the server will not know what type of file it is dealing with
Can read about it more Here
-
-
- Posts: 269
- Joined: Mon Aug 20, 2018 6:47 pm
Re: Link Extentions
Thank You for the info!