0

How to custom a url of a html page

C:\user\desktop\p.html change to maybe www.a.com

10th Sep 2019, 4:48 PM
Wen Jun
Wen Jun - avatar
1 Réponse
+ 1
Create a subdirectory /career/ in your web files directory, and then put the HTML file index.htmlin there. index.html is the default file that will be returned by the server when the directory level is accessed by the browser. Also, for SEO purposes, add a proper <link rel="canonical" href="/career"> tag in the page header. Static blog engines like Jekyll or Pelican do it this way too. There are more methods to achieve that, via Nginx settings or Apache's .htaccess, but since you are on Godaddy you probably need a simple solution.
10th Sep 2019, 4:51 PM
KfirWe
KfirWe - avatar